rFactor 2
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10998787json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10998787,
"ip": "83.81.244.235",
"port": 64297,
"query": 64299,
"color": 0,
"city": "Zoetermeer",
"description": null,
"game": 365960,
"owner": null,
"boosts": 1,
"last_offline": 1776211871,
"score": 0,
"last_online": 1776139852,
"icon": null,
"name": null,
"connect": null,
"request": "83.81.244.235:64299",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": null,
"private": true,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1769906566,
"last_update": 1776211871,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 247,
"language": "nl",
"parked": false,
"app": {
"id": 146,
"steam_id": 365960,
"name": "rFactor 2",
"url": "rfactor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10998787");
$data = json_decode($json, true);
var_dump($data);