get https://cloud.fireballserver.com/translations/v1/translate
This endpoint is used for retreiving a translation tree like structure containing all folders and keys for a specific app by either appId or gameId.
Example of a request for specific keys by path.
const axios = require('axios');
// TODO Developer uncomment lines bellow
// let appId =
// let languageIsoCode =
// let keyPath1 =
// let keyPath2 =
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://cloud.fireballserver.com/translations/v1/translate?appId=${appId}&languageIsoCode=${languageCode}&keyPaths=${keyPath1}&keyPaths=${keyPath2}',
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});