Get Regions with Recent Texts

Returns the number of messages (i.e. Tweets), since a specific time for all regions on the specified map. This is provided so that recently active regions can be flagged. If a region has no results for the time period it is not returned. I.e. a count of zero is not returned. E.g.:


{
  "powys": 3,
  "devon": 20,
  "dorset": 23
}

To get a list of all maps, their ids and available region types, use Get Metadata for All Maps. The list of available regions types and hazards can be obtained using Get Metadata for Map by Id.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The map id to use for the request, the set of ids can be obtained using Get Metadata for All Maps

Body Params
hazards
array of strings
required

Hazards represent the weather condition that you are interested in. The list of supported hazards can be found using Get Metadata for Map by Id.

hazards*
sources
array of strings
required

The source is name of the service that the data was gathered from. At present only the 'twitter' source is supported.

sources*
string
required

The warnings option is used to decide whether to include warnings (automated Tweets publishing weather warnings) should be included in the results.

  • 'include' includes warnings.
  • 'exclude' does not include warnings.
  • 'only' only returns warnings.
string
required

The type of the regions specified by the regions property. The list of available regions types can be obtained using Get Metadata for Map by Id.

integer

The minimum JavaScript time to find results for.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json