DEV Community

loading...

Discussion on: Query the total number of items from an API?

Collapse
ankit199 profile image
Ankit kumar shukla

to get number of count from DB please add a new variable to your API response field and assign total number count to it and use it in your application

Thread Thread
hordon profile image
Horváth Donát Author

Unfortunately, this is not my API, it is a publicly available open API, so I could not add variable to it :(

Thread Thread
ankit199 profile image
Ankit kumar shukla

so you cant do anything :)