Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'Tracking' #105

Open
Marcaf opened this issue Oct 5, 2017 · 1 comment
Open

KeyError: 'Tracking' #105

Marcaf opened this issue Oct 5, 2017 · 1 comment

Comments

@Marcaf
Copy link

Marcaf commented Oct 5, 2017

Hi this lib doesn't work for me

Python 3.5.3 (default, Sep 14 2017, 22:58:41) 
[GCC 6.3.0 20170406] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyperi import Peri
>>> pp = Peri()
>>> history = pp.get_user_broadcast_history(username='george_clinton')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/pyperi/pyperi.py", line 45, in get_user_broadcast_history
    user_id, username
  File "/usr/local/lib/python3.5/dist-packages/pyperi/pyperi.py", line 77, in get_web_public_user_session_tokens
    out = {'user_id': data_store['Tracking']['userId']}
KeyError: 'Tracking'
@trgcyln
Copy link

trgcyln commented Dec 13, 2017

I think periscope changed the stucture of the json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants