Skip to contents

Pings the ACLED API token endpoint for authentication using email and password.

Usage

acled_auth(req, username, password = NULL)

Arguments

req

An ACLED API request.

username

Email associated with ACLED account.

password

User password associated with ACLED account.

Value

Returns a modified HTTP request that will use OAuth for the ACLED API.

Examples

if (FALSE) { # \dontrun{
acled_auth(req, email, password)
} # }