Search the games mods are made for, by name
curl --request GET \
--url https://patch.gg/api/v1/host-gamesconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/host-games', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/host-games"
response = requests.get(url)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"cover_url": "<string>",
"engine": "<string>",
"stores": [
{
"store": "steam",
"ref": "<string>"
}
],
"builds": [
{
"store": "steam",
"build_ref": "<string>",
"version_label": "<string>"
}
]
}
],
"next_cursor": "<string>"
}Host games
Search the games mods are made for, by name
GET
/
host-games
Search the games mods are made for, by name
curl --request GET \
--url https://patch.gg/api/v1/host-gamesconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/host-games', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/host-games"
response = requests.get(url)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"cover_url": "<string>",
"engine": "<string>",
"stores": [
{
"store": "steam",
"ref": "<string>"
}
],
"builds": [
{
"store": "steam",
"build_ref": "<string>",
"version_label": "<string>"
}
]
}
],
"next_cursor": "<string>"
}