Skip to content

🐙 Simple, but powerful C# library for streamers.

License

Notifications You must be signed in to change notification settings

Mannhattan/OctoCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

OctoCore Logo

About

OctoCore is a C# library intended for Twitch streamers. It allows them to create advanced apps based on six well-known social networking sites wrapped in one big THING. Those APIs are:

  • Twitch
  • Twitter
  • Facebook
  • Discord
  • PayPal

Getting Started

  1. Add reference to OctoCore.dll and Newtonsoft.Json.dll.

  2. Add using statement.

using OctoCore;

For Twitch API:

  1. Initialize Twitch.Credentials and Twitch.Client:
Credentials apiCredentials = new Credentials();
apiCredentials.ApplicationID = "your_application_ID_here";
apiCredentials.Secret = "your_application_secret_here";
apiCredentials.RedirectURI = "your_application_redirect_url_here"; //currently accepting http://localhost only

Client twitchClient = new Client(apiCredentials);
  1. When initialized, twitchClient will attempt to open an authorization link in a default browser.
    • If user clicks Agree, library will return success page.
    • If user clicks Cancel, library will return failure page and close it's local web server.

For Twitter API:

For Facebook API:

For Discord API:

For PayPal API:

Functions

Twitch:

  • send and receive chat messages, commands, whispers
  • get newest follows, subs, hosts
  • read user data

Twitter:

  • send new tweets
  • search for tweets

Facebook:

Discord:

PayPal:

  • send money to other people
  • check your account bilance

Releases

No releases published

Packages

No packages published