Line 3: This contains a unix timestamp value (in seconds) for the above item (i.e the date of collection). Line 2: asof informs us "as of" when this data was collected. H pid nick scor jond wins loss mode0 mode1 mode2 time. The amount of data returned per line is quite large (2,000 characters or so), the example below is truncated. Weapon codes: 0 = "Assault Rifle", 1 = "Grenade Launcher", 2 = "Carbine", 3 = "Light Machinegun", 4 = "Sniper", 5 = "Pistol", 6 = "Anti-Tank", 7 = "Sub-Machinegun", 8 = "Shotgun", 9 = "Knife", 10 = "Defibrilator", 11 = "Explosives", 12 = "Grenade", 13 = "Zipline") (Comma separated list of numbers, range 0 to 12 "&weapon=0,1,2,3". (Comma separated list of strings "&info=rank,scor".) also it seems only the full query produced in game gets a response from the stats servers) - MadHatter info Requested fields. Nick :(string) Unique player nickname (interestingly enough, the nick parameter is not case sensitive - MadHatter ) seems "nick" is no longer accepted as of 08 november 2005 (perhaps this is temporary. To get information for a specific player, you can pass either the players ID or Nickname.Īccepted parameters pid (integer) Unique player ID Each header row is followed by one or more data rows.Īccessing this function gives some information on how it works. When valid data is returned, the lines consist of header and data rows, indicated by H and D. The last line of the returned data starts with a $ followed by the number of bytes in the message (without tabs, newlines, or the length itself), followed by a final $. The opening line will either be an O or an E, an E signifies an error has occurred, whereas an O is valid data. You may also rely upon essay orderfor getting all the necessary information just in time.Įach function returns data in a similar standard format, the data is simple text with tab seperated data values. Note: These URLs are currently being blocked due to server performance problems, please see the discussion section for details. Each function takes a variety of parameters encoded via standard &keyword=value CGI parameters. There are several URLs for accessing the statistics for each player. The official player stats that are accessible in-game via BFHQ are also accessible via simple HTTP calls.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |