Whether a username or org name is free
curl --request GET \
--url https://patch.gg/api/v1/names/{name}const options = {method: 'GET'};
fetch('https://patch.gg/api/v1/names/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/names/{name}"
response = requests.get(url)
print(response.text){
"name": "<string>",
"status": "available"
}Account
Whether a username or org name is free
GET
/
names
/
{name}
Whether a username or org name is free
curl --request GET \
--url https://patch.gg/api/v1/names/{name}const options = {method: 'GET'};
fetch('https://patch.gg/api/v1/names/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/names/{name}"
response = requests.get(url)
print(response.text){
"name": "<string>",
"status": "available"
}