question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[docs]: Questions

See original GitHub issue

Hey there as mentioned in #115 here are some questions that came up during my first encounter with genshinDB.

First of all: THANK YOU for this great package ❤️, I am happy to support with PRs once I wrapped my head around a couple of things:

  1. How do I get all items of a similar type - like all slime items or all drops from childe - at best if I am already on a slime item, how do I know there are similar ones “left and right”, meaning how can I easily check similar items
  2. I see there is genshinDB.weaponmaterialtypes and genshinDB.talentmaterialtypes
    1. Both of them link to examples in the README but apparently there are no examples.
    2. Why are there no / it would be great if there are genshinDB.levelmaterialtypes and genshinDB.ascensionmaterialtypes
  3. all the links to the categories.json from the README point to 404
  4. why is rarity a string and not an integer? It would be helpful if I could filter for rarity > X without the need to run parseInt first.
  5. How to get the max rarity per item? I would like to get a list of all materials but only the max possible one - for example slime can only go up to 3 while horn can go up to 4
  6. Why does genshindb.materials('ballad') only give me one Ballad item and not all items that match ballad?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
theBowjacommented, Sep 11, 2022

im gonna add data for crafting

1reaction
theBowjacommented, Sep 4, 2022
  1. Currently there’s no easy way to get items of similar type. The closest for slime items is by searching enemies for slime. https://genshin-db-api.vercel.app/api/enemies?query=slime. Sounds like a good idea to add but I’m not sure on the best way to implement this.
  2. weaponmaterialtypes and talentmaterialtypes aren’t updated. I’ve been meaning to remove them and implement it via some sort of pseudo folders.
  3. I was planning to create categories.json in my postprocessing step.
  4. rarity is a string because I accidentally made it a string early on and I decided to be consistent from then on. This can be changed to number probably. Not sure if it’ll break anything for other people.
  5. hmm
  6. Unfortunately not possible yet. I’m currently considering a return x number of results option. I’ve been stalling because I couldn’t figure out how to create the type for this. Maybe I should just create a separate function instead.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Forms: Online Form Creator | Google Workspace
Use Google Forms to create online forms and surveys with multiple question types. Analyze results in real-time and from any device.
Read more >
Create & grade quizzes with Google Forms
Frequently missed questions; Graphs marked with correct answers; Average, median, and range ... Using Google products, like Google Docs, at work or school?...
Read more >
Google Forms: Sign-in
Access Google Forms with a personal Google account or Google Workspace account (for business use).
Read more >
Google Docs Quiz - GCFGlobal
Test your knowledge of Google Docs by taking our quiz. ... Question 1 of 7. Google Docs is most similar to which application?...
Read more >
How to make Google Docs Questionnaire - YouTube
Click "Done" to add the question. Step # 4 -- Publishing the Form That is how to make google docs questionnaire and to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found