Tag Archives: JSON

TibiaData API v3 release scheduled

Testing of v3 is ongoing and we are in the final stage.

Our v3 is planned to be release the 2022-03-01!

The plan is to have v2 and v3 running in parallel for a period of 2 months and v2 is supposed to be deprecated the 2022-05-01.

Head over to our documentation page on docs.tibiadata.com and start on getting your integrations working for the new version.

Join our Discord server and jump into the #v3 channel and let’s discuss there or if you experience any issues 🙂

Kind regards,
Tobias


Happy New Year

In 2021 there has been happening a lot in the end!
Some of our highlights of the year are:

I’m proud of the progress on the rewrite and new way of how TibiaData is setup and working.
I think there will be a lot happening under 2022 so stay tuned for more stuff to come!

Now go celebrate with your friends and we’ll keep you updated.

And if you got some questions as to the above or so, get in touch with me and I’m happy to answer it all!

Kind regards,
Tobias


TibiaData API v3 beta ongoing

There is a dedicated page for the v3 beta existing, where you can see the current supported endpoints that you can start using.

The page will be replaced with a full normal documentation similar to v2.

Note

This is the dev environment and endpoints can changed without warning.
This dev environment can be offline unexpectedly.
There is a ratelimit of 2 req/s applied.
The cache for all requests is set to 60 seconds (other timeouts can apply from Cipsoft side).

Contact

Join our Discord server and jump into the #v3 channel and let’s discuss there or if you experience any issues 🙂

Regards,
Tobias


Minor changes in TibiaData API

There have been a minor change to the TibiaData API regarding the gateway handling the requests.

Earlier, we’ve been using Nginx as handler of the requests, but we have successfully switched to Kong API Gateway instead. This is a first step into upcoming changes..

There are two things we would like to highlight so far.

  1. New headers related to caching by Kong
    API requests are cached in Kong API gateway instead of inside the application and with that there come a few benefits.
    Two new headers that are in place which could be nice for you to know more about:
    • Age – shows the age of the page in seconds (not presented if its not cached)
    • X-Cache-Status – identifies the status of the request’s proxy cache
      • Miss – the request was satisfied by being proxied upstream and parsed fresh data from tibia.com
      • Hit – the request was satisfied and served from cache
      • Bypass – the request could not be satisfied by the cache
  2. Response about page not found/no route existing
    • Earlier behavior, you where presented with a page not found page.
    • New behavior, you will either get a page not found or a JSON response saying there is no route.
    • Future change, you will later on only use JSON responses all the way.

If you want to know more, what the cache intervals are for the different endpoints, you can read our post about TibiaData cache intervals.

Please get in touch with us if you are experiencing any issues and we can try to resolve those.

Regards,
Tobias


Happy New Year

Looking back at 2020, there have been some nice progress on the TibiaData rewrite to Golang.
There have been some things that have to be sorted our, but we are sure that we’ll be in a testing phase in a couple of months.

On a personal there have been some challenges that have not enabled me to work as much as I wanted with the rewrite and I had to prioritize private stuff (obviously).

Anyhow.. new year and new possibilities!

I think we will leave it by this by now and go celebrate with your friends and we’ll keep you updated.

And if you got some questions as to the above or so, get in touch with me and I’m happy to answer it all!

Kind regards,
Tobias


Minor changes in TibiaData API

There have been a minor change to the whole TibiaData API regarding CORS (Cross-Origin Resource Sharing).

This means, that you now can run requests with for example ajax towards the API right from your website.

The allowed HTTP methods are GET and OPTIONS.

Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin, access to selected resources from a different origin. A web application executes a cross-origin HTTP request when it requests a resource that has a different origin (domain, protocol, or port) from its own.

Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Credits to a lot of you, who have requested this feature in the API.
Keep the reports coming and feel free to suggest even more new features!

Regards,
Tobias


Happy New Year

We have slightly have changed plans from last year about new services and will focus at some other areas.

Our first goal for 2020 is to rewrite our API in another language (switching from php to golang).

Secondly we will go probably add some premium edition of out API, so that we can deliver a even better service in terms of faster processing of data and to be able to add more accurate data as it is today. We are not exactly there in how it will be, but stay tuned on that one!

And last but not least, we will look into doing it open-source soon, so that you then could contribute to our project or run the code on your own Kubernetes setup.

There will be some limitations when hosting it yourself, but more on that at another time.

I think we will leave it by this by now and go celebrate with your friends and we’ll keep you updated.

And if you got some questions as to the above or so, get in touch with me and I’m happy to answer it all!

Best regards,
Tobias


Merry Christmas!

This time of year is the perfect time to lay back a little.

Christmas is a time of giving, and even this year I want to give my gratitude to everyone, who has been reporting bugs over the last year.

I am grateful for all of my users that have and continue to use my API and keep me motivated to continue!

Side notes;
If you are looking for some easy hosting solution, get over to DigitalOcean, where I host my staff. Use my referral link to support me.
If you want to sponsor me, head over to buymeacoffee, or contribute on my PayPal pool towards TibiaData.

Best regards,
Tobias


Minor changes in TibiaData API

There have been a minor change to the TibiaData API regarding the houses view.

Bug-fixes

  • Houses view
    • beds have need rewritten from spelled to numeric values.

Credits to Lucas Zumpano and who sent the report of the bug in the API.
Keep the reports coming and feel free to suggest new features too!

Regards,
Tobias


Minor changes in TibiaData API

There have been a minor change to the TibiaData API regarding the houses view.

Bug-fixes

  • Houses view
    • future prices have been removed and only show the new pricing.

Credits to Alla and Marcin and who sent the report of the bug in the API.
Keep the reports coming and feel free to suggest new features too!

Regards,
Tobias