ZUQ ADS-API


before we start:please ask 1810823612@qq.com to get API User(It's free)
rule:if have ads,we will give you %1 yuan(RMB)
ZUQ ADS-API 1.0【laster】 get all ads:
http://ads.yourzuq.xyz/api/{API USER}/len.json
retrun:
{"len-int":["1","神经","91"]}
what's retrun:
【len-int】ads list(ID)

get ads msg:
http://ads.yourzuq.xyz/api/{API USER}/{ADS ID}.json
retrun:
{"title":"族客广告提供服务:广告招商","name":"族客源码","text":"超低价广告","web":"http://ads.yourzuq.xyz","class":"其他"}
what's retrun:
【title】ads title
【name】ads name
【text】ads text
【web】ads web
【class】class
code(python)*xxx is API USER,please wirte your,no Tab:
def ad():
try:
import requests
if vip == 0:
a=requests.get("http://ads.yourzuq.xyz/api/xxx/len.json")
a=a.json()
a=random.choice(list(a["len-int"]))
a=requests.get("http://ads.yourzuq.xyz/api/xxx/"+str(a)+".json")
a=a.json()
messagebox.showinfo("It's a ads(buy VIP(super)no ads)",str(a["title"])+"\n"+str(a["text"])+"\n>>>get!<<<")
webbrowser.open_new_tab(str(a["web"]))
except Exception as e:
print("No ads!")