forked from goodop/api-imjustgood.com
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpornstar.py
30 lines (19 loc) · 759 Bytes
/
pornstar.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from justgood import imjustgood
import random
api = imjustgood("INSERT_YOUR_APIKEY_HERE")
data = api.pornstar()
print(data)
# EXAMPLE GET CERTAIN ATTRIBUTES
main = random.choice(data["result"])
result = "Name : {}".format(main["pornstar"])
result += "\nBirth : {}".format(main["birth"])
result += "\nGender : {}".format(main["gender"])
result += "\nCountry : {}".format(main["country"])
result += "\nHeight : {}".format(main["height"])
if main["gender"] == "male":
result += "\nDick : {}".format(main["dick"])
if main["gender"] == "female":
result += "\nBreast : {}".format(main["breast"])
result += "\nTits : {}".format(main["tits"])
result += "\n\nImage URL : {}".format(main["image"])
print(result)