This is the official .NET SDK for GetStream's Feeds API.
For detailed setup instructions, see Example.
The project includes a Makefile for common development tasks:
## Set env
export STREAM_API_KEY=your-api-key-here
export STREAM_API_SECRET=your-api-secret-here
# Run the sample application
make sample
# Run tests
make test
# Additional commands available in Makefile
make build # Build the project
make clean # Clean build artifacts
The SDK is organized into several key components:
src/
- Core SDK implementationClient.cs
- Main HTTP client with authentication and request handlingCommonClient.cs
- Shared client functionality and utilitiesCustomCode.cs
- Custom implementations and extensions- Several OpenAPI-generated files:
feed.cs
- Generated FeedClient with all feeds API methodsmodels.cs
- Generated response modelsrequests.cs
- Generated request models
tests/
- Comprehensive test suiteFeedClientTests.cs
- Unit tests for feed clientFeedIntegrationTests.cs
- Integration testsFeedTests.cs
- General feed functionality tests
samples/
- Example applications and usage demosConsoleApp/
- Console application demonstrating basic usage
The SDK development workflow:
-
Core Components
- Manual implementation of core client functionality
- Custom extensions and utilities for .NET-specific features
- Comprehensive test coverage for all components
- OpenAPI-generated code for complete API coverage
-
Testing
- Unit tests for individual components
- Integration tests for end-to-end functionality
- Sample applications for usage demonstration
-
Build and Run
- Use Makefile commands for common tasks
- Regular testing and validation
- Continuous integration checks
The SDK follows .NET best practices and conventions while providing a clean, maintainable codebase for GetStream's Feeds API integration.