Project Contagion için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "85568392936314486",
"domain": null,
"id": 11578749,
"ip": "66.51.99.23",
"port": 27020,
"query": 27020,
"color": 0,
"city": "Dallas",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1779356935,
"last_online": 1779751235,
"icon": "https://cdn.discordapp.com/attachments/1021215447930114080/1407469377766559774/PCROA.webp?ex=6a0e2101&is=6a0ccf81&hm=444477d11773bb03d6a6d31fa4ad641916004265d767f14e30f1e8318da2dce8&",
"name": "Project Contagion",
"connect": "66.51.99.23:27020",
"request": "66.51.99.23:27020",
"map": "California2",
"gamemode": "PineHosting.com",
"version": "3.26.3.2",
"numplayers": 2,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1779356935,
"last_update": 1779751235,
"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": 52,
"language": "en",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11578749");
$data = json_decode($json, true);
var_dump($data);