planetlabs / planet-client-python

Python client for Planet APIs
https://planet-sdk-for-python-v2.readthedocs.io/en/latest/
Apache License 2.0
271 stars 92 forks source link

Get info from Data API spec #663

Open kevinlacaille opened 2 years ago

kevinlacaille commented 2 years ago

Instead of getting information from the Orders API spec for the Data client, as is done currently (i.e., planet/data/orders_product_bundle_2022_02_02.json), let's grab that info from the Data API spec.

Steps: 1) Download the spec from the Data API: curl -O https://api.planet.com/data/v1/spec 2) Write where data spec came from in README (planet/data/README.md) 3) Find all item types from the data spec

asonnenschein commented 2 months ago

Possible duplicate https://github.com/planetlabs/planet-client-python/issues/619.