SCP: Secret Laboratory
API pentru [RUS] FLUX | CLASSICExiled 9.13.2
Oferim o gamă largă de metode de integrare. Puteți utiliza oricare dintre ele sau puteți crea propria metodă folosind JSON API. Dacă aveți o propunere pentru adăugarea unei noi metode de integrare, vă rugăm să ne contactați. Contactați-ne
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10973541json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 10973541,
"ip": "212.22.85.132",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Moscow",
"description": null,
"game": 700330,
"owner": null,
"boosts": 1,
"last_offline": 1774356115,
"score": 5,
"last_online": 1775814659,
"icon": null,
"name": "[RUS] FLUX | CLASSICExiled 9.13.2",
"connect": "212.22.85.132:7777",
"request": "212.22.85.132:7777",
"map": "Facility",
"gamemode": "SCP: Secret Laboratory",
"version": "14.2.6",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769876414,
"last_update": 1775814659,
"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": 17,
"language": "ru",
"parked": false,
"app": {
"id": 18576,
"steam_id": 700330,
"name": "SCP: Secret Laboratory",
"url": "scp-secret-laboratory"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10973541");
$data = json_decode($json, true);
var_dump($data);