Add shell.nix and test program
This commit is contained in:
parent
b06c3ed623
commit
3ec2ad16b7
|
@ -0,0 +1 @@
|
|||
app/__pycache__
|
|
@ -0,0 +1,16 @@
|
|||
from requests import get
|
||||
|
||||
|
||||
def dummy_request(url):
|
||||
request = get(url)
|
||||
print(request.text)
|
||||
|
||||
|
||||
def main():
|
||||
dummy_request(
|
||||
"https://opendata.paris.fr/api/records/1.0/search/?dataset=velib-disponibilite-en-temps-reel&q=&facet=name&facet=is_installed&facet=is_renting&facet=is_returning&facet=nom_arrondissement_communes"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Loading…
Reference in New Issue