jgayfer / pydest

Pydest is an asynchronous Destiny 2 API wrapper written in Python
MIT License
72 stars 22 forks source link

Added Korean and Simplified Chinese to languages #22

Closed movsesyanpv closed 2 years ago

movsesyanpv commented 2 years ago

Korean and Simplified Chinese are missing from current version of the wrapper, but supported by the Bungie's API.

movsesyanpv commented 2 years ago

It is returned from the endpoint .

Current response from it is

{
    "Response": {
        "German": "de",
        "English": "en",
        "Spanish": "es",
        "SpanishMexican": "es-mx",
        "French": "fr",
        "Italian": "it",
        "Japanese": "ja",
        "Korean": "ko",
        "Polish": "pl",
        "Portuguese": "pt-br",
        "Russian": "ru",
        "ChineseSimplified": "zh-chs",
        "ChineseTraditional": "zh-cht"
    },
    "ErrorCode": 1,
    "ThrottleSeconds": 0,
    "ErrorStatus": "Success",
    "Message": "Ok",
    "MessageData": {}
}