Ballistic
API pentru # # CHURCH OF GAMING [EU] # #
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10520616json
{
"response": {
"steam_id": "90283659523605529",
"domain": null,
"id": 10520616,
"ip": "137.74.41.138",
"port": 27033,
"query": 27034,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 580870,
"owner": null,
"boosts": 1,
"last_offline": 1774833129,
"score": 0,
"last_online": 1776285052,
"icon": null,
"name": "# # CHURCH OF GAMING [EU] # #",
"connect": "137.74.41.138:27033",
"request": "137.74.41.138:27034",
"map": "5/FreeForAll",
"gamemode": "Ballistic Overkill",
"version": "1.5.6.0.1",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1761424720,
"last_update": 1776285052,
"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": 2,
"language": "fr",
"parked": false,
"app": {
"id": 14145,
"steam_id": 580870,
"name": "Ballistic",
"url": "ballistic"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10520616");
$data = json_decode($json, true);
var_dump($data);