Join GitHub today
How to fetch up_vote_count, down_vote_count and view_count from user? #65
First things first: Thank you very much for your efforts in building this Python package. It saves me lots of hours for sure. Keep up the good work.
Nevertheless, I have a small issue when fetching data from the Stackoverflow site. I try to load a specific user object and would like to get reputation as well as up vote count, down vote count and view count. Fetching reputation works well, but when I try to access the other attributes, such as up_vote_count, I fail.
Here is my code so far:
When running the code, I can fetch reputation successfully, but get this error for the other attribute:
I actually thought, that
What am I doing wrong here?
I use Python 3.4.3 with py-stackexchange 2.2.7 (installed via pip3).
Any help highly appreciated!