OFP Game Schedule API

To get information in JSON format about the servers and mods on the website send a request to the https://ofp-faguss.com/schedule/api with the following arguments (GET or POST):


  • server - server identificator. Alternatively write "current" to get all public servers with upcoming game times or "all" for all the public servers.
  • mod - mod identificator. Alternatively write "all" to get all public mods.
  • ver - mod version number. Installation details will start from the specified version. Default is 0.
  • password - password required to preview a private server or a private mod (if it's assigned to a private server).

Separate multiple values with a comma. "ver" is a parallel list to "mod".


Examples:
api?server=4abc47b3
api?server=1eec0bb4&password=test
api?mod=559d7b3a
api?mod=c803832d,c4d807e7&ver=1.15,1
api?mod=all,6361f10f&ver=0,1.15
api?mod=6361f10f&password=test


Example PHP script