patolin / pylast

Automatically exported from code.google.com/p/pylast
Apache License 2.0
0 stars 0 forks source link

Error in example script #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
instead of 
network = pylast.LastFMNetwork(api_key = API_KEY, api_secret = 
    API_SECRET, username = username, password_hash = password_hash)

it should be 
network = pylast.get_lastfm_network(api_key = API_KEY, api_secret = 
        API_SECRET, username = username, password_hash = password_hash)

Original issue reported on code.google.com by Arph...@gmail.com on 2 Feb 2011 at 2:42

GoogleCodeExporter commented 9 years ago
Actually, this is deprecated now for the way mentioned in the example.

Original comment by amr.hassan on 2 Feb 2011 at 2:51