Skip to content

Client.get_collection should call STAC endpoint #114

@geospatial-jeff

Description

@geospatial-jeff

I think the pystac_client.Client.get_collection method should contact the GET /collections/{collectionId} endpoint instead of iterating through the response of GET /collections. Its better for an API client to utilize the server where appropriate instead of doing something client-side, and the later runs into issues for APIs which have a lot of collections that aren't necessarily exposed through the first call to GET /collections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions