Skip to content

stapi-spec/stapi-fastapi-blacksky

Repository files navigation

STAT FastAPI - Blacksky

This is an example implementation for https://github.com/stat-utils/stat-fastapi proxying to the blacksky tasking API.

Start the server locally

poetry run blacksky

GET all products

curl http://127.0.0.1:8000/products

POST to opportunities

export BLACKSKY_BACKEND_TOKEN=...
curl -d '{"geometry": {"type": "Point", "coordinates": [13.4, 52.5]}, "product_id": "BS-Test:Standard", "datetime": "2024-05-01T00:00:00Z/2024-05-12T00:00:00Z"}' -H "Content-Type: application/json; Authorization: $BLACKSKY_BACKEND_TOKEN" -X POST http://127.0.0.1:8000/opportunities

About

Blacksky backend for Satellite Tasking API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages