A key by app or by user ?

Need help with your application? Ask here.
Post Reply
pascl
Posts: 3
Joined: Sat Jul 21, 2018 7:55 pm

A key by app or by user ?

Post by pascl » Thu Apr 04, 2019 9:38 am

Hi,

I have already an api key for an application.
If I want to use the api in another project, should I ask for a second api key (if it is possible to have several for a same account) ? Or should I use the same api key ?

Leo_Pride
Posts: 449
Joined: Mon Apr 23, 2018 2:10 am

Re: A key by app or by user ?

Post by Leo_Pride » Fri Apr 05, 2019 8:11 am

Ideally, this is why you'd have a central server - the private key would be used to pull the initial dump to your servers, then the public key could theoretically be used by the end users of any of your projects to fetch further updates.

Whether you do this or not, the private key is a "one and done" proposition intended for a server sync, whereas the public key is designed to maintain a decent monthly quota by unique true IP, thereby ensuring some level of baseline functionality for all users.
We're curious to see how new projects use TGDB API.
If you have a new public project, please provide a link to it so we can highlight cool new applications! 8-)

User avatar
Zer0xFF
Posts: 284
Joined: Fri Apr 20, 2018 9:18 am

Re: A key by app or by user ?

Post by Zer0xFF » Thu Apr 11, 2019 11:29 pm

public key can be used by app, as it is IP per app limited.

but as Leo mentioned, based on your usage case, it might work better for you to mirror the database using private key, and push the data from your own server if the limit was an issue.
Regards
Zer0xFF

Post Reply