open All Channels
seplocked EVE Technology Lab
blankseplocked Server Status and Players online
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

Lucy Serine
Posted - 2011.04.20 20:06:00 - [1]
 

How do i go about showing on my website the current server status and how many players are currently online

Ive heard about a 3 line php code that pulls the info from the API server.

Im just wondering if there a way of doing it so when it first pulls the information then stores it in a cache reducing the stress on the api server.


Hel O'Ween
Men On A Mission
EVE Trade Consortium
Posted - 2011.04.21 09:45:00 - [2]
 

http://wiki.eve-id.net/APIv2_Server_ServerStatus_XML

Quote:

Im just wondering if there a way of doing it so when it first pulls the information then stores it in a cache reducing the stress on the api server.



Just read up on general API caching rules. Query the above API, store it, do not query again until its cachedUntil date/time has expired. Keep also in mind that all date/times in the API are in "EVE time", so you need to adjust those to your time zone.


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only