yuko1101 / enka-network-api

A Node.js Enka.Network API wrapper for Genshin Impact.

Home Page:https://enka-network-api.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Method getAllArtifacts ?

Gus19 opened this issue Β· comments

commented

Hello !

First, thanks for this very nice wrapper 😁 !

Like allCharacters and allWeapons, is it possible to list all the artifacts ?

And why node>=16 for the requirements ?

Thanks !

Like allCharacters and allWeapons, is it possible to list all the artifacts ?

Nice idea. I will give it a try.

And why node>=16 for the requirements ?

That's because I didn't test it on node 15
and node 14 or earlier don't have some operators (such as "??=").

If you wish to use node 15, I will test on node 15.

commented

Cool ! Good luck 😁

I'm currently with node 14, didn't know this operator.
No need, I will update my version.

Added, but not released yet.
Cuz I didn't test it well, and some changes are WIP.

If you would like to use EnkaClient#getAllArtifacts,
please install it from github with npm i yuko1101/enka-network-api.

commented

It's works fine !
But recent sets are not present ?

  • Deepwood Memories
  • Echoes of an Offering
  • Emblem of Severed Fate
  • Gilded Dreams
  • Husk of Opulent Dreams
  • Ocean-Hued Clam
  • Shimenawa's Reminiscence
  • Vermillion Hereafter
  • Desert Pavilion Chronicle
  • Flower of Paradise Lost

Oh wait, I will fix it if possible.

Probably fixed. b721f8f

commented

Perfect πŸ‘

getAllArtifacts method will be available from version 1.11.0