mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-24 14:02:13 +08:00
Some checks failed
Crowdin Action / Crowdin Sync (push) Has been cancelled
Docker CI / Linting Checks (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled
Repository Maintenance / Stale (push) Has been cancelled
Repository Maintenance / Lock Old Threads (push) Has been cancelled
Repository Maintenance / Close Answered Discussions (push) Has been cancelled
Repository Maintenance / Close Outdated Discussions (push) Has been cancelled
Repository Maintenance / Close Unsupported Feature Requests (push) Has been cancelled
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
29 lines
819 B
Markdown
29 lines
819 B
Markdown
---
|
|
title: Your Spotify
|
|
description: Your Spotify Widget Configuration
|
|
---
|
|
|
|
Learn more about [Your Spotify](https://github.com/Yooooomi/your_spotify).
|
|
|
|
Find your API key under `Settings > Account > Public token`, click `Generate` if not yet generated, copy key after
|
|
`?token=`.
|
|
|
|
Allowed fields: `["songs", "time", "artists"]`.
|
|
|
|
```yaml
|
|
widget:
|
|
type: yourspotify
|
|
url: http://your-spotify-server.host.or.ip # if using lsio image, add /api/
|
|
key: apikeyapikeyapikeyapikeyapikey
|
|
interval: month # optional, defaults to week
|
|
```
|
|
|
|
#### Interval
|
|
|
|
Allowed values for `interval`: `day`, `week`, `month`, `year`, `all`.
|
|
|
|
!!! note
|
|
|
|
`interval` is different from predefined intervals you see in `Your Spotify`'s UI.
|
|
For example, `This week` in UI means _from the start of this week_, here `week` means _past 7 days_.
|