Get a list of directors for a UK entity.
- Getting an API key
- Write the script
- Use the script from the terminal
1. Get an API Key
API Key instructions
2. Write the script
This step is as simple as pasting the code below into a new python file.
Make a new file called directorcheck.py. in the terminal you can simply enter:
$ touch directorcheck.py
Now open it in your favourite text editor and enter the following:
3. Use the script from the terminal
Open your terminal, and go to the directory you saved company.py in. Use the
cd command to change directories.