fonsleenaars / tqdb

Python parser for the Titan Quest Anniversary Edition, Ragnarok, Atlantis, Eternal Ember DLC database.
https://tq-db.net
MIT License
50 stars 15 forks source link

Possibility to load json with data from tq-db.net #34

Closed artemshekh closed 5 years ago

artemshekh commented 6 years ago

Hi! I think this is great possibility to have such feature on the site. Not all people use Windows as OS and it can be mush easier to simply load any interesting data (armor, weapon) in json format from your site.

fonsleenaars commented 6 years ago

What exactly are you asking, I'm afraid I don't quite understand. Would you like to be able to load your own JSON file or would you like to be able to have the JSON file from tq-db.net?

artemshekh commented 6 years ago

Second: " to be able to have the JSON file from tq-db.net"

fonsleenaars commented 5 years ago

I've detached the data as a separate JSON file that you can now pull from the website. You'll see it in your networks request tab when you load the website.

I've currently cached it for 1 month, so you'll also have it in your cache if you load the website.

In the next 1.3.0 release, this data will be localed, meaning it will be available in all languages that TQ is available in.

Hope that helps! If you have any more questions/requests, let me know 🙂