TacoNation Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 47,
"fps_avg": 48,
"entities_count": 84962,
"world_seed": 348266212,
"world_size": 4000,
"steam_id": "90286605165355036",
"domain": null,
"id": 11698846,
"ip": "66.51.96.69",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Ashburn",
"description": "\nRules: Have Fun Don't be an entitled, Extremely rude person, no toxicity and be respectful\r\nMainly PVE and PVP is disabled because this is for those who are coming back from a hiatus from rust also for new players.\r\nThis is for TacoNation if you want to join in on the fun talk with OfficiaDogTaco, 1WhiskeyTango1, Malak_Revan on twitch hope to see you guys there",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780599268,
"last_online": 1780625431,
"icon": null,
"name": "TacoNation Server",
"connect": "66.51.96.69:28000",
"request": "66.51.96.69:28001",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780227274,
"last_update": 1780625431,
"banned": false,
"wipe": 1780599280,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5528,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11698846");
$data = json_decode($json, true);
var_dump($data);