https://github.com/civermau/twitch-api
Twitch pubsub reader and Channel Points Reward manager made in C# with TwitchLib
https://github.com/civermau/twitch-api
tool twitch twitch-api
Last synced: over 1 year ago
JSON representation
Twitch pubsub reader and Channel Points Reward manager made in C# with TwitchLib
- Host: GitHub
- URL: https://github.com/civermau/twitch-api
- Owner: Civermau
- License: gpl-3.0
- Created: 2025-03-03T07:25:12.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-11T01:06:36.000Z (over 1 year ago)
- Last Synced: 2025-03-11T01:32:08.847Z (over 1 year ago)
- Topics: tool, twitch, twitch-api
- Language: C#
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Twitch API Integration
This project is a C# application that interacts with the Twitch API to manage channel points rewards and listen to PubSub events. It is designed to be used on bigger projects, this is more like a library


## Features
- **Channel Points Management**: Create, update, and delete custom channel point rewards.
- **PubSub Integration**: Listen to Twitch PubSub events for real-time updates.
- **Testing and Debugging**: Includes various test methods to ensure functionality.
## Getting Started
### Prerequisites
- [.NET Core SDK](https://dotnet.microsoft.com/download) installed on your machine.
- A Twitch account with developer access to create an application and obtain OAuth tokens.
### Installation
1. Clone the repository:
```bash
git clone https://github.com/Civermau/Twitch-API.git
cd Twitch-API
```
2. Restore the dependencies:
```bash
dotnet restore
```
### Configuration
Replace the placeholders in `Program.cs` with your actual Twitch credentials:
```csharp
private static string channelId = "";
private static string oauthToken = "";
private static string clientId = "";
```
### Running the Application
To run the application, use the following command:
```bash
dotnet run
```
## Usage
- **CRUDTest**: Test creating, reading, updating, and deleting channel point rewards.
- **FullReadTest**: Retrieve and display all channel point rewards.
- **SameNameTest**: Test creating multiple rewards with the same name.
- **FullCreateTest**: Test creating rewards with various configurations.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgments
Special thanks to Randomike for providing a testing channel.
For more details, see the [Credits](CREDITS.md) file.