Jump to content
|Topic||Stats||Last action by|
|The Console Wars Are Over, And We Have A Clear Winner||
|Microsoft to block Classic Shell in Windows 10: here is why||
|Best way to code a theme switcher||
|Storing Dates in the Database||
|Grand Theft Auto V||
Posted 29 March 2013 - 22:29
Posted 29 March 2013 - 23:17
Posted 31 March 2013 - 00:39
Thank you for the reply I am curious, if you or anyone knows (while I search through BF3stats source code) how I could use these API's to display player count via an HTML document for my personal homepage, simply for my curiosity.
APIs are programming interfaces opened by a service.
In this case you would access the BF3 API, and use the GetPlayers (or whatever) method.
You can only do what BF3 chooses to expose through their API, so you're limited by them
You'd be looking for Crysis 3 Server APIs to get info
onlinestats URL: http://api.bf3stats.com/[Platform]/onlinestats/ [Platform] must be global POST parameters: none Return parameters: status can contain ok, nodata or error ok online data is available nodata data is not available error is only returned if status is error with one of following error codes: invalid_platform pc count of online players on PC 360 count of online players on 360 ps3 count of online players on PS3 The data is refreshed every 10 seconds.
Posted 31 March 2013 - 00:44
Posted 31 March 2013 - 00:48
I take it you've found this already: http://crysis3s.com/api
Personally I do this kind of thing in ASP, so I won't be much help to you here unfortunately.
There ought be examples you can use
Posted 31 March 2013 - 00:51
Posted 31 March 2013 - 00:55
Posted 31 March 2013 - 01:00
Posted 31 March 2013 - 01:30
You're the man/women! I will definitely look at the links and hopefully learn something haha
I'll save you some pain here too. Take a look at jQuery: http://api.jquery.com/jQuery.post/
Posted 31 March 2013 - 01:42