Here are some rough, unformatted notes on the endpoint such as you might find in a development area.
Note: opencamping.org is a fictitious API site.#fcf8e3 or #f9f2f4 or #f5f5f5 or #fff or #f9f9f9 could bg for code #337ab7 is rouge
The new endpoint is /campingreport/{campsiteId}
. This endpoint is for campers who want to check things like rain chances and temperature to determine whether they should head out to a camping location. {campId}
is retrieved from a list of camping sites.
Optional parameters:
{campaign_id} If you include the hour, then you only get back the campsite condition for the hour you specified. Otherwise, you get back 3 days, with conditions listed out by hour for each day.
The response will include the surf temperature, rain chances, and overall recommendation.
Sample endpoint with parameters:
The response contains these elements: