Commit Graph

10 Commits

Author SHA1 Message Date
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
600814d09f Scrobble method!
Also making all ParseJToken methods internal, but using
[assembly:InternalsVisibleTo("IF.Lastfm.Core.Tests")] to make them
testable
2013-06-14 16:19:26 +01:00
Rikki Tooley
cd695b5216 Stubbed out some of ArtistApi 2013-06-14 13:25:02 +01:00
Rikki Tooley
03fa6f74e9 Changed error handling, stubbed most of albumapi
Methods now return LastResponse or ListResponse (confusing? hmm) instead
of throwing exceptions.
2013-06-14 13:11:42 +01:00
Rikki Tooley
c4867617d4 "Handle" api errors by throwing LastFmApiException 2013-06-13 21:30:18 +01:00
Rikki Tooley
67e98ad5bb Started UserApi 2013-06-13 17:27:51 +01:00
Rikki Tooley
3184fc617d Album.getInfo, starting to get a nice layout to the api. 2013-06-12 17:34:56 +01:00
Rikki Tooley
720e055d82 Fixed all the broken packages + added moq 2013-06-11 16:03:16 +01:00
Rikki Tooley
f2a6a61275 Initial commit 2013-06-08 18:49:21 +01:00