Interface IHonuaStacClient
Client interface for the Honua STAC catalog and item search API. Provides the typed surface (landing page, collections, items, GET/POST search, paging). For raw JsonDocument / HttpResponseMessage escape hatches covering STAC extension fields that have not yet been promoted to typed SDK properties, inherit the segregated IHonuaStacRawClient surface (the concrete client implements both).
public interface IHonuaStacClient : IHonuaStacRawClient
- Inherited Members
Methods
GetCatalogAsync(CancellationToken)
Gets the STAC catalog document. This is an alias for GetLandingPageAsync(CancellationToken) matching the Python SDK naming.
Task<StacLandingPage> GetCatalogAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<StacLandingPage>
The STAC catalog response.
GetCollectionAsync(string, CancellationToken)
Gets one STAC collection by identifier.
Task<StacCollection> GetCollectionAsync(string collectionId, CancellationToken cancellationToken = default)
Parameters
collectionIdstringSTAC collection identifier.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<StacCollection>
The collection metadata.
GetItemAsync(string, string, CancellationToken)
Gets one STAC item by collection and item identifier.
Task<StacItem> GetItemAsync(string collectionId, string itemId, CancellationToken cancellationToken = default)
Parameters
collectionIdstringSTAC collection identifier.
itemIdstringSTAC item identifier.
cancellationTokenCancellationTokenCancellation token.
Returns
GetItemsAsync(string, StacItemsQuery?, CancellationToken)
Gets one page of STAC items from a collection.
Task<StacItemCollection> GetItemsAsync(string collectionId, StacItemsQuery? query = null, CancellationToken cancellationToken = default)
Parameters
collectionIdstringSTAC collection identifier.
queryStacItemsQueryOptional query parameters for paging and filtering.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<StacItemCollection>
A GeoJSON-compatible STAC item collection.
GetItemsPagesAsync(string, StacItemsQuery?, CancellationToken)
Gets STAC item pages from a collection with automatic next-link pagination.
IAsyncEnumerable<StacItemCollection> GetItemsPagesAsync(string collectionId, StacItemsQuery? query = null, CancellationToken cancellationToken = default)
Parameters
collectionIdstringSTAC collection identifier.
queryStacItemsQueryOptional query parameters for filtering.
cancellationTokenCancellationTokenCancellation token.
Returns
- IAsyncEnumerable<StacItemCollection>
STAC item collection pages.
GetLandingPageAsync(CancellationToken)
Gets the STAC landing page with service metadata and navigation links.
Task<StacLandingPage> GetLandingPageAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<StacLandingPage>
The landing page response.
ListCollectionsAsync(CancellationToken)
Lists available STAC collections.
Task<IReadOnlyList<StacCollection>> ListCollectionsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<IReadOnlyList<StacCollection>>
STAC collections exposed by the server.
PostSearchAsync(StacSearchRequest?, CancellationToken)
Searches STAC items by POSTing a JSON request body.
Task<StacItemCollection> PostSearchAsync(StacSearchRequest? request, CancellationToken cancellationToken = default)
Parameters
requestStacSearchRequestOptional STAC search request body.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<StacItemCollection>
A GeoJSON-compatible STAC item collection.
PostSearchPagesAsync(StacSearchRequest?, CancellationToken)
Searches STAC items with POST and automatic next-link pagination.
IAsyncEnumerable<StacItemCollection> PostSearchPagesAsync(StacSearchRequest? request, CancellationToken cancellationToken = default)
Parameters
requestStacSearchRequestOptional STAC search request body.
cancellationTokenCancellationTokenCancellation token.
Returns
- IAsyncEnumerable<StacItemCollection>
STAC item collection pages.
SearchAsync(StacSearchQuery?, CancellationToken)
Searches STAC items with GET query parameters.
Task<StacItemCollection> SearchAsync(StacSearchQuery? query = null, CancellationToken cancellationToken = default)
Parameters
queryStacSearchQueryOptional STAC search query parameters.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<StacItemCollection>
A GeoJSON-compatible STAC item collection.
SearchPagesAsync(StacSearchQuery?, CancellationToken)
Searches STAC items with GET and automatic next-link pagination.
IAsyncEnumerable<StacItemCollection> SearchPagesAsync(StacSearchQuery? query = null, CancellationToken cancellationToken = default)
Parameters
queryStacSearchQueryOptional STAC search query parameters.
cancellationTokenCancellationTokenCancellation token.
Returns
- IAsyncEnumerable<StacItemCollection>
STAC item collection pages.