In the version v1, Steam schema data was obtained by invoking a function similar to the one following:
async getGameData(appId: string, lang: string, key?: string | undefined): Promise<IGameData> {
if (!this.steamLanguages.includes(lang)) {
throw 'Language selected not supported by Steam API';
}
...
}
As can be seen, right now an error is thrown if the language selected is not available at Steam. I think it would be more practical to default that language to English, being the more universal one. Any thoughts @xan105?
In the version v1, Steam schema data was obtained by invoking a function similar to the one following:
As can be seen, right now an error is thrown if the language selected is not available at Steam. I think it would be more practical to default that language to English, being the more universal one. Any thoughts @xan105?