mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
22 lines
433 B
C#
22 lines
433 B
C#
|
using System;
|
||
|
using System.Threading.Tasks;
|
||
|
using NUnit.Framework;
|
||
|
|
||
|
namespace SpotifyAPI.Web.Tests
|
||
|
{
|
||
|
[TestFixture]
|
||
|
public class Test
|
||
|
{
|
||
|
[Test]
|
||
|
public async Task Testing()
|
||
|
{
|
||
|
var token = "";
|
||
|
|
||
|
var spotify = new SpotifyClient(token);
|
||
|
|
||
|
var categories = await spotify.Browse.GetCategories();
|
||
|
var playlists = await spotify.Browse.GetCategoryPlaylists(categories.Categories.Items[0].Id);
|
||
|
}
|
||
|
}
|
||
|
}
|