Orders requests to support source_type for basemaps

Open
#838 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
api, cli

Research direction

Start by reviewing the orders request CLI entry point and the Python orders helper methods, then compare their current behavior with the basemaps API documentation linked in the issue. The design still needs to establish which parameters and interfaces should support source_type; done means an agreed approach is implemented and tested for the CLI and Python usage.

Written by the indexing model from the issue text.

Description

orders api proposal

Is your feature request related to a problem? Please describe.

Right now I can create a orders request for basemaps with the CLI, but I can't use planet orders request to help me form the request. I believe the situation is similar in the Python side - no 'helper' method.

Describe the solution you'd like

planet orders request --source-type basemaps or something similar, where it works with the relevant parameters. Likely will take a more concrete design proposal for exactly how it'll work, as it's a little bit different than standard catalog orders.

Describe alternatives you've considered

Writing JSON by hand. It works, but it doesn't give the same level of convenience as the rest of the CLI/API.

Additional context

https://developers.planet.com/apis/orders/basemaps/ is our new documentation on basemaps. It'd be awesome if we could eventually upgrade those docs to be CLI or at least Python SDK calls instead of raw python requests stuff.

Dominant language
Python
Stars
299
Forks
100
Avg merge
7d 8h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from planetlabs/planet-client-python

All issues in planetlabs/planet-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.