SCP: Secret Laboratory
API für My Server Name
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10404439json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 10404439,
"ip": "146.59.52.46",
"port": 25586,
"query": 25586,
"color": 0,
"city": "Warsaw",
"description": "Kar1ch prosto SUPERSTAR!!!",
"game": 700330,
"owner": null,
"boosts": 1,
"last_offline": 1768641962,
"score": 0,
"last_online": 1775821218,
"icon": null,
"name": "My Server Name",
"connect": "146.59.52.46:25586",
"request": "146.59.52.46:25586",
"map": "Facility",
"gamemode": "SCP: Secret Laboratory",
"version": "14.2.5",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1759822407,
"last_update": 1775821218,
"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": 9,
"language": "pl",
"parked": false,
"app": {
"id": 18576,
"steam_id": 700330,
"name": "SCP: Secret Laboratory",
"url": "scp-secret-laboratory"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10404439");
$data = json_decode($json, true);
var_dump($data);