Here's the tutorial: https://www.planet.com/docs/api-quickstart-examples/cli/
Install the Planet CLI with:
pip install planet
If you have not already, get your API key at planet.com/account, and add it to your environment:
export PL_API_KEY=a3a64774d30c4749826b6be445489d3b # (not a real key)
This 'export' does not work (is not showing to be a variable). I manually entered my PlanetLabs API Key in my os environment (https://planetlabs.github.io/planet-client-python/api/examples.html#importing-the-api), but no happy end.
export
, if you typeprintenv
in the same window this PL_API_KEY variable does not appear in the list of environment variables? Also a reminder if you want to make it permanent you'll need to add to bash profile.