carbon.txt - shared secret demo
First of all, install requests so we can easily make http requests with python
For accessing these endpoints, if I am not already signed in, I'll need to authenticate myself.
The example below shows us using basic auth, with the well known requests Python with Python. See the docs on basic auth for more details:
With a secret set, I can now easily fetch the same secret, so I can make the domain hashes I need to: