-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from zembrodt/develop
Rename app to Showtunes API
- Loading branch information
Showing
10 changed files
with
46 additions
and
35 deletions.
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 |
---|---|---|
@@ -1,5 +1,14 @@ | ||
# Music Display API | ||
# Showtunes API | ||
|
||
Go server used by the Music Display app to make API requests where a client secret is needed. | ||
Go server used by the Showtunes app to make API requests where a client secret is needed. | ||
|
||
Server is deployed to https://music-display-api.herokuapp.com/ for development purposes. | ||
## Requests | ||
* */v1/auth/tokens* (**POST**): Retrieve a Spotify auth token | ||
* Expects *code* and *redirect_uri* | ||
* Returns a new auth token | ||
* */v1/auth/tokens* (**PUT**): Refresh a Spotify auth token | ||
* Expects refresh token as *code* | ||
* Returns an updated auth token | ||
* */v1/color* (**GET**): Retrieve the dominant color of a given album's cover art | ||
* Expects *url* - must be to an image hosted by Spotify (*i.scdn.co*) | ||
* Returns the dominant color in hex |
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
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
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
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
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
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,4 +1,4 @@ | ||
module github.com/zembrodt/music-display-api | ||
module github.com/zembrodt/showtunes-api | ||
|
||
go 1.16 | ||
|
||
|
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,7 +1,7 @@ | ||
package musicapi | ||
package showtunes | ||
|
||
const ( | ||
Name = "Music Display API" | ||
Version = "0.1.1" | ||
APIRoot = "/api" | ||
Name = "Showtunes API" | ||
Version = "1.0.0" | ||
APIRoot = "/v1" | ||
) |
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
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