Have been using the Streaming API for a short while using the python requests library.
params = { 'timepoint': int(datetime.datetime(2020, 2, 17).timestamp()) } url = 'https://stream.companieshouse.gov.uk/companies' response = requests.get(url, auth=(KEY,'') params=params) print(response.status_code) print(response.content)
when i make when make a malformed request i get 400,/401 as would be expected. However, when i supply the correct key, my status code does not print, my code hangs.
Am i misunderstanding the underlying basics of the long running http request or do i need to change something
any help would be much appreciated