Planet API Client
Project description
PRE-ALPHA SOFTWARE - MAY CHANGE
Initial, incomplete, strawman effort at a Python client to Planet’s public API.
Documentation
https://planetlabs.github.io/planet-client-python/index.html
Installation
Executable CLI releases and documentation are here.
To develop with or use the library in your own projects, see the wiki.
Example CLI Usage
Hint: autocompletion can be enabled in some shells using:
eval "$(_PLANET_COMPLETE=source planet)"
Basics and help:
planet
OR specific command help:
planet search --help
An API key is required.
This can be provided via the environment variable PL_API_KEY or the flag -k or –api-key. Using the planet init the username and password can be used and saved instead.
Examples
Get a visual ortho scene by id (writes to working directory):
planet download 20150825_180952_1_0b07
Get scene metadata by id (and pretty print):
planet metadata -pp 20150825_180952_1_0b07
Get a list of all mosaics:
planet mosaics
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.