Rikki Tooley
284d4fef03
Upgrade demo project to WP Silverlight 8.1
2014-10-11 16:13:44 +01:00
Harry
61d6f0acb1
Fix and refactor charts api
...
there was an issue with the get top tracks api plus I forgot to set
those commands to use the new page response create method.
2014-10-10 09:12:54 -04:00
Harry
dc8189903b
Fix page response bug for search
2014-10-09 13:57:07 -04:00
Rikki Tooley
32ffbf0df4
Merge pull request #15 from zumicts/master
...
Added several new commands and handled a few more edge cases in parsing the responses from the Last.fm API
2014-10-09 01:38:35 +01:00
Harry
934bb46760
Using new page response creator in other places
...
plus doing a similar array check in the lastalbum track properties,
seems to have the same issue when the album has only one track
2014-10-08 14:15:37 -04:00
Harry
f41916cfc8
Made an easier way to create page response
...
that takes into account that the list sometimes is not an array.
2014-10-08 14:02:06 -04:00
Harry
cf52a96610
Fix the kiesza bug for tracks
...
Definitely will create a helper for this, instead of writing one for
every object.
2014-10-08 13:19:54 -04:00
Harry
b4d1c59f73
Fix token selection typo in LastAlbum
2014-10-08 13:13:44 -04:00
Harry
448114c8cd
Fix conflicts with ceb16a9
2014-10-07 22:05:44 -04:00
Harry
d2863e256f
Refactor album page response token parsing
...
plus changed the rank property to be a nullable int
2014-10-07 21:54:53 -04:00
Harry
2ee49a61a3
Refactor image set largest property
...
I can't believe I did not see that...
2014-10-07 21:26:28 -04:00
Rikki Tooley
ceb16a96fa
Check for token type instead of handling an exception
2014-10-08 02:09:51 +01:00
Harry
c8612f8510
Fix bug with parsing tracks
...
sometimes they don't come with duration. so parse as string, which can
be null, and then if is not null we try to parse it as a double
2014-10-07 17:13:25 -04:00
Harry
0b48051ce9
Fix what I like to call the Kiesza bug
...
Last.fm returns an object instead of an array when it will return only
one object. Had to resolve to some trickery behind the scenes to make
it work...
2014-10-07 17:04:16 -04:00
Harry
f6f027845d
Renaming singular to plural
...
just for the consistency
2014-10-07 16:08:56 -04:00
Harry
5058d370df
Add pagination to artist methods
...
the get top tracks and albums.
2014-10-07 15:58:42 -04:00
Harry
e1ad4f7a10
Add charts api
...
plus renaming some files
2014-10-07 15:56:30 -04:00
Harry
1bdcafbf9f
Small refactoring
2014-10-07 15:41:47 -04:00
Harry
229968eb63
Add getting info by mbid
...
to artist, album and track
2014-10-07 15:38:08 -04:00
Harry
79fde575f0
Add an easy way to get the largest image
2014-10-07 15:17:34 -04:00
Harry
8f4b84dca1
Add rank attribute to track
2014-10-07 15:09:59 -04:00
Harry
9d93743c2b
Hacks to flex objects with the api
...
what can I say, last.fm is one of the most unreliable apis I have work
with. these changes help with abstracting all that.
2014-10-07 10:30:28 -04:00
Harry
5306c8970c
Add search and similar methods for apis
2014-10-07 10:24:27 -04:00
Harry
c8429bd361
Rename track, album and artist objects
2014-10-07 10:12:09 -04:00
Rikki Tooley
878e7c0e63
Rename LastImageCollection -> LastImageSet, add more info to Artist page demo
2014-10-04 22:43:26 +01:00
Rikki Tooley
49139c97fa
Messing about with NuGet again :'(
...
Change targets to .NET 4.5 to remove dependency on Microsoft.Async
Also removing console project
2014-10-03 15:05:58 +01:00
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