Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 671 Bytes

File metadata and controls

14 lines (9 loc) · 671 Bytes

Authentication

Calls to the API must be authenticated using your API token. To get a token,

  1. Sign up for a free Laws.Africa account at https://edit.laws.africa/accounts/login/.
  2. Get your API token from https://edit.laws.africa/accounts/profile/api/.

Include your API token in your API calls by including an Authorization header:

Authorization: Token YOUR_AUTH_TOKEN

If you're logged into your Laws.Africa account, you can also browse the API using your web browser and visiting https://api.laws.africa/v3/countries.