How many assets the library offers
curl --request GET \
--url https://patch.gg/api/v1/assets/countconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/assets/count', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/assets/count"
response = requests.get(url)
print(response.text){
"total": 51234
}Assets
How many assets the library offers
The number a search with no words reports as its total, without running the search. The same for everyone, so it may be up to an hour old.
GET
/
assets
/
count
How many assets the library offers
curl --request GET \
--url https://patch.gg/api/v1/assets/countconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/assets/count', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/assets/count"
response = requests.get(url)
print(response.text){
"total": 51234
}