Find available Yosemite Campings
https://docs.djangoproject.com/en/1.8/intro/tutorial01/
brew install python3
Before run, configure:
pip3 install -r requirements.txt
source .env.example
Then run:
python3 manage.py runserver
Call endpoint passing the campsite id
Example:
curl http://127.0.0.1:8000/campsites/232449?start_date=2022-07-01
curl http://127.0.0.1:8000/campsites/232447?start_date=2022-08-01
curl http://127.0.0.1:8000/campsites/232450?start_date=2022-09-01
For all campsites on CAMPSITE_ID env var
curl http://127.0.0.1:8000/campsites?start_date=2022-08-01
Some Campings
id | name | url |
---|---|---|
232447 | Upper Pines Campground | https://www.recreation.gov/camping/campgrounds/10004152 |
232450 | Lower Pines Campground | https://www.recreation.gov/camping/campgrounds/232450 |
232449 | North Pines Campground | https://www.recreation.gov/camping/campgrounds/232449 |
Copyright Daniele Boscolo.