Closed andregasser closed 7 years ago
This is also described on StackApps: https://stackapps.com/a/7649/49901 (sorry, for cross-posting, but didn't know where you look for / answer issues with the wrapper. ;-)
Hi, I was finally able to solve it myself. See this link: https://stackapps.com/a/7650/49901
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
up_vote_count
,down_vote_count
andview_count
are part of the response, because of this code in models.py (~ line 342):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!
Thank you André