Skip to content
mte edited this page Jun 13, 2022 · 8 revisions

Welcome to the utilities-api wiki!


ALL ENDPOINTS ARE NOW FULL ASYNCRONUS, and most now take data form json or by url parameter

url parameter examples:

  • single parameter: https://utilities.tk/network/info?ip=1.1.1.1

  • or with two parameters: https://utilities.tk/webhooks/spam?webhookurl=https://discord.com/api/webhooks/XXXX**&**messages=msg1:|:msg2:|:ooga:|:msg4:|:kjasndkjas:|:black:|:msg6


Pages

Python examples

Basic ping

import requests

req = requests.get('https://utilities.tk/ping') # sending a get request to the API

print(req.status_code) # printing the request's status code
print("\n"+req.text) # printing a new line and the request's responses' text

Output:

200

up```

Clone this wiki locally