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 get-scenes-list --help

An API key is required.

This can be provided via the environment variable PL_API_KEY or the flag -k or –api-key.

Examples

Get a visual ortho scene by id (writes to working directory):

planet download 20141008_170544_0907

Get an analytic ortho scene by id:

planet download 20141008_170544_0907 --analytic

Get scene metadata by id (and pretty print):

planet fetch_scene_info -pp 20141008_170544_0907

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.4.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for planet-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f5cbac844bad3b61623ff1721b7ec2c2ab1ce35e5a844fdf5d41f23d606dddc0
MD5 6f25d39fc0dba24bd709d1fb2b8ee7b7
BLAKE2b-256 d8e9c6ccbfd8e3b58a52f015382a6b687b9cbe3970b39d67b4d31b4e99aa4477

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for planet-0.0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 b60b4c5fa27d3566fb621d32ef8a312ea7af001f6baad8a4f14d7e080adb5061
MD5 c29a1fbe79af15d5856ba26e9b678c59
BLAKE2b-256 759f6b76c1e7ff07a6894edbc560263f3867f99233eaf3b192186329f9a6c9e1

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