Crate acled_api

Source

Structs§

AcledEvent
An event returned by the acled endpoint.
AcledQuery
This struct is used for specifying the query parameters for the acled endpoint. See https://apidocs.acleddata.com/acled_endpoint.html#query-filters.
Api
The main entry point that can be used to query the different endpoints provided by ACLED.
Configuration
Configuration options for the API call. Currently this just includes the required key and email parameters.
DeletedEvent
An event returned by the deleted endpoint.
DeletedQuery
This struct is used for specifying the query parameters for the deleted endpoint. See https://apidocs.acleddata.com/deleted_endpoint.html#query-filters.
NaiveDate
ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date.

Enums§

Error
Region
Numeric codes for each region in ACLED data. https://apidocs.acleddata.com/acled_endpoint.html#regions
Where
This enum is used to specify the filter options for a specific parameter in a query.