mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
8 lines
260 B
JavaScript
8 lines
260 B
JavaScript
const fs = require('fs');
|
|
async function test() {
|
|
const res = await fetch("https://api.ffnancy.fr/api/performance/dashboard?date=2024-04-20");
|
|
const data = await res.json();
|
|
console.log(JSON.stringify(data.top10_ca?.[0] || {}, null, 2));
|
|
}
|
|
test();
|