...
Code Block | ||
---|---|---|
| ||
import requests url = 'http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/timeseries' params = dict( documentVersion='1.23', documentFormat='PI_JSON' ) response = requests.get(url=url, params=params) data = response.json() |
...