Synapsen meets Pixelbuddies by g-portal.com için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"build": 118271,
"extraFlags": 0,
"nameHeaderRaw": "f0df1c010003",
"statusFlags": 32,
"type": 1,
"unknownStatusFlags": 32,
"steam_id": null,
"domain": null,
"id": 11739527,
"ip": "176.57.181.205",
"port": 28302,
"query": 28302,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1780491836,
"last_online": 1780584654,
"icon": null,
"name": "Synapsen meets Pixelbuddies by g-portal.com",
"connect": "176.57.181.205:28302",
"request": "176.57.181.205:28302",
"map": null,
"gamemode": "community-hosted",
"version": "1.3.0.1.118271",
"numplayers": 1,
"maxplayers": 20,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1780412899,
"last_update": 1780584654,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1150,
"language": "de",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11739527");
$data = json_decode($json, true);
var_dump($data);