File tree 4 files changed +43
-0
lines changed
4 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,21 @@ _spotify = new SpotifyLocalAPI(new SpotifyLocalAPIConfig
52
52
});
53
53
```
54
54
55
+ ## Proxy Settings
56
+
57
+ You can forward your proxy settings to the local api by using a field in the ` SpotifyLocalAPIConfig ` .
58
+
59
+ ``` cs
60
+ _spotify = new SpotifyLocalAPI (new SpotifyLocalAPIConfig
61
+ {
62
+ ProxyConfig = new ProxyConfig () {
63
+ Host = " 127.0.0.1" ,
64
+ Port = 8080
65
+ // Additional values like Username and Password are available
66
+ }
67
+ });
68
+ ```
69
+
55
70
## Anti-Virus Blocking Response
56
71
57
72
Some Anti-Virus Software blocks the response from spotify due wrong headers.
Original file line number Diff line number Diff line change
1
+ ## Proxy Settings
2
+
3
+ You can forward your proxy settings to the web api by using a field in the ` SpotifyLocalAPIConfig ` .
4
+
5
+ ``` cs
6
+ ProxyConfig proxyConfig = new ProxyConfig ()
7
+ {
8
+ Host = " 127.0.0.1" ,
9
+ Port = 8080
10
+ // Additional values like Username and Password are available
11
+ };
12
+
13
+ SpotifyWebAPI api = new SpotifyWebAPI (proxyConfig );
14
+ // or
15
+ WebAPIFactory webApiFactory = new WebAPIFactory (.. ., proxyConfig );
16
+ SpotifyWebAPI api = await webApiFactory .GetWebApi ();
17
+
18
+ ```
Original file line number Diff line number Diff line change 1
1
# SpotifyAPI-NET Documentation
2
2
3
3
##About
4
+
4
5
This Library, written in C#/.NET, combines two independent SpotifyAPIs into one.
5
6
6
7
** Spotify's Web API** ([ link] ( https://developer.spotify.com/web-api/ ) )
@@ -16,6 +17,7 @@ Both combined can be used for any kind of application.
16
17
---
17
18
18
19
##Installing
20
+
19
21
* Via NuGet Package:
20
22
``` cs
21
23
Install - Package SpotifyAPI - NET
@@ -28,6 +30,13 @@ Install-Package SpotifyAPI-NET -pre
28
30
---
29
31
30
32
##Projects
33
+
31
34
###[ Spofy] ( https://github.com/eltoncezar/Spofy ) by [ @eltoncezar ] ( https://github.com/eltoncezar )
32
35
33
36
> A Spotify mini player and notifier for Windows
37
+
38
+ ###[ Toastify] ( https://github.com/aleab/toastify ) by [ @aleab ] ( https://github.com/aleab )
39
+
40
+ > Toastify adds global hotkeys and toast notifications to Spotify
41
+ >
42
+ > * Forked from [ nachmore/toastify] ( https://github.com/nachmore/toastify ) *
Original file line number Diff line number Diff line change 6
6
- ' Getting started ' : ' SpotifyWebAPI/gettingstarted.md'
7
7
- ' Examples ' : ' SpotifyWebAPI/examples.md'
8
8
- ' Authentication ' : ' SpotifyWebAPI/auth.md'
9
+ - ' Proxy ' : ' SpotifyWebAPI/proxy.md'
9
10
- ' - Albums ' : ' SpotifyWebAPI/albums.md'
10
11
- ' - Artists ' : ' SpotifyWebAPI/artists.md'
11
12
- ' - Browse ' : ' SpotifyWebAPI/browse.md'
You can’t perform that action at this time.
0 commit comments