14 lines
350 B
Python
Executable File
14 lines
350 B
Python
Executable File
import requests
|
|
|
|
url = "https://tarot-cards1.p.rapidapi.com/tarot/"
|
|
|
|
querystring = {"minor":"2","major":"2"}
|
|
|
|
headers = {
|
|
"x-rapidapi-key": "915784f37bmsh01add6a88639e60p15c4aajsnbaee391c4ef7",
|
|
"x-rapidapi-host": "tarot-cards1.p.rapidapi.com"
|
|
}
|
|
|
|
response = requests.get(url, headers=headers, params=querystring)
|
|
|
|
print(response.json()) |