adding spotify api interaction
This commit is contained in:
21
backend/handlers/handle_spotify.go
Normal file
21
backend/handlers/handle_spotify.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func (store *Store) ListeningTo(c *gin.Context) {
|
||||
|
||||
// Communicate with spotify API
|
||||
// Return if I'm listening to a song
|
||||
return
|
||||
}
|
||||
|
||||
func (store *Store) SendSong(c *gin.Context) {
|
||||
|
||||
// Communicate with spotify API
|
||||
// Play song on spotify
|
||||
// Disallow new song for duration of song
|
||||
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user