Commit Graph

229 Commits

Author SHA1 Message Date
Rikki Tooley
79a32d0832 Undo using C# 7 feature, doesn't build on CI server atm 2017-04-16 19:16:36 +01:00
Rikki Tooley
894d81c740 Add small integration test for Lastfm.User.GetInfoAsync()
- proves #100 is fixed, can add checks for the other fields later
2017-04-16 19:03:35 +01:00
Rikki Tooley
c7a36350b7 Fix chart get top tags integration tests, api now uses the page size parameter 2017-04-16 18:54:10 +01:00
Rikki Tooley
ba202ca6f5 Consolidate Json.Net version to 9.0.1, upgrade test projects and syro to .Net 4.6.2 2017-04-16 18:51:31 +01:00
Tim Stadler
3403709448 Complete LastUser implementation
Fix tabs to fit If.lastfm style

Tabs -> Spaces
2017-04-10 20:10:42 +02:00
Rikki Tooley
b1034be2b8 Merge branch 'netstandard'
# Conflicts:
#	appveyor.yml
2016-12-05 01:34:12 +00:00
Rikki Tooley
dc30c7ad67 Make LastFm class static 2016-12-05 00:40:34 +00:00
Rikki Tooley
46036a390e Add library.getArtists
- supports paging (starts at 1)
- made LastArtist.PlayCount int?
- update PROGRESS.md
2016-11-30 04:30:03 +00:00
Rikki Tooley
440577c0c1 Tidying ApiBase class 2016-11-30 03:34:31 +00:00
Rikki Tooley
2625131422 Support .Net Standard 1.1 #88
- Upgrade JSON.NET from 6.0.8 to 9.0.1
- Change from Microsoft.Net.Http 2.2.28 to System.Net.Http 4.3.0 (this package doesn't support .Net Standard 1.0)
- This commit deprecates support for Windows Phone Silverlight 8.0
- Remove IF.Lastfm.SQLite project from the solution so it can be upgraded to .Net Standard separately
2016-11-30 03:18:39 +00:00
Branimir Ricko
380b17a333 Moved _auth/Auth field/property to Helper Base class IF.Lastfm.Core.Helpers.ApiBase, because every class that inherits form ApiBase, has _auth/Auth field/property 2016-11-28 19:39:27 +01:00
Branimir Ricko
d061f5d2d8 Upgraded Microsoft.Bcl.Build version form 1.0.14 to 1.0.21 on projects IF.Lastfm.SQLite and IF.Lastfm.SQLite.Tests.Integration. For some reason it didn't build with versioon 1.0.14 2016-11-28 19:01:55 +01:00
Rikki Tooley
fe50f7e00e Add chart.getTopTags, plus integration tests for ChartApi
- chart.* methods don't seem to use page or limit parameters right, see #90
2016-05-28 02:11:44 +01:00
Rikki Tooley
08b32a62fa Fix tag.getTopArtists error test #87 2016-05-26 23:53:40 +01:00
Rikki Tooley
b285c273e9 Merge branch 'fckoppenol-master' 2016-05-26 23:32:53 +01:00
Rikki Tooley
68e36f0139 Fix ArtistGetTopTagsCommandTests
- also add validation to Artist.GetTopTagsCommand.
2016-05-26 23:32:22 +01:00
Rikki Tooley
7ecc82b20e "fix" failing test 2016-05-22 23:54:04 +01:00
Rikki Tooley
60ea301d1f Code tidying
- pressed a few buttons in ReSharper
2016-05-22 23:34:03 +01:00
Dave Conley
bdec7c9a35 Added tag.getTopTracks 2016-05-19 12:06:53 +01:00
Dave Conley
e515eb2be1 tag.getTopArtists added 2016-05-19 10:38:55 +01:00
fckoppenol
8ea1a0cb08 Added GetTopTagsByMbidAsync function in Artist 2016-04-20 13:06:03 +02:00
fckoppenol
e4c2a0fcf4 Added ArtistApi.GetSimilarByMbidAsync 2016-04-16 15:13:17 +01:00
fckoppenol
4007afeab4 Fixed function naming: GetSimilarByMbidAsync 2016-04-08 11:33:25 +02:00
fckoppenol
50efd3d2fb Added GetSimilarAsyncMbidAsync function 2016-04-08 11:09:26 +02:00
Rikki Tooley
9d786cea37 Add AfterSend event to ScrobblerBase 2015-10-11 21:45:13 +01:00
Rikki Tooley
9db1b2d5da Change constructors of LastfmClient, use C# 6 2015-10-11 01:34:38 +01:00
Rikki Tooley
1789826819 Move artist.getInfo tests to a folder 2015-10-04 14:18:51 +01:00
Benjamin Bougot
645a347150 Add stats
Add stats to LastArtist
2015-10-03 16:11:47 +02:00
Rikki Tooley
72ab1c6b58 Merge branch 'v0.2-patch1' 2015-09-01 02:53:30 +01:00
Rikki Tooley
c49316fc66 Change default page value for user.getRecentTracks from 0 to 1
API seems to have changed behaviour
- page=1 no longer contains "now playing" track as its first item
- page=0 no longer returns same as page=1 but without the "now playing" track
See #78
2015-09-01 02:48:18 +01:00
Rikki Tooley
63a71053c8 Make track ScrobblesSingle integration test more lenient to make it pass 2015-09-01 02:48:18 +01:00
Rikki Tooley
799bdee290 Change enumerator of LastImageSet to exclude null Uris, plus C#6 2015-09-01 02:48:18 +01:00
Rikki Tooley
e5fe3dec14 Make Scrobble response parsing more tolerant
Fix #77
2015-09-01 02:48:18 +01:00
Ricardo Santos
d26a1034ad Set HttpClient 2015-07-13 19:31:24 +01:00
Ricardo Santos
8abaa11dbe Add Tests 2015-07-12 18:07:56 +01:00
Ricardo Santos
b0eea4b304 Add tag.GetTopAlbumsCommand 2015-07-12 18:07:42 +01:00
Rikki Tooley
05a4c894c5 tag.getTopTags, fix nullrefs from Tag Api 2015-07-08 12:39:07 +01:00
Ricardo Santos
69c199ccb5 Add assertion to compare LastTag.Count property 2015-07-05 21:11:15 +01:00
Ricardo Santos
683bb60402 Set taggings value to Count property 2015-07-05 21:08:13 +01:00
Ricardo Santos
1fa98d41ee Add tests to TagApi.GetInfoCommand 2015-07-05 19:22:39 +01:00
Ricardo Santos
71a87cdb42 Add response resources to test 2015-07-05 19:21:49 +01:00
Ricardo Santos
b2dbe3bc45 Add GetInfoCommand to TagApi 2015-07-05 19:18:55 +01:00
Ricardo Santos
3378ec6a84 Add new property to LastTag 2015-07-05 19:17:55 +01:00
Piotr Wiewiura
23be035257 Implemented user.getTopArtists 2015-06-27 22:30:18 +02:00
Rikki Tooley
4cfac6a411 Add Tag API 2015-06-21 20:59:08 +01:00
Rikki Tooley
80c3308fd0 tag.getSimilar, tidying some tests 2015-06-21 19:58:04 +01:00
Rikki Tooley
3e991abc8a Add set accessor back to LastAsyncCommandBase, so Syro works again 2015-06-21 19:09:12 +01:00
Melvyn
2e3ab5bf79 removed the api methods names constant list, and used the custom attribute on each command as the source for the LastAsyncCommandBase.Method property instead. 2015-06-20 16:22:20 +02:00
Melvyn
3aa33663b5 add a unit test checking whether each Command has an ApiMethodNameAttribute. 2015-06-20 13:11:15 +02:00
Melvyn
a4520fb31e removed now useless "CreateCommand()" method, previously used to create an instance of each Command for the progress reporter. 2015-06-20 12:38:32 +02:00