Skip to main content

Planet API Client

Project description

PRE-ALPHA SOFTWARE - MAY CHANGE

Initial, incomplete, strawman effort at a Python client to Planet’s public API.

https://travis-ci.org/planetlabs/planet-client-python.svg?branch=master

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

planet-0.0.5.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

planet-0.0.5-py2-none-any.whl (26.0 kB view details)

Uploaded Python 2

File details

Details for the file planet-0.0.5.tar.gz.

File metadata

  • Download URL: planet-0.0.5.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for planet-0.0.5.tar.gz
Algorithm Hash digest
SHA256 274946f3f0b513bb07f1bd71aa7ffc22a63311d18acfe0ca0add6f8942c02c32
MD5 ccd0a5b06bf7becdc35a3a1deac5495b
BLAKE2b-256 cef7090f5bdce4c555963f67bfd81312198158e9ba6962c440b8f14f77ca4d3f

See more details on using hashes here.

Provenance

File details

Details for the file planet-0.0.5-py2-none-any.whl.

File metadata

File hashes

Hashes for planet-0.0.5-py2-none-any.whl
Algorithm Hash digest
SHA256 f80129098b3648c20ce3ed2d60f73f28231b8dfc3f47e611c34c18df0860e064
MD5 187553b1b8f3cf69c2840bfa34767a73
BLAKE2b-256 2801494db783da92c9d84a0f911bc06b9942ca7f85e3126e717e4d957e7167c8

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page