SCP: Secret Laboratory
PotatoServer.Live | Secret Lab için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11142982json
{
"response": {
"steam_id": 0,
"domain": "play.potatoserver.live",
"id": 11142982,
"ip": "144.202.49.95",
"port": 7781,
"query": 7781,
"color": 0,
"city": "Elk Grove Village",
"description": null,
"game": 700330,
"owner": 158179,
"boosts": 1,
"last_offline": 1775712123,
"score": 0,
"last_online": 1775809218,
"icon": null,
"name": "PotatoServer.Live | Secret Lab",
"connect": "play.potatoserver.live:7781",
"request": "144.202.49.95:7781",
"map": "Facility",
"gamemode": "SCP: Secret Laboratory",
"version": "14.2.6",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1771024941,
"last_update": 1775809218,
"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": 6,
"language": "en",
"parked": false,
"app": {
"id": 18576,
"steam_id": 700330,
"name": "SCP: Secret Laboratory",
"url": "scp-secret-laboratory"
},
"server_owner": {
"username": "potatoserver",
"avatar": "0aa338d8-4f05-4205-bb4d-ccec2dadc8be.png",
"last_online": 1775459945
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11142982");
$data = json_decode($json, true);
var_dump($data);