garfunkel / go-tvdb

Simple, sexy and easy golang module for theTVDB.
GNU General Public License v2.0
12 stars 11 forks source link

Add support TVDB's new REST API #3

Open voxadam opened 9 years ago

voxadam commented 9 years ago

Earlier this year TVDB announced a new API. JSON has superseded the previous XML serialization and everything is nicely documented using Swagger.[1] There are also a couple threads in the developer subsection of the forum.[2][3]

[1] https://api-beta.thetvdb.com/swagger [2] https://forums.thetvdb.com/viewtopic.php?f=17&t=25454&sid=b86611c77797eb20a3e8f2491e74eea7 [3] https://forums.thetvdb.com/viewtopic.php?f=17&t=22325&sid=b86611c77797eb20a3e8f2491e74eea7

garfunkel commented 9 years ago

Ah, good catch. I didn't know about this.

Unless you have a patch ready to go, I'll spend some time on this in the next few days.

Unrelated: I am also going to remove the hard coded API key and force the implementer to provide an API key for their application.

voxadam commented 9 years ago

I only learned about the new API just before creating this issue. If I get some time I'll see what I can come up with.

garfunkel commented 9 years ago

Work on this has begun in the TheTVDB_API_V2.0 branch.

PouuleT commented 7 years ago

Any news on this APIv2 branch? =)

garfunkel commented 7 years ago

:( My mind's been elsewhere. Any chance you are willing to give it a whirl yourself and send a PR? Else, I'll see what I can whip up.