Created
July 1, 2020 01:31
-
-
Save jso8910/6bf54975a005e8f89598dee599bc12e4 to your computer and use it in GitHub Desktop.
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
import requests | |
token = 'YOUR.TOKEN.HERE' | |
query = 'THING TO SEARCH' | |
when = 'EARLIEST IT CAN BE POSTED (RELATIVE)' | |
excluding = 'STRING TO EXCLUDE' | |
requiring = 'STRING TO REQUIRE' | |
response = requests.get('http://0.0.0.0:5000/api?query=' + query + | |
'&time=' + when + | |
'&exclude=' + excluding + | |
'&require=' + requiring + ' | |
&token=' + token) | |
print(response.json()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment