Commit Graph

79 Commits

Author SHA1 Message Date
Abhinav Sarkar 0cec26c46a added shout and shoutable modules to implement getShout method in artist, user and event classes, moved the mixin modules to a separate directory, changed all imports to absolute imports 2008-12-31 05:30:23 +00:00
Abhinav Sarkar 4e22b3c546 fixed an issue where calling artist._fill_info or album._fill_info overwrote the existing stats for the class. 2008-12-30 16:21:52 +00:00
Abhinav Sarkar 26415e75bc refactored object caching behaviour out from base.py to cacheable.py and renamed registry.py to objectcache.py 2008-12-30 15:46:00 +00:00
Abhinav Sarkar 237b32c6c1 renamed BaseError to LastfmError and removed Error class. 2008-12-30 14:14:00 +00:00
Abhinav Sarkar 21f591a450 more changes for PEP8 compliance 2008-12-30 13:51:04 +00:00
Abhinav Sarkar c6bd6ec95f corrected the issue 5. changed method names and instance variable names to follow PEP8. 2008-12-30 10:27:13 +00:00
Abhinav Sarkar 168046cf98 changed the code related to importing ElementTree to support python version > 2.5 2008-12-16 21:28:17 +00:00
Abhinav Sarkar 44d04f2cba minor change 2008-10-03 17:24:04 +00:00
Abhinav Sarkar 37fce56b41 implemented methods in user and event modules. All methods from last.fm API are implemented now. 2008-10-03 17:00:35 +00:00
Abhinav Sarkar 302f943805 refactored out search API methods in searchable module. applied the module to artist, tag and track. 2008-10-03 15:09:18 +00:00
Abhinav Sarkar e1a9541f7d refactored out share API methods in sharable module. applied the module to artist, event and track. 2008-10-03 12:14:31 +00:00
Abhinav Sarkar fc831421b7 refactored out tag API methods in taggable module. applied the module to album, artist and track. 2008-10-03 11:43:37 +00:00
Abhinav Sarkar 4277b4d280 wrote test_tag module and added some method tags for Tag class. 2008-09-16 20:47:16 +00:00
Abhinav Sarkar 1a854f337f wrote test_tag module and added some method tags for Tag class. 2008-09-16 20:46:10 +00:00
Abhinav Sarkar a4092845da added test_suite information in setup.py. 2008-09-16 20:17:28 +00:00
Abhinav Sarkar 0df01e9ada added some more tests to test_album module. created wsgi_test_app module and data dir to intercept urllib2 requests and serve from local files. 2008-09-16 19:46:48 +00:00
Abhinav Sarkar f08c12a1ff refactored the code from artist and track modules and created Wiki class. 2008-09-16 19:45:06 +00:00
Abhinav Sarkar 7d25f64788 created wiki module. added some new methods in Track class. some minor debugging. 2008-09-16 19:44:14 +00:00
Abhinav Sarkar 2b02a84b87 made some changes in test_album to make it work from trunk/test dir 2008-09-16 15:49:30 +00:00
Abhinav Sarkar 3fc75d3461 deleted tests directory after copying it to trunk 2008-09-16 15:40:03 +00:00
Abhinav Sarkar 2da3c2443d moved tests out of src and to trunk and renamed it to test 2008-09-16 15:38:01 +00:00
Andrea Grandi 3fcf33f7c1 Added testAlbumMbid, testAlbumId to test_album 2008-09-16 01:26:47 +00:00
Andrea Grandi 62a338a75b Added testAlbumUrl, testAlbumReleaseDate to test_album 2008-09-16 01:22:32 +00:00
Andrea Grandi 471e6e9abb Created src/tests/ subdirectory. Moved test_album in that directory. 2008-09-16 01:13:48 +00:00
Andrea Grandi 9bd5914c65 Some fixes to modules import 2008-09-15 22:54:49 +00:00
Andrea Grandi bf3423703e 2008-09-15 22:52:20 +00:00
Abhinav Sarkar 74f4803661 created SafeList class for safe access and operations to some list type attributes. implemented some more auth methods in track.py 2008-09-03 18:51:44 +00:00
Abhinav Sarkar fd7d7f1b12 Implemented Authentication API and some auth methods in Track class. 2008-09-03 14:43:32 +00:00
Abhinav Sarkar f0734f8a3c latest dists, changed the version to 0.2 2008-09-02 16:36:16 +00:00
Abhinav Sarkar 27a1676c3b implemented playlist related methods in album, tag and user modules. updated some methods to the latest API docs. The read-only part of API is complete. 2008-09-02 14:19:03 +00:00
Abhinav Sarkar a2320e6dd0 resolved issue 1 by subclassing LastfmError class and replacing the errors raised in code by the appropriate ones. 2008-08-30 20:37:49 +00:00
Abhinav Sarkar 9795b1f18f fixed a major bug in base module. made Registry class subscriptable. added stats in weeklyXXXChart classes. 2008-08-28 14:25:59 +00:00
Abhinav Sarkar 7683ad87c2 minor change 2008-08-28 08:04:19 +00:00
Abhinav Sarkar 6f7d8a055d minor change 2008-08-28 08:02:44 +00:00
Abhinav Sarkar a13757f87c minor changes 2008-08-28 07:39:18 +00:00
Abhinav Sarkar 47e37c31aa latest dists 2008-08-28 07:25:29 +00:00
Abhinav Sarkar 06fd1e35c2 latest dists 2008-08-28 07:15:50 +00:00
Abhinav Sarkar fb1de04a1f minor changes 2008-08-28 07:11:05 +00:00
Abhinav Sarkar 10d0d76d6d changed search related methods to return lazylist. removed the search module. 2008-08-28 07:01:30 +00:00
Abhinav Sarkar 9fdfaaf936 added events method to Country class 2008-08-27 20:03:14 +00:00
Abhinav Sarkar f85089fe20 added FETCH_INTERVAL to api class. now all URL fetch requests will take place with an interval of FETCH_INTERVAL. in user class, weeklyXXXChartList methods will ignore any exception raised during fetching data. 2008-08-27 19:48:37 +00:00
Abhinav Sarkar 0dfae9e1cb changed paginated methods in geo and user modules to lazy lists 2008-08-27 18:46:31 +00:00
Abhinav Sarkar e619c69822 implemented weeklyXXXChartList properties (as lazy list) in user and group modules. added lazylist module. 2008-08-27 17:03:40 +00:00
Abhinav Sarkar 7b3af16612 completed weeklychart module and implemented all weekly chart related methods in user and group modules 2008-08-27 13:33:00 +00:00
Abhinav Sarkar 0b4e8f539d corrected a bug in LastfmBase.cachedProperty 2008-08-25 13:46:18 +00:00
Abhinav Sarkar 3bb7aca74f moved caching attributes related code to LastfmBase.cachedProperty decorator 2008-08-25 13:18:17 +00:00
Abhinav Sarkar 439674558a implemented User.Library and other methods in user.py 2008-08-25 11:44:48 +00:00
Abhinav Sarkar 0f694c4418 minor bug corrected in tag.py 2008-08-21 13:44:33 +00:00
Abhinav Sarkar 054fc8eeb3 implemented some methods in user.py. refactored some properties as LastfmBase.topProperty. 2008-08-21 13:39:12 +00:00
Abhinav Sarkar e21be6a3ed implemented some methods in user.py 2008-08-18 16:12:46 +00:00