...
For retrieving all SWPC events which are stored within the database we can use a GET request with the address from given above.
Code Block | ||
---|---|---|
| ||
# retrieving data print('downloading all data...') swpc_events = requests.get("http://localhost:8005/swpc_event/list").json() print(swpc_events) |
...