Add Radio Stations base

This commit is contained in:
PRO100KatYT
2024-06-25 06:18:43 +02:00
parent 70d46ffce3
commit 771e2485ec
3 changed files with 65 additions and 54 deletions

View File

@@ -8,6 +8,45 @@ express.get("/content/api/pages/fortnite-game/spark-tracks", async (req, res) =>
res.json(sparkTracks)
})
express.get("/content/api/pages/fortnite-game/radio-stations", async (req, res) => {
res.json({
"_title": "Radio Stations",
"radioStationList": {
"_type": "RadioStationList",
"stations": [
{
"resourceID": "QWGQAynCdixzoLIdJl",
"stationImage": "https://fortnite-public-service-prod11.ol.epicgames.com/images/lawinpfp.png",
"_type": "RadioStationItem",
"title": {
"ar": "الحفل الملكي",
"de": "Party Royale",
"en": "Party Royale",
"es": "Fiesta magistral",
"es-419": "Fiesta campal",
"fr": "Fête royale",
"it": "Party Reale",
"ja": "パーティーロイヤル",
"ko": "파티로얄",
"pl": "Królewska Impreza",
"pt-BR": "Festa Royale",
"ru": "Королевская вечеринка",
"tr": ılgın Parti",
"zh-CN": "空降派对",
"zh-Hant": "空降派對"
}
}
]
},
"_noIndex": false,
"_activeDate": "2024-06-13T10:00:00.000Z",
"lastModified": "2024-06-12T20:12:56.271Z",
"_locale": "en-US",
"_templateName": "FortniteGameRadioStations",
"_suggestedPrefetch": []
})
})
express.get("/content/api/pages/*", async (req, res) => {
const contentpages = functions.getContentPages(req);