Commit Graph

120 Commits

Author SHA1 Message Date
Rikki Tooley
d9153ed34c Changing PCL profile again, hopefully fixing broken packages (really need to figure out a proper process for this) 2014-10-02 13:11:46 +01:00
Rikki Tooley
20a06390dc Removing support for Windows Phone 7.5.
PCL profile 104 -> 259.
2014-10-02 10:27:53 +01:00
Rikki Tooley
c25d132185 Added artist top tracks and artist top albums methods to GetArtistInfo in demo app 2014-10-01 01:31:00 +01:00
Harry
941c38f01c Merge https://github.com/zumicts/lastfm into master
Add get top tracks and albums for artist
See pr #10
2014-10-01 01:29:50 +01:00
Rikki Tooley
5e46cf415d Update AppVeyor badge url
Also, #9 is fixed!
2014-09-30 15:53:25 +01:00
Rikki Tooley
f6c9efd836 Remove binding redirects... and a test...
will AppVeyor work now? (#9)
2014-09-30 14:51:00 +01:00
Rikki Tooley
7c95aaa254 Changing back to PCL104, hopefully fixing NuGet and AppVeyor 2014-09-30 14:35:05 +01:00
Rikki Tooley
3f002ff637 Remove NuGet packages folder from Git 2014-09-29 22:07:46 +01:00
Rikki Tooley
03af15e681 Merge branch 'master' of github.com:inflatablefriends/lastfm 2014-09-29 21:41:26 +01:00
Rikki Tooley
bb2b187da4 Regenerate NuGet files.. 2014-09-29 21:40:51 +01:00
rikkit
22d43d648c Update LICENCE.md 2014-09-16 18:29:54 +01:00
Rikki Tooley
66366ceaf0 Reorganising project, update dependencies, changed PCL profile 2014-09-16 18:28:40 +01:00
rikkit
154d19d735 Update README.md 2014-09-16 17:20:29 +01:00
Rikki Tooley
954da773e9 Nuget and VS 2013 support. 2013-11-06 20:36:37 +00:00
Rikki Tooley
0a4f58d160 Another fix to error detection... 2013-09-13 19:19:16 +01:00
Rikki Tooley
f2b0875503 Changed error detection logic, fixes #7
* removed "json.Contains("error")"  - lol
2013-09-11 03:37:55 +01:00
Rikki Tooley
015362fc81 Fixed exception when HttpClient requests are cancelled and return empty strings 2013-09-11 03:18:51 +01:00
Rikki Tooley
fc42d1b34c GetTrackShoutsCommandTests 2013-09-09 19:55:27 +01:00
Rikki Tooley
85d8edad3b Moved authentication into GetMobileSessionCommand. Resolves #6 2013-09-02 16:14:35 +01:00
Rikki Tooley
b249ea7fa8 Added LastFm.CatchRequestExceptions to catch HttpRequestExceptions
Using this mean clients don't have to wrap every call in try/catches http://stackoverflow.com/questions/18562613/async-method-returning-taskt-with-generic-constraint-in-c-sharp?noredirect=1#comment27311729_18562613
2013-09-01 23:57:54 +01:00
Rikki Tooley
db00dfd8ed Changed command structure to reduce repetition 2013-09-01 20:52:44 +01:00
Rikki Tooley
73e1831986 user.shout, artist.shout.
the api doesn't have album.shout and track.shout but i made commands for
them anyway, not put them in AlbumApi or TrackApi though.
2013-07-30 00:36:55 +01:00
Rikki Tooley
2235ba0753 album.getinfo, album.getshouts, artist.getshouts, user.getinfo, user.getshouts 2013-07-29 03:47:59 +01:00
Rikki Tooley
718710d200 PostCommands don't need encoded parameters 2013-07-27 16:18:33 +01:00
Rikki Tooley
b610e5488d Another fix for #2 2013-07-25 17:48:48 +01:00
Rikki Tooley
59f2654f11 Fixes #3: Escaping parameters on existing commands
Simple as Uri.EscapeDataString()
2013-07-25 00:07:37 +01:00
Rikki Tooley
4b8bb03d3f Fixes #4: nullreferenceexception when parsing track with no tags 2013-07-24 22:39:49 +01:00
Rikki Tooley
ab9f873342 Exposing track.isnowplaying property
Probably more reliable than testing if datetime is null
2013-07-24 22:28:42 +01:00
Rikki Tooley
f342bd0757 artist.getShouts 2013-07-24 07:59:07 +01:00
Rikki Tooley
bf87dd9dba Workaround for HttpClient's caching
See
http://stackoverflow.com/questions/6334788/windows-phone-7-webrequest-caching
2013-07-24 01:48:55 +01:00
Rikki Tooley
83b816b3a2 track.love and track.unlove.
Also tidied the postcommands a bit.
2013-07-24 01:14:22 +01:00
Rikki Tooley
3eb12180a3 Fixes none of the getcommands working...
should really unit test this stuff
2013-07-24 01:09:33 +01:00
Rikki Tooley
4e2b7b0235 Removed methods using mbids. They weren't implemented anyway and last.fm doesn't use them reliably (see http://www.last.fm/group/Last.fm+Web+Services/forum/21604/_/2210879) 2013-07-24 00:11:58 +01:00
Rikki Tooley
92aec324ef Tidied up command framework. 2013-07-24 00:11:57 +01:00
Rikki Tooley
5134b6c2cc user.getRecentStations now uses the new PostAsyncCommand pattern 2013-07-24 00:11:57 +01:00
rikkit
99a61e50f8 Syntax highlighting for the quickstart
```c#
```
2013-07-23 23:11:54 +01:00
Rikki Tooley
05d93bbd34 Tidying user.getTopAlbums call. 2013-07-23 15:48:03 +01:00
Rikki Tooley
3565a10387 track.getInfo. Also fixes #2 (track.getShouts failing for single shout, added properties to PageResponse to help) 2013-07-23 15:42:10 +01:00
Rikki Tooley
6cc8e916e6 Handle when there's no comments on the track 2013-07-09 00:12:05 +01:00
Rikki Tooley
1e18e999bf GetShoutsCommand 2013-07-07 16:16:54 +01:00
Rikki Tooley
6c3e6d25ac Added ILastFmObject interface to simplify some object management scenarios. YEAH
Also added ArtistMbid property to Track.cs
2013-07-04 23:26:50 +01:00
Rikki Tooley
08411cd7ac Fixn' bugs 2013-07-02 00:20:43 +01:00
Rikki Tooley
1cb3974f20 Get artist info command 2013-07-02 00:20:43 +01:00
Rikki Tooley
0b44ed584e TrackApi: Return image uris and timeplayed with tracks 2013-07-02 00:20:42 +01:00
rikkit
911204481c Update quickstart code in Readme 2013-07-01 21:33:03 +01:00
rikkit
2156827ccf Update README.md 2013-07-01 15:36:58 +01:00
Rikki Tooley
d65005d951 RecentScrobblesCommand: Handling for null date 2013-06-26 23:36:41 +01:00
Rikki Tooley
6b98c368a9 Allow loading an existing session into an IAuth (create a UserSession, pass it in) 2013-06-23 23:58:42 +01:00
Rikki Tooley
6ee13480cc Moving stuff to commands 2013-06-23 20:10:57 +01:00
Rikki Tooley
e6cc245905 Added licence info (MIT) 2013-06-15 17:33:58 +01:00