Skip to content

GetStream/getstream-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetStream .NET SDK

This is the official .NET SDK for GetStream's Feeds API.

For detailed setup instructions, see Example.

Environment Setup

For Development

export STREAM_API_KEY=your-api-key-here
export STREAM_API_SECRET=your-api-secret-here

For CI/CD

This repository uses the API key zta48ppyvwet for continuous integration testing.

Makefile Commands

The project includes a Makefile for common development tasks:

# 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

Structure

The SDK is organized into several key components:

  • src/ - Core SDK implementation
    • Client.cs - Main HTTP client with authentication and request handling
    • CommonClient.cs - Shared client functionality and utilities
    • CustomCode.cs - Custom implementations and extensions
    • Feed.cs - Feed entity and core functionality
    • Several OpenAPI-generated files:
      • FeedsV3Client.cs - Generated client with all feeds API methods
      • models.cs - Generated response models
      • requests.cs - Generated request models
  • tests/ - Comprehensive test suite
    • FeedClientTests.cs - Unit tests for feed client
    • FeedIntegrationTests.cs - Integration tests
    • FeedTests.cs - General feed functionality tests
  • samples/ - Example applications and usage demos
    • ConsoleApp/ - Console application demonstrating basic usage

Development

The SDK development workflow:

  1. 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
  2. Testing

    • Unit tests for individual components
    • Integration tests for end-to-end functionality
    • Sample applications for usage demonstration
  3. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages