made a bash script that output thetvdbid from imdbinput

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
krage
Posts: 2
Joined: Mon May 07, 2018 12:20 pm

made a bash script that output thetvdbid from imdbinput

Postby krage » Fri May 18, 2018 1:41 pm

I have a very unique setup on my media server that sometimes requires an imdb id to be found on thetvdb site. So I made this thing.
The only thing it does is print the corresponding thetvdb-id from the input imdbid.
If tokens arent set up/outdated, the script automatically fixes that.


https://pastebin.ca/4029706

The script will print thetvdb id of the show you input with a imdb-id. it does require 'jq' to be installed.
simple as that.

I am previously one of the guys who used to scrape the site.. I have to say: the API is much, much, much better. Kudos to the devs. Thanks for forcing me over. <3