DYNAMITE RUST X2 | TRADE | BACKPACK | KIT | için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11143192,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 252490,
"owner": 169743,
"boosts": 1,
"last_offline": 1774072880,
"last_online": 1773169219,
"icon": null,
"name": "DYNAMITE RUST X2 | TRADE | BACKPACK | KIT |",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1771443644,
"last_update": 1774072880,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13586,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "skacatk480",
"avatar": "28aea331-93fb-4a79-8705-600799584b87.jpg"
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11143192");
$data = json_decode($json, true);
var_dump($data);