deliton / eldenring-api

Open source API for the awesome Elden Ring game :)
243 stars 34 forks source link

return total amount #1

Closed jon4hz closed 2 years ago

jon4hz commented 2 years ago

Hey, super cool API! I just started playing around with it a bit and noticed that the API doesn't return the total amount of possible data, which makes pagination a bit tricky. Could you add a field like total next to count, so people don't have to "brute force" check if there is more data available than initially requested?

deliton commented 2 years ago

Hey Jon4hz. that's a great idea! I'll add it to Wednesday release :)

deliton commented 2 years ago

total added in 0.1.1 release. Thanks for the suggestion :)