-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added instructions for ApplicationKeys.cs. Resolves #419.
- Loading branch information
David Rudie
committed
Oct 7, 2022
1 parent
6944341
commit e83751c
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
To build Snip you'll need to create your own ApplicationKeys.cs file. | ||
|
||
The contents of the file should be as follows. | ||
|
||
``` | ||
namespace Winter | ||
{ | ||
public static class ApplicationKeys | ||
{ | ||
public static string SpotifyClientId = ""; | ||
public static string SpotifyClientSecret = ""; | ||
public static string Spotify = Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Format("{0}:{1}", SpotifyClientId, SpotifyClientSecret))); | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
SNIP | ||
==== | ||
Copyright 2012-2021 David Rudie <[email protected]>\ | ||
Copyright 2012-2022 David Rudie <[email protected]>\ | ||
Project Page: [Snip](https://github.com/dlrudie/Snip) | ||
|
||
ABOUT | ||
|