Widget to check the availability of a campsite/campground through CampgroundBooking.com.
npm i @campgroundbooking/availability-widget
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CampgroundBooking availability</title>
<script src="campgroundbooking-widget.js"></script>
</head>
<body>
<campgroundbooking-widget theme="blue"></campgroundbooking-widget>
</body>
</html>
- theme - A theme to load (e.g. green, red, blue, gold)
- client-id - Your campground booking client id
- campground - The id of the campground to check
- site (optional) - The id of a site to check, if no site given checks the whole campground
- server (optional) - The campground booking server to connect to (default https://app.campgorundbooking.com)
MIT