Cooperativo için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11629071,
"ip": "154.60.98.197",
"port": 6259,
"query": 39027,
"color": 0,
"city": "L'Alcúdia",
"description": null,
"game": 500,
"owner": null,
"boosts": 1,
"last_offline": 1780592007,
"last_online": 1780389022,
"icon": null,
"name": "Cooperativo",
"connect": "154.60.98.197:6259",
"request": "154.60.98.197:39027",
"map": "hotel01_market_two",
"gamemode": "L4D - Co-op - Advanced",
"version": "1.0.4.5",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916363,
"last_update": 1780592007,
"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": 1969,
"language": "es",
"parked": false,
"app": {
"id": 18,
"steam_id": 500,
"name": "Left 4 Dead",
"url": "left-4-dead"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11629071");
$data = json_decode($json, true);
var_dump($data);