Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/havendv/github.net
Example of a generated GitHub SDK for .NET using AutoSDK
https://github.com/havendv/github.net
csharp dotnet generated github net openapi openapi-generator openapi-specification openapigenerator sdk
Last synced: about 1 month ago
JSON representation
Example of a generated GitHub SDK for .NET using AutoSDK
- Host: GitHub
- URL: https://github.com/havendv/github.net
- Owner: HavenDV
- License: mit
- Created: 2024-07-15T20:18:20.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-10T06:07:59.000Z (about 1 month ago)
- Last Synced: 2024-10-14T05:01:52.012Z (about 1 month ago)
- Topics: csharp, dotnet, generated, github, net, openapi, openapi-generator, openapi-specification, openapigenerator, sdk
- Language: C#
- Homepage:
- Size: 10.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub.NET
Example of a generated GitHub SDK for .NET using [OpenApiGeneratorDotNet](https://github.com/HavenDV/OpenApiGenerator)[![Nuget package](https://img.shields.io/nuget/vpre/GitHub.NET)](https://www.nuget.org/packages/GitHub.NET/)
[![dotnet](https://github.com/HavenDV/GitHub.NET/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/HavenDV/GitHub.NET/actions/workflows/dotnet.yml)
[![License: MIT](https://img.shields.io/github/license/HavenDV/GitHub.NET)](https://github.com/HavenDV/GitHub.NET/blob/main/LICENSE.txt)## Features 🔥
- Fully generated C# SDK based on [official GitHub OpenAPI specification](https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.yaml) using [OpenApiGenerator](https://github.com/HavenDV/OpenApiGenerator)
- Same day update to support new features
- Updated and supported automatically if there are no breaking changes### Usage
```csharp
using GitHub;using var api = new GitHubApi();
api.AuthorizeUsingBearer(apiKey);var result = await api.Chat.CreateChatCompletionAsync(
messages,
model: model,
tools: tools);
```## Support
Priority place for bugs: https://github.com/HavenDV/OpenApiGenerator/issues
Priority place for ideas and general questions: https://github.com/HavenDV/OpenApiGenerator/discussions