Server GTO [RACES / DM] için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8060202,
"ip": "46.174.49.47",
"port": 7782,
"query": 7782,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1780211030,
"last_online": 1780659102,
"icon": null,
"name": "Server GTO [RACES / DM]",
"connect": "46.174.49.47:7782",
"request": "46.174.49.47:7782",
"map": "San Andreas",
"gamemode": "GTO Again 2.7.3",
"version": "0.3.7-R2",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1741439284,
"last_update": 1780659102,
"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": 431,
"language": "ru",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/8060202");
$data = json_decode($json, true);
var_dump($data);