|
Oyster Harvest Area Closure Analysis 0.1
Prediction and analysis of NSW oyster harvest area closures.
|
#include "WillyWeather/location.h"Functions | |
| CURLcode | WillyWeather_GetLocationByName (char *name, WW_Location_TypeDef *location_info) |
| Get an ID describing a location from Willy Weather. More... | |
| CURLcode WillyWeather_GetLocationByName | ( | char * | name, |
| WW_Location_TypeDef * | location_info | ||
| ) |
Get an ID describing a location from Willy Weather.
Get location ID from Willy Weather.
Willy Weather forecast requires a location ID. This is obtained by querying by name (e.g. Batemans Bay). The response contains cJSON data of which multiple sites can be obatined (limited through q_limit).
@info Name can contain spaces. These are encoded as "%20". @info Response length is limited to one as to ensure only one location is returned per query.
| name | Name to query against. |
| location_info | Location structure to populate. |