mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 14:46:26 +00:00
Built mkdocs | Travis Build 16
This commit is contained in:
parent
8a5bf6b6bc
commit
a7d8f1e0c9
@ -107,6 +107,10 @@
|
||||
<a href="../SpotifyWebAPI/tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../SpotifyWebAPI/util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@ -130,7 +134,7 @@
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
<li >
|
||||
<a rel="next" href="../SpotifyWebAPI/tracks/">
|
||||
<a rel="next" href="../SpotifyWebAPI/util/">
|
||||
<i class="fa fa-arrow-left"></i> Previous
|
||||
</a>
|
||||
</li>
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@ -203,7 +207,7 @@
|
||||
<tr>
|
||||
<td>ids or id</td>
|
||||
<td>A list of the artist or the user Spotify IDs or just a Spotify ID</td>
|
||||
<td><code>new List<String> { "1KpCi9BOfviCVhmpI4G2sY" }</code> or <code>"1KpCi9BOfviCVhmpI4G2sY"</code></td>
|
||||
<td><code>new List<String> { "1KpCi9BOfviCVhmpI4G2sY" }</code>or <code>"1KpCi9BOfviCVhmpI4G2sY"</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -238,7 +242,7 @@ ErrorResponse response = _spotify.Follow(FollowType.User, "1122095781"
|
||||
<tr>
|
||||
<td>ids or id</td>
|
||||
<td>A list of the artist or the user Spotify IDs or just a Spotify ID</td>
|
||||
<td><code>new List<String> { "1KpCi9BOfviCVhmpI4G2sY" }</code> or <code>"1KpCi9BOfviCVhmpI4G2sY"</code></td>
|
||||
<td><code>new List<String> { "1KpCi9BOfviCVhmpI4G2sY" }</code>or <code>"1KpCi9BOfviCVhmpI4G2sY"</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -273,7 +277,7 @@ ErrorResponse response = _spotify.Unfollow(FollowType.User, "1122095781&quo
|
||||
<tr>
|
||||
<td>ids or id</td>
|
||||
<td>A list of the artist or the user Spotify IDs or just a Spotify ID</td>
|
||||
<td><code>new List<String> { "1KpCi9BOfviCVhmpI4G2sY" }</code> or <code>"1KpCi9BOfviCVhmpI4G2sY"</code></td>
|
||||
<td><code>new List<String> { "1KpCi9BOfviCVhmpI4G2sY" }</code>or <code>"1KpCi9BOfviCVhmpI4G2sY"</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -388,7 +392,7 @@ if(!response.HasError())
|
||||
<tr>
|
||||
<td>ids or id</td>
|
||||
<td>A list of the artist or the user Spotify IDs or just a Spotify ID</td>
|
||||
<td><code>new List<String> { "1KpCi9BOfviCVhmpI4G2sY" }</code> or <code>"1KpCi9BOfviCVhmpI4G2sY"</code></td>
|
||||
<td><code>new List<String> { "1KpCi9BOfviCVhmpI4G2sY" }</code>or <code>"1KpCi9BOfviCVhmpI4G2sY"</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@ -168,6 +172,8 @@
|
||||
|
||||
<li><a href="#error-handling">Error-Handling</a></li>
|
||||
|
||||
<li><a href="#asynchronous">Asynchronous</a></li>
|
||||
|
||||
<li><a href="#api-reference">API-Reference</a></li>
|
||||
|
||||
|
||||
@ -223,6 +229,16 @@ if (profile.HasError())
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<h2 id="asynchronous">Asynchronous</h2>
|
||||
<p>Every API-Call now has an asynchronous method. Just append <code>Async</code> to the Method-Name.<br />
|
||||
Example:</p>
|
||||
<pre><code class="cs">public async void Test()
|
||||
{
|
||||
var profile = await _spotify.GetPrivateProfileAsync();
|
||||
Console.WriteLine(profile.DisplayName);
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<hr />
|
||||
<h2 id="api-reference">API-Reference</h2>
|
||||
<h3 id="albums">Albums</h3>
|
||||
@ -291,6 +307,10 @@ if (profile.HasError())
|
||||
<ul>
|
||||
<li><a href="../../SpotifyWebAPI/tracks#getseveraltracks">GetSeveralTracks</a></li>
|
||||
<li><a href="../../SpotifyWebAPI/tracks#gettrack">GetTrack</a></li>
|
||||
</ul>
|
||||
<h3 id="util">Util</h3>
|
||||
<ul>
|
||||
<li><a href="../../SpotifyWebAPI/util">Utility-Functions</a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
@ -107,6 +107,10 @@
|
||||
<a href="./">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@ -135,7 +139,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<li >
|
||||
<a rel="prev" href="../../SpotifyLocalAPI/">
|
||||
<a rel="prev" href="../util/">
|
||||
Next <i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
195
SpotifyWebAPI/util/index.html
Normal file
195
SpotifyWebAPI/util/index.html
Normal file
@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<meta name="author" content="JohnnyCrazy">
|
||||
|
||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||
|
||||
<title>- Util - SpotifyAPI-NET</title>
|
||||
|
||||
<link href="../../css/bootstrap-custom.min.css" rel="stylesheet">
|
||||
<link href="../../css/font-awesome-4.0.3.css" rel="stylesheet">
|
||||
<link href="../../css/prettify-1.0.css" rel="stylesheet">
|
||||
<link href="../../css/base.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/styles/agate.min.css">
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
|
||||
<!-- Collapsed navigation -->
|
||||
<div class="navbar-header">
|
||||
<!-- Expander button -->
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
|
||||
<!-- Main title -->
|
||||
<a class="navbar-brand" href="../..">SpotifyAPI-NET</a>
|
||||
</div>
|
||||
|
||||
<!-- Expanded navigation -->
|
||||
<div class="navbar-collapse collapse">
|
||||
<!-- Main navigation -->
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
|
||||
<li >
|
||||
<a href="../..">Home</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="dropdown active">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">SpotifyWebAPI <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
|
||||
<li >
|
||||
<a href="../gettingstarted/">Getting started</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../examples/">Examples</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../auth/">Authentication</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../albums/">- Albums</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../artists/">- Artists</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../browse/">- Browse</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../follow/">- Follow</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../library/">- Library</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../playlists/">- Playlists</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../profiles/">- Profiles</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../search/">- Search</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="../tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li class="active">
|
||||
<a href="./">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">SpotifyLocalAPI <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
|
||||
<li >
|
||||
<a href="../../SpotifyLocalAPI/">SpotifyLocalAPI</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- Search, Navigation and Repo links -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
<li >
|
||||
<a rel="next" href="../tracks/">
|
||||
<i class="fa fa-arrow-left"></i> Previous
|
||||
</a>
|
||||
</li>
|
||||
<li >
|
||||
<a rel="prev" href="../../SpotifyLocalAPI/">
|
||||
Next <i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="https://github.com/JohnnyCrazy/SpotifyAPI-NET">
|
||||
|
||||
<i class="fa fa-github"></i>
|
||||
|
||||
GitHub
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="col-md-3"><div class="bs-sidebar hidden-print affix well" role="complementary" style="height=90%;">
|
||||
<ul class="nav bs-sidenav">
|
||||
|
||||
<li class="main active"><a href="#paging-methods">Paging-Methods</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div></div>
|
||||
<div class="col-md-9" role="main">
|
||||
|
||||
<h2 id="paging-methods">Paging-Methods</h2>
|
||||
<p>The <code>SpotifyWebAPI</code> features two paging-helper Methods, <code>GetNextPage()</code> and <code>GetPreviousPage()</code>.
|
||||
Both are an easy way to receive the next/previous page of a Paging-Object.</p>
|
||||
<p>Sample:</p>
|
||||
<pre><code class="csharp">var playlistTracks = _spotify.GetPlaylistTracks("1122095781", "4EcNf2l8rXInbJOf3tQdgU", "", 50);
|
||||
while (true)
|
||||
{
|
||||
Console.WriteLine(playlistTracks.Items.Count);
|
||||
if (!playlistTracks.HasNextPage())
|
||||
break;
|
||||
playlistTracks = _spotify.GetNextPage(playlistTracks);
|
||||
}
|
||||
</code></pre></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
|
||||
<script src="../../js/bootstrap-3.0.3.min.js"></script>
|
||||
<script src="../../js/base.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
|
||||
<script src="../../highlight.js"></script>
|
||||
</body>
|
||||
</html>
|
@ -107,6 +107,10 @@
|
||||
<a href="SpotifyWebAPI/tracks/">- Tracks</a>
|
||||
</li>
|
||||
|
||||
<li >
|
||||
<a href="SpotifyWebAPI/util/">- Util</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
34
sitemap.xml
34
sitemap.xml
@ -4,7 +4,7 @@
|
||||
|
||||
<url>
|
||||
<loc>None/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
@ -13,73 +13,79 @@
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/gettingstarted/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/examples/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/auth/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/albums/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/artists/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/browse/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/follow/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/library/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/playlists/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/profiles/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/search/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/tracks/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyWebAPI/util/</loc>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
@ -89,7 +95,7 @@
|
||||
|
||||
<url>
|
||||
<loc>None/SpotifyLocalAPI/</loc>
|
||||
<lastmod>2015-07-26</lastmod>
|
||||
<lastmod>2015-11-07</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user