File: const.py

package info (click to toggle)
spotifyaio 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,928 kB
  • sloc: python: 3,858; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Constants for tests."""

from importlib import metadata

SPOTIFY_URL = "https://api.spotify.com"

version = metadata.version("spotifyaio")

HEADERS = {
    "User-Agent": f"AioSpotify/{version}",
    "Accept": "application/json, text/plain, */*",
    "Authorization": "Bearer test",
}