{"repo":"Owlkaline/TwitchEventSub-rs","free":true,"listed":false,"github":"https://github.com/Owlkaline/TwitchEventSub-rs","clone":"git clone https://github.com/Owlkaline/TwitchEventSub-rs.git","description":"A simple rust library for dealing with that pesky twitch api, specifically event subs","language":"Rust","stars":11,"topics":["eventsub","godot","oauth","rust","subscriptions","tokens","twitch","twitch-api","twitcheventsub"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"TwitchEventSub-rs A simple rust library for dealing with that pesky twitch api, specifically event subs. Quick Start Get your keys Go to your Twitch Console Setting up authentication keys. Create a .secrets.env file in the working directory with the following filled out: (Without quotes or spaces) Godot Example 1. Grab the compiled binaries and .gdextension file from release or compile your own 2. Paste them into the root directory of your project and click reload project 3. Add a single TwitchEvent Object to your scene 4. Select it, and on the right side of the editor, next to the inspector tab click the node tab 5. In this tab you will see all avaiable twitch event signals 6. Double click on the one you want and add it to a script! Don't forget to enable/disable the subscriptions you want to use! The result should look similar to the following: Rust Example Usage You can find the full code here: chat message example Here is a sample match statement of how you recieve events Building FAQ - Error redirect url does not match! If you are recieving this error, you havve most likely forgotten to include the http:// prefix of your app redirect url, as it has to match EXACTLY with what you have put as the OAuth Redirect URLs in the Twitch Console of your App. Donations Please don't donate unless you truely have the money to do so. If you would like to support me to allow me to continue expanding this library and continue streaming you can donate any amount you feel comfortable with","default_branch":null,"files":null,"tree":[],"storefront":"/r/Owlkaline","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Owlkaline/TwitchEventSub-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}