Last active
May 3, 2021 14:40
-
-
Save osharaki/24358f9deee6055b7d0c9b54e295b511 to your computer and use it in GitHub Desktop.
Unogs API miner: API request variables (snippet 2/6)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url = "https://unogsng.p.rapidapi.com/search" # endpoint | |
querystring = {"orderby": "date", "subtitle": "english"} # only retrieve shows with English subs and order results by date added | |
# TODO: add API key | |
headers = { | |
"x-rapidapi-key": "insert-api-key-here", | |
"x-rapidapi-host": "unogsng.p.rapidapi.com", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment