genshindev/api

Possible to filter weapons by type in `/weapons` instead of just `/weapons/all`?

ChrisMGeo opened this issue · 1 comments

Currently appending ?type=Bow, etc. to /weapons/all works but not with just /weapons. Any way to make this work or is it a bad idea?

This should be possible, but it would be a very niche functionality. The only use case I can think of is if you want to get images of all bows but don't care about any other data. In a real application you'd still want to get at least names of those bows for tooltips.