Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Campsite not found unless --api reservecalifornia is added #8

Open
bryanwhiting opened this issue Jul 27, 2022 · 0 comments
Open

Comments

@bryanwhiting
Copy link

This returns an error because the defaults --api is recreation.gov

❯ find-campsites -c "Big Basin Redwoods SP"
ERROR	2022-07-26 22:38:48,669	Failed to retrieve availability. Trying again in 5 minutes.
Error: Campground: Big Basin Redwoods SP not found. Try being more specific.
Date: 2022-07-26

This works:

[10:39 PM] ~/github/public/campsites
❯ find-campsites -c "Big Basin Redwoods SP" --api reservecalifornia
INFO	2022-07-26 22:39:03,658	ReserveCalifornia must use facility ID. Searching for facility IDs using provided `campground_id` (note: this must be the park that the campground is in)
INFO	2022-07-26 22:39:03,921	Found campground: Big Basin Redwoods SP (campground id: 3)
INFO	2022-07-26 22:39:04,146	Found facilities in park:

campground                                 facility_id
Huckleberry Campground (sites 42-75)       336
Lower Blooms Creek (sites 103-138)         332
Sempervirens Campground (sites 157-188)    335
Sequoia Group 1 & 2                        333
Sky Meadow Group 1 & 2                     338
Upper Blooms Creek (sites 139-156)         339
Wastahi Campground (sites 76-102)          337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant