Demo entry 6718098

sample request

   

Submitted by anonymous on Mar 02, 2018 at 02:29
Language: Python 3. Code size: 385 Bytes.

# Retrieve times and activities for this truck shift on Water St. 
import requests
req = requests.get("http://127.0.0.1:5000/api/session/468")
table_dict = req.json()["Table data"]
if table_dict:
    for t in table_dict:
        address= table_dict[t]["address"].lower()
        if "water st" in address:
            print(table_dict[t]["time"], table_dict[t]["activity type"])

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).