Returns a Current Observation - Given City and/or State, Country.
GET {{baseUrl}}/current?city={{city}}&country={{country}}&state=<string>&marine=<string>&units=<string>&lang=<string>&callback=<string>&key=<string>
Returns a Current Observation - Given a city in the format of City,ST or City. The state, and country parameters can be provided to make the search more accurate.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
city | string | ||
country | string | ||
state | string | Full name of state. | |
marine | string | Marine stations only (buoys, oil platforms, etc) | |
units | string | Convert to units. Default Metric See <a target='blank' href='/api/requests'>units field description</a> | |
lang | string | Language (Default: English) See <a target='blank' href='/api/requests'>language field description</a> | |
callback | string | Wraps return in jsonp callback. Example: callback=func | |
key | string | Your registered API key. |