EnkaNetwork / API-docs

API documentation for the Enka.Network API responses and structure.
https://api.enka.network/
209 stars 46 forks source link

Questions and Suggestions #5

Closed airdm closed 2 years ago

airdm commented 2 years ago

server = { "1": "cn_gf01", "2": "cn_gf01", "5": "cn_qd01", "6": "os_usa", "7": "os_euro", "8": "os_asia", "9": "os_cht", } Hope it can support all server's UID inquiry. Aboves are the numbers that represent each servers. May I ask do you have any plan about share the api and open sources for learning usage?

Algoinde commented 2 years ago

cnqd is the only one that is not yet supported; we're slightly reworking the architecture and the support should come soon. The API documentation is located in this repository over at https://github.com/EnkaNetwork/API-docs/blob/master/api.md

airdm commented 2 years ago

I'm very interested in your API and I've also done a lot of research on the genshin API. But in the end there was no way to get the gear details. So I was wondering how you did it. If the source code can be open sourced, there is an opportunity to learn. I'm from China and I made a Discord-like bot using your api.

Algoinde commented 2 years ago

I use some dark magic to get the data I get, so I'm not keen on disclosing the tools (yet). I do want the data to be as available as possible, but disclosing the toolkit might make it way more difficult to maintain the availability of data due to resultant changes. I'd happily provide all of that, but as it stands now, we all depend on data existence of which we can't really control, only hope to not influence.

airdm commented 2 years ago

Can you recommend me a research direction? I also want to research this.

Algoinde commented 2 years ago

Grasscutter and their Iridium fork would be a good starting point.

airdm commented 2 years ago

Thank you for your reply!

Algoinde commented 2 years ago

No problem! If Discord is available to you, you can hop on there to ask more questions (and get help using the API with your bot).