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

[Feature Request] Save out the full URL for the campsite if there's a booking #5

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

Comments

@bryanwhiting
Copy link

For Big Basin Redwoods, which has campground id of 3, the facility_id could be 333 for Seqouia group. See https://www.reservecalifornia.com/Web/#!park/3/333 to compare.

❯ find-campsites -c "Big Basin Redwoods SP" --api reservecalifornia
INFO	2022-07-26 22:26:24,352	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:26:24,558	Found campground: Big Basin Redwoods SP (campground id: 3)
INFO	2022-07-26 22:26:24,787	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

When there's a match for a search, it should return the URL https://www.reservecalifornia.com/Web/#!park/3/333.

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