Minecraft
I did! i did taw a puddy tat için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/591458json
{
"response": {
"steam_id": null,
"domain": "canopymc.net",
"id": 591458,
"ip": "57.129.49.58",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775413332,
"score": null,
"last_online": 1776843690,
"icon": null,
"name": "I did! i did taw a puddy tat",
"connect": "canopymc.net:25565",
"request": "57.129.49.58:25565",
"map": null,
"gamemode": null,
"version": "Purpur 1.21.10",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1669240648,
"last_update": 1776843690,
"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": 1836,
"language": "en",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/591458");
$data = json_decode($json, true);
var_dump($data);