Skip to content

Karla-Isabel-Sandoval/planet-client-python

 
 

Repository files navigation

Planet API Client

PRE-ALPHA SOFTWARE - MAY CHANGE

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

image

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

About

Python client for the Planet imagery API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.9%
  • Makefile 1.1%
  • Shell 1.0%