Black Lives Matter. Please consider donating to Black Girls Code today.

No streaming id in .credentials file

Hi,

Followed this guide https://plot.ly/python/getting-started/#initialization-for-online-plotting

But my .credentials file looks like this:
{
“username”: “xxx”,
“api_key”: “xxx”,
“proxy_username”: “”,
“proxy_password”: “”,
“stream_ids”: []
}
What should I do in order to get stream_ids?

HI @Pasha,

Could you share an example of how you’re calling set_credentials_file? Don’t include your actual account info, just dummy strings are fine. The stream_ids argument must be a list or tuple otherwise it is ignored.

-Jon

@jmmease

Thanks a lot for your properly constructed question, based on it I have figured out how to set streaming ids.
Works.

1 Like