Skip to content

Terradue/DotNetStac.Api

Repository files navigation

DotNetStac.Api: The STAC API SDK for .NET, ASP.NET Core

DotNetStac.Api | DotNetStac

NuGet Version build codecov Gitter License Binder

DotNetStac.Api is a Software Development Kit (SDK) for .NET and ASP.NET Core to build and query STAC API compliant services. It is based on the STAC API specification and uses the DotNetStac library for the STAC data model.

The project combines Clients and Controllers code generation from the STAC API specification using NSwag (OpenAPI/Swagger generation). It allows several entry points for developers to use, build and customize STAC API compliant services.

The project is developed and maintained by Emmanuel Mathot for Terradue.

Features:

  • Access all STAC API endpoints from a single client or via specific clients
  • Serve a full STAC API compliant service from a single app or via specific controllers
  • Customize API controllers with specific business logic
  • Implement your own STAC catalog data services and serve it with the default STAC API controllers
  • Every layer can be extended and customized with additional services
  • User the .NET queryable data model to query your STAC catalogs using expression tree

Ways to use the SDK:

  • In your C# code, via NuGet packages
  • In Stars CLI tool using the API commands
  • Starting the docker image Terradue/DotNetStac.Api with a file system or in memory catalog.

Getting Started: