The categories, with how many public projects are in each
curl --request GET \
--url https://patch.gg/api/v1/categoriesconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/categories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/categories"
response = requests.get(url)
print(response.text){
"data": [
{
"id": "action",
"name": "<string>",
"for": [
"game"
],
"projects": 123
}
]
}Projects
The categories, with how many public projects are in each
In their order, whether or not anything’s in them yet. for (comma-separated repo kinds) picks whose categories: games’ and mods’ by default, which are Discover’s, or a toolbox shelf’s (system, effect, asset, character, tool). kind (comma-separated) counts only projects of those kinds; left out, games’ and mods’ categories count every kind but block, and a shelf’s count every kind.
GET
/
categories
The categories, with how many public projects are in each
curl --request GET \
--url https://patch.gg/api/v1/categoriesconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/categories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/categories"
response = requests.get(url)
print(response.text){
"data": [
{
"id": "action",
"name": "<string>",
"for": [
"game"
],
"projects": 123
}
]
}