Skip to main content

Planet API Client

Project description

Python client library and CLI for Planet’s public API.

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

Installation

Via pip:

$ pip install planet

The –user flag is highly recommended for those new to pip.

A PEX executable (Windows not supported) and source releases are here.

Documentation

Online documentation: https://planetlabs.github.io/planet-client-python/index.html

Documentation is also provided for download here.

Development

To develop with or use the library in your own projects, see the wiki.

API Key

The API requires an account for use. Signup here.

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

Using planet init your account credentials (login/password) can be used to obtain the api key.

Example CLI Usage

Hint: autocompletion can be enabled in some shells using:

eval "$(_PLANET_COMPLETE=source planet)"

Basics and help:

planet

The CLI provides access to the data API

planet data

OR specific command help:

planet data download --help

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-1.2.2.tar.gz (34.6 kB view hashes)

Uploaded Source

Built Distribution

planet-1.2.2-py2.py3-none-any.whl (49.3 kB view hashes)

Uploaded Python 2 Python 3

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