
D
Publisher
drarbego
Gopotify - Spotify Client
Tools
Spotify Audio Networking Music REST Client Integration Callback
This is a wrapper for the Spotify REST API
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
Gopotify - A spotify client for Godot Engine
Connect to Spotify
- Go to your Spotify Dashboard
- Click on create an app, now you'll be able to see your
Client Id
andClient Secret
- Click on
EDIT SETTINGS
- Add
http://localhost:{port}/callback
to theRedirect URIs
field, the default port is8889
- Click on
SAVE
Use the client
After installing the plugin you'll find a new node called Gopotify
- Add a
Gopotify
node to your scene - Select the
Gopotify
node and in the inspector paste theClient Id
andClient Secret
in their respective inputs underScript Variables
Implemented Functionality
Function | Description |
---|---|
play() | Resumes music reproduction in the current active device |
pause() | Pauses music reproduction in the current active device |
next() | Skips to next song |
previous() | Returns to previous song |
get_player_state() | Returns an object with the player state as a raw json |
Check the godottpd project for more on running an http server in godot