batch-address-screen.py
is a batch process that can be run on your local machine to facilitate assessments of the Address Screen API at-scale during a pre-sales proof of value.
You must have the following to successfully run the script:
- python 3 (Ideally 3.9.15)
- API Key (Best if you use your own test environment key)
- Input file with the column
address
- Dependencies (
pip3 install x
or use the requirements.txt file)- pandas==1.4.3
- requests
- tqdm
- python-dotenv
Once you have the above Prerequisites, simply run the python script in your command line from any directory and follow the instructions.
python batch-address-screen.py your_address_file.csv
You will need to edit the .env.example file:
- Edit with your API key
- Change filename to
.env
- Optional: Create a
.gitignore
file with.env
included so you don't push your API key.
Let me know. tom.walsh@chainalysis.com or slack me.
Or submit an issue or pull request -- that would be much better!
Please feel free to submit a PR if you want to work on these!
.env file for API key storageStandardized input/output file so you don't have to manually type path/to/fileHandle parsing of Chainalysis Identifications dict.Handle additional features of the API that are coming soon...Refactor as a set of functions that are called so debugging is easier.- Introduce upload interface and Lambda function backend