xxxxxxxxxx
# To retrive report of a URL:
import requests
api = "" # your api key here
id = "" # url's id here
url = f"https://www.virustotal.com/api/v3/urls/{id}"
headers = {"accept": "application/json",
"x-apikey": api}
response = requests.get(url, headers=headers)
print(response.text)
xxxxxxxxxx
fetch(
"https://api.igdb.com/v4/characters",
{ method: 'POST',
headers: {
'Accept': 'application/json',
'Client-ID': 'Client ID',
'Authorization': 'Bearer access_token',
},
body: "fields akas,checksum,country_name,created_at,description,games,gender,mug_shot,name,slug,species,updated_at,url;"
})
.then(response => {
console.log(response.json());
})
.catch(err => {
console.error(err);
});