How to get an API key?

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
Z0r0b
Posts: 2
Joined: Tue Nov 09, 2010 6:53 am

Re: How to get an API key?

Postby Z0r0b » Tue May 08, 2018 3:53 am

I am guilty too of scraping the old site. Life sucks now without my automatic renaming process operational. :(

Slicemage
Posts: 1
Joined: Tue May 08, 2018 8:12 pm

Re: How to get an API key?

Postby Slicemage » Tue May 08, 2018 8:16 pm

+1 from me as well. Hoping that API key creation is added soon as I'd like to do some development work on a project that will use the API.

sufr3ak
Posts: 86
Joined: Wed Dec 01, 2010 10:03 pm

Re: How to get an API key?

Postby sufr3ak » Wed May 09, 2018 9:50 am

So, if I am reading correctly, we need an API key to use the site, but there is no way to generate one at the moment?

szsori
Site Admin
Posts: 2339
Joined: Fri Nov 03, 2006 5:23 pm

Re: How to get an API key?

Postby szsori » Wed May 09, 2018 4:23 pm

I'll be focusing on the API key generation this evening.

port3m5
Posts: 2
Joined: Tue May 08, 2018 2:41 pm

Re: How to get an API key?

Postby port3m5 » Sat May 12, 2018 11:12 am

Hey szsori, any update, or rough ETA for this?

Coco
Site Admin
Posts: 2671
Joined: Tue Mar 13, 2007 10:16 pm
Location: Canada

Re: How to get an API key?

Postby Coco » Sat May 12, 2018 9:55 pm

API keys can now be generated from the API access page.
https://www.thetvdb.com/member/api
Please don't PM me. Post in the forums instead unless there is a very good reason for a PM or I won't respond.

thule42
Posts: 1
Joined: Fri Jun 01, 2018 2:50 am

Re: How to get an API key?

Postby thule42 » Fri Jun 01, 2018 2:53 am

I only get an error trying to create a key:

Code: Select all

An exception occurred while executing 'INSERT INTO apiusers (apikey, projectname, projectwebsite, userid, lastupdated) VALUES (?, ?, ?, ?, NOW())' with params ["***", "test", "test", null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'userid' cannot be null


I have just created an account for this.

tlucas
Posts: 3
Joined: Mon May 28, 2018 11:50 pm
Location: Canada

Re: How to get an API key?

Postby tlucas » Fri Jun 01, 2018 7:12 pm

TVDB API backend is having issues this week. I'd check back to see when posts about "503" errors stop.

Iskelderon
Posts: 1
Joined: Fri Jun 15, 2018 6:48 am

Re: How to get an API key?

Postby Iskelderon » Fri Jun 15, 2018 6:52 am

Seems it's still broken.
An unexpected error occurred.

Code: Select all

An exception occurred while executing 'INSERT INTO apiusers (apikey, projectname, projectwebsite, userid, lastupdated) VALUES (?, ?, ?, ?, NOW())' with params ["EVGBA3AGPRK4G56W", "Episode Maintenance", "", null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'userid' cannot be null


raffish
Posts: 2
Joined: Wed Jul 04, 2018 6:19 pm

Re: How to get an API key?

Postby raffish » Wed Jul 04, 2018 6:28 pm

Yep, same. Has anyone been able to obtain an API key since this problem was reported a month ago?

Just for fun, I tried creating a local version of the HTML form with a new field for "userid" into which I typed mine, hoping that adding that field to the POST might make it happy, but it didn't work (no big surprise).