spotify-jam is a package that allows you to manage Spotify Jams
Project description
Spotify-Jam
A package to manage Spotify Jams!
Installation
pip install spotify-jam
Quick Start
Make sure to get your auth token. It seems to expire every so often but i got my mine by going to the Spotify web player and opening inspect element, going to the networking, making a request like playing a song, and then grabbing the "Authorization" value from a header.
import spotify_jam
import time
auth = "BEARER PERSONAL_TOKEN_HERE"
inviteURI, sessionId = spotify_jam.startJam(auth)
spotify_jam.allowJamUsersControlQueue(False)
toKickId = ""
for member in spotify_jam.getJamData(auth, sessionId)["session_members"]:
toKickId = member["id"]
spotify_jam.kickJamUser(auth, sessionId, toKickId)
time.sleep(2)
spotify_jam.endJam(auth, sessionId)
Version
- v.0.2 (August 2, 2025): Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spotify_jam-0.2-py3-none-any.whl.
File metadata
- Download URL: spotify_jam-0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
395a3c9ee6202231f5115c34b8f58d0e2bfd22a3d60fd1c132ebb10007c4b8b6
|
|
| MD5 |
8fb72131b5316ef9f1856be359e08bb8
|
|
| BLAKE2b-256 |
4b4b78975fea450a0eec1a2f73f9b38f21d1debc3e39571ed5d6c5883529cb2c
|