Skip to content

Instantly share code, notes, and snippets.

@osharaki
Last active May 3, 2021 14:40
Show Gist options
  • Save osharaki/24358f9deee6055b7d0c9b54e295b511 to your computer and use it in GitHub Desktop.
Save osharaki/24358f9deee6055b7d0c9b54e295b511 to your computer and use it in GitHub Desktop.
Unogs API miner: API request variables (snippet 2/6)
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