TikTok information
import http.client
import json
url = http.client.HTTPSConnection("api.insightigapp.com")
headers = {'User-Agent': "Android-1.2.9-Infinix-Infinix X6816-11"}
try:
url.request("GET", "/v1/task/analytics?username=" + input('username : '), headers=headers)
except:
print('bad user')
exit()
res = url.getresponse()
data = res.read()
xx = json.loads(data.decode("utf-8"))
print("Username:", xx['data']['username'])
print("Followers:", xx['data']['followers'])
print("Followings:", xx['data']['followings'])
print("Friends:", xx['data']['friends'])
print("Posts:", xx['data']['posts'])
print("Lost Followers:", xx['data']['lostFollowers'])
print("Not Followed Back:", xx['data']['notFollowerdBack'])
print("Followed Me Back:", xx['data']['followedMeBack'])
print("Block:", xx['data']['block'])
print("Deleted Likes:", xx['data']['deletedLikes'])
url.close()
import http.client
import json
url = http.client.HTTPSConnection("api.insightigapp.com")
headers = {'User-Agent': "Android-1.2.9-Infinix-Infinix X6816-11"}
try:
url.request("GET", "/v1/task/analytics?username=" + input('username : '), headers=headers)
except:
print('bad user')
exit()
res = url.getresponse()
data = res.read()
xx = json.loads(data.decode("utf-8"))
print("Username:", xx['data']['username'])
print("Followers:", xx['data']['followers'])
print("Followings:", xx['data']['followings'])
print("Friends:", xx['data']['friends'])
print("Posts:", xx['data']['posts'])
print("Lost Followers:", xx['data']['lostFollowers'])
print("Not Followed Back:", xx['data']['notFollowerdBack'])
print("Followed Me Back:", xx['data']['followedMeBack'])
print("Block:", xx['data']['block'])
print("Deleted Likes:", xx['data']['deletedLikes'])
url.close()