Counter-Strike: Source
#1 EL REJUNTE ARG +18 | By Garryshost [Cambia en 0:01] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/4070823json
{
"response": {
"steam_id": "85568392935679206",
"domain": null,
"id": 4070823,
"ip": "45.235.98.240",
"port": 27070,
"query": 27070,
"color": 0,
"city": "Córdoba",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1773883918,
"score": 0,
"last_online": 1776133210,
"icon": null,
"name": "#1 EL REJUNTE ARG +18 | By Garryshost [Cambia en 0:01]",
"connect": "45.235.98.240:27070",
"request": "45.235.98.240:27070",
"map": "de_season_unlimited",
"gamemode": "PUB [100 TICKS]",
"version": "9540945",
"numplayers": 37,
"maxplayers": 38,
"bots": 0,
"secured": true,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 103,
"add_date": 1714539058,
"last_update": 1776133210,
"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": 7,
"language": "es",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/4070823");
$data = json_decode($json, true);
var_dump($data);