This is a quick example of how to set up and use the Pangea Python SDK.
In the example root directory (./examples/embargo
), run the following command:
poetry install
Set up the environment variables PANGEA_EMBARGO_TOKEN
and PANGEA_DOMAIN
with
your project token configured on the Pangea User Console (token should have
access to Embargo service Instructions)
and with your Pangea domain.
To run examples:
poetry run python embargo_examples/ip_check.py