17 lines
382 B
Python
17 lines
382 B
Python
|
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()
|