Parsing list of User objects

71 views
Skip to first unread message

Sam

unread,
Jul 13, 2011, 12:09:31 PM7/13/11
to pylast
Hiya.
I'm having a lot of fun with Pylast, working on a music recommendation
service called Yammers.
I upgraded to the latest ver of pylast and I got into trouble.

I use artist.get_top_fans to get a list of users, then I parse that
list to get specific usernames, then I get user objects with
network.get_user, then I get those users' charts with
user.get_weekly_artist_charts.

It seems that the format of the data from artist.get_top_fans has
changed, and it's not as easy to parse. Can I easily convert this data
to a user object? Why did the format of the data change?

Thanks for the good work,
Sam
Reply all
Reply to author
Forward
0 new messages