Counter-Strike
Cs-Effect.RU | Zombie [CSO + LvL] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/7839309json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7839309,
"ip": "46.174.50.190",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1773937321,
"score": 0,
"last_online": 1776204060,
"icon": null,
"name": "Cs-Effect.RU | Zombie [CSO + LvL]",
"connect": "46.174.50.190:27015",
"request": "46.174.50.190:27015",
"map": "zm_dazzling2_cso",
"gamemode": "Zombie Plague [CSO]",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 3,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1740140627,
"last_update": 1776204060,
"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": 5596,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/7839309");
$data = json_decode($json, true);
var_dump($data);