update
This commit is contained in:
1 parent
da8fb57bfb
commit
bba75c7dc6
35 files changed
+92592
-500
No files matched your search
@@ -0,0 +1,25 @@
|
||||
const axios = require('axios');
|
||||
|
||||
const API_KEY = 'sk_db_live_ZjViMTNmODU3ZjNkN2Q4MGV';
|
||||
const SITE_UUID = '6681452d_9cae_4ff4_8ae8_0d504774265e';
|
||||
const BASE = 'https://informatics.netify.ai/api/v1';
|
||||
|
||||
const headers = {
|
||||
'x-api-key': API_KEY,
|
||||
'x-net-site': SITE_UUID,
|
||||
'Accept': 'application/json'
|
||||
};
|
||||
|
||||
async function checkDetails() {
|
||||
const agents = ["2F-TF-1D-GK", "8A-V3-PB-85", "F6-2V-DT-8A"];
|
||||
for (const agent of agents) {
|
||||
const res = await axios.get(`${BASE}/data/stats/top/local_ip/download`, {
|
||||
headers,
|
||||
params: { filter_agent: agent, settings_limit: 3 }
|
||||
});
|
||||
console.log(`\n=== Agent ${agent} top/local_ip ===`);
|
||||
console.dir(res.data?.data, { depth: null });
|
||||
}
|
||||
}
|
||||
|
||||
checkDetails();
|
||||
Reference in new issue
Block a user