https://github.com/gamell/campsite-checker
Checker for coveted camping spots
https://github.com/gamell/campsite-checker
Last synced: 4 months ago
JSON representation
Checker for coveted camping spots
- Host: GitHub
- URL: https://github.com/gamell/campsite-checker
- Owner: gamell
- License: mit
- Created: 2019-01-22T02:09:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T04:38:54.000Z (over 6 years ago)
- Last Synced: 2025-01-14T19:09:08.710Z (5 months ago)
- Language: JavaScript
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# campsite-checker
Simple CLI tool to check for coveted camping spots. You can finish the booking manually once the script finds the open camping spot.# Usage
Run `npm install`
Configure the script by filling the `config.json` file
Then just `node index.js`
Parameters:
- `campsiteId`
- `date`: in any of the formats supported by [`Date.parse()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse)
- `siteId`: optionally, specify the site you want. It should be a 3-character String. Defaults to `001`
- `wait`: time in ms to wait before checks. Defaults to 10 minutesExample:
`node index.js 232491 2019-04-19 002`