# Help with twitch.tv project api

**URL:** <https://forum.freecodecamp.org/t/help-with-twitch-tv-project-api/142995>\
**Category:** General\
**Created:** [August 21, 2017, 1:54pm UTC](https://forum.freecodecamp.org/t/help-with-twitch-tv-project-api/142995 "2017-08-21T13:54:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saicharan](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@saicharan](https://forum.freecodecamp.org/u/saicharan)\
**Post date:** [August 21, 2017, 1:54pm UTC](https://forum.freecodecamp.org/t/help-with-twitch-tv-project-api/142995/1 "2017-08-21T13:54:05Z")

</div>

Hey guys I have been working with [twitch.tv](http://twitch.tv) project for about 3 days now. I’ve created an account in the twitch website. After following through their API page, a client ID has been generated for “Twitch-Streamers435” app. Now I don’t have any idea what to do after this. I mean I tried using some urls like  
"[https://wind-bow.gomix.me/twitch-api/streams/featured?callback=?"](https://wind-bow.gomix.me/twitch-api/streams/featured?callback=?%22) but still of no use. I’m not able to receive json object by passing that url in my “.getJSON(…)” function. Step by step explanation of the API usage would be appreciated.

---

<div class="post-metadata">

**Author:** ![TheGallery](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/thegallery/32/161197_2.png) [@TheGallery](https://forum.freecodecamp.org/u/TheGallery)\
**Post date:** [August 21, 2017, 2:33pm UTC](https://forum.freecodecamp.org/t/help-with-twitch-tv-project-api/142995/2 "2017-08-21T14:33:52Z")

</div>

You didn’t have to register to Twitch because FCC provides a proxy. Anyway. In order to get the data for each user you’ll have to use the API endpoints like this:  
[https://wind-bow.glitch.me/twitch-api/streams/[USERNAME]](https://wind-bow.glitch.me/twitch-api/streams/%5BUSERNAME%5D)  
[https://wind-bow.glitch.me/twitch-api/channels/[USERNAME]](https://wind-bow.glitch.me/twitch-api/channels/%5BUSERNAME%5D)  
[https://wind-bow.glitch.me/twitch-api/users/[USERNAME]](https://wind-bow.glitch.me/twitch-api/users/%5BUSERNAME%5D)  
where [USERNAME] is a Twitch user.

For example to get FCC’s channel info you’ll request the data from  
[https://wind-bow.glitch.me/twitch-api/channels/freecodecamp](https://wind-bow.glitch.me/twitch-api/channels/freecodecamp) \_(if you click it you’ll see the JSON) .

Let me know how it goes.

---

<div class="post-metadata">

**Author:** ![saicharan](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@saicharan](https://forum.freecodecamp.org/u/saicharan)\
**Post date:** [August 22, 2017, 12:15pm UTC](https://forum.freecodecamp.org/t/help-with-twitch-tv-project-api/142995/3 "2017-08-22T12:15:40Z")

</div>

ha! At last your suggestion worked for me. Thanks a lot!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:41pm UTC](https://forum.freecodecamp.org/t/help-with-twitch-tv-project-api/142995/4 "2021-01-17T20:41:45Z")

</div>

Closed on January 17, 2021, 8:41pm UTC


