juftin / camply

camply, the campsite finder ⛺️ - a tool to find campsites at sold out campgrounds through sites like recreation.gov
https://juftin.com/camply/
MIT License
468 stars 90 forks source link

list-campsites #242

Closed juftin closed 1 year ago

juftin commented 1 year ago

Discussed in https://github.com/juftin/camply/discussions/238

Originally posted by **steffanvigano** April 5, 2023 Hi again, It seems like Reserve California sites aren't searchable by specific campsite ID (number), is that correct? Couple questions (these also apply to the Yosemite Reservations): * Would it be possible to parse the campground for list of campsites using the API? Sadly, the campsite ID is not part of the URL and looking at the page source, I don't seem to be able to find it. EX: New Brighton State Beach: https://www.reservecalifornia.com/Web/#!park/685/598 Our favorite sites are 73 and 75. Something like: camply campsites \ --provider ReserveCalifornia \ --campground 598 \ _--list_campsites_ * If not, would it be possible to at least filter down to the results to Premium Sites only? Not sure how they do it, by seems like WanderlingLabs has figured it out for this location. Thanks again! -S