Testing/Dev Environment for API

Hey everyone - Any recommendations on the best way to go about setting up a development environment for working with the twitch API? I understand that you have to register your application and actually have it hosted in order to use the API.

So far I’ve been running and testing on localhost which saves a lot of time. Is the best way to just mock twitch responses based on what’s documented in the API, or does anyone have and idea to actually test and work with these API’s while running on localhost?

Thanks!

Set your redirect url to be http://127.0.0.1/… for testing.

1 Like

Thanks! Not sure why that was giving me trouble the first time I tried it. I think the registration page may be a little buggy. Client secret wouldn’t appear until I requested a new one for the third time.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.