Page 1 of 1

How can I get server information to a site?

Posted: 16 Jul 2020 05:52
by RaO_
HI.
I'm a OTTD server operator, and my server is dedicated server.

I'd like to make a website that gives the information of my server so I googled a lot, but cannot find the way to do.
(the information: server year, companies, etc..)

My roll model page is here:
https://telk.kr/ottd/server/info

So if you know the way, please let me get it.

I'm sorry for my terrible english, cause I'm not a English native speaker.

thanks.

Re: How can I get server information to a site?

Posted: 30 Sep 2020 09:37
by Telk

Re: How can I get server information to a site?

Posted: 09 Oct 2020 22:47
by Erik1984
I recently looked into dedicated servers and did some research into this. Telk provided the right link and the GitHub page linked there seems to be the best documentation now. The easiest route seems to be using one of the existing libraries (as listed on the wiki page) as they do the hard work of translating the raw data from the admin interface to objects in the language of choice.

As you are aiming to use in website the JS or PHP libraries are probably the best fit.