BVTCC_R3_PRACTICE için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286004757146654",
"domain": null,
"id": 11586516,
"ip": "90.208.59.66",
"port": 64297,
"query": 64299,
"color": 0,
"city": "Basingstoke",
"description": null,
"game": 365960,
"owner": null,
"boosts": 1,
"last_offline": 1780125769,
"last_online": 1779562924,
"icon": null,
"name": "BVTCC_R3_PRACTICE",
"connect": "90.208.59.66:64297",
"request": "90.208.59.66:64299",
"map": "300",
"gamemode": "rFactor 2",
"version": "11134",
"numplayers": 0,
"maxplayers": 21,
"bots": 0,
"secured": false,
"private": true,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779357191,
"last_update": 1780125769,
"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": 300,
"language": "en",
"parked": false,
"app": {
"id": 146,
"steam_id": 365960,
"name": "rFactor 2",
"url": "rfactor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11586516");
$data = json_decode($json, true);
var_dump($data);