dustinlakin / twitch-rb

Twitch API gem
MIT License
51 stars 28 forks source link

Explicitly state api version and remove duplicate method #24

Closed TopOneOfTopOne closed 8 years ago

dustinlakin commented 8 years ago

Thanks for adding these, an earlier pull request removed the duplicate in #19 . We can look into the more explicit api call towards v2, but I also am not sure if it is necessary unless you are using curls like the examples given.

TopOneOfTopOne commented 8 years ago

I wanted to state the version as recommended by their documentation.

"We strongly recommend specifying a version, otherwise version updates might break your application if you've defaulted your requests to use the latest version." and "You should specify the following MIME type:"

application/vnd.twitchtv[.version]+json

Also is the code for APIv2 or APIv3? I was under the impression that it was APIv3.