Abiotic Factor
Abiotic Factor Server by G-Portal.com için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10915169json
{
"response": {
"steam_id": "90284724541962269",
"domain": null,
"id": 10915169,
"ip": "144.91.69.241",
"port": 31500,
"query": 31515,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 427410,
"owner": null,
"boosts": 1,
"last_offline": 1773904920,
"score": 0,
"last_online": 1776790909,
"icon": null,
"name": "Abiotic Factor Server by G-Portal.com",
"connect": "144.91.69.241:31500",
"request": "144.91.69.241:31515",
"map": null,
"gamemode": "Abiotic Factor",
"version": "1.0.0.6",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768475472,
"last_update": 1776790909,
"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": 972,
"language": "fr",
"parked": false,
"app": {
"id": 1611062,
"steam_id": 427410,
"name": "Abiotic Factor",
"url": "abiotic-factor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10915169");
$data = json_decode($json, true);
var_dump($data);