Files
s41r4j-phomber/.more/api_keys.md
T

44 lines
1.2 KiB
Markdown

# API Keys
To get API keys we need an open cage account, follow the steps to create an account and add the API keys to `config.py`.
### Step 1
- Open the `opencagedata.com` website or click [here](https://opencagedata.com/)
- Now click on the `Sign Up` on the top-right-coner or click here to [create account](https://opencagedata.com/users/sign_up)
- If you already have account click on `Login` and login into your account, and continue from *step 3*.
<img src='https://github.com/s41r4j/phomber/blob/main/.images/ocd_1.png'>
<br>
### Step 2
- Fill in the details as showed in the picture below.
- Argee `t&c` , Solve `captcha` and press continue.
<img src='https://github.com/s41r4j/phomber/blob/main/.images/ocd_2.png'>
<br>
### Step 3
- Go to account dashboard and click on `API keys` option / tab.
<img src='https://github.com/s41r4j/phomber/blob/main/.images/ocd_3.png'>
<br>
### Step 4
- Copy the Api Keys from here (In the image api keys are hidden for security purposes)
<img src='https://github.com/s41r4j/phomber/blob/main/.images/ocd_4.png'>
<br>
### Step 5
- Open the `config.py` file & paste the API keys where mentioned in the config file (i.e. paste it in the single / double quotes in front of the `key =`)
<br>