Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
artemshekh opened this issue Apr 11, 2018 · 3 comments
Closed

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

artemshekh opened this issue Apr 11, 2018 · 3 comments

Comments

@artemshekh
Copy link

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
Copy link
Owner

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
Copy link
Author

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

@fonsleenaars
Copy link
Owner

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 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants