Skip to content

Repository files navigation

CampgroundBooking Availability Widget

Widget to check the availability of a campsite/campground through CampgroundBooking.com.

Installation

npm i @campgroundbooking/availability-widget

Usage

<!DOCTYPE html><htmllang="en"><head><metacharset="UTF-8"><title>CampgroundBooking availability</title><scriptsrc="campgroundbooking-widget.js"></script></head><body><campgroundbooking-widgettheme="blue"></campgroundbooking-widget></body></html>

Options

  • 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)

License

MIT

About

Webcomponent based widget for CampgroundBooking.com availablity

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages