Planet API Client
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
Metadata
Release files for planet 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| planet-0.0.6.tar.gz | 18.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| planet-0.0.6-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 44.6 kB
Release files / planet-0.0.6.tar.gz
| Download URL | planet-0.0.6.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c04258b6c655f0f2ed483cafbeed7a7a35999a72ee8fa3e1f81e580c62aeb74
|
|
BLAKE2b-256 checksum How to use checksums |
10d97878f3999e20af92f9f22d7d132902bfc122f684b2a2e3dfbbbde3b345a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / planet-0.0.6-py2-none-any.whl
| Download URL | planet-0.0.6-py2-none-any.whl |
|---|---|
| Size | 26.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
3920d0c8f154f6df5d1fc516b534bffd39460ec4ea6d63834ca27ca5359dfabf
|
|
BLAKE2b-256 checksum How to use checksums |
936d14c7f23505a64202cad25c2529c9f73df8f3e8e3b0b384b6ed0c10be605e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |