MCPcopy Create free account
hub / github.com/developmentseed/stac-react / getCollection

Method getCollection

src/stac-api/index.ts:129–131  ·  view source on GitHub ↗
(collectionId: string)

Source from the content-addressed store, hash-verified

127 }
128
129 getCollection(collectionId: string): Promise<Response> {
130 return this.fetch(`${this.baseUrl}/collections/${collectionId}`);
131 }
132
133 get(href: string, headers = {}): Promise<Response> {
134 return this.fetch(href, { headers });

Callers 1

fetchCollectionFunction · 0.80

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected