https://github.com/charlypoly/spotifytastes
SpotifyTastes
https://github.com/charlypoly/spotifytastes
spotify typescript webapp
Last synced: 5 months ago
JSON representation
SpotifyTastes
- Host: GitHub
- URL: https://github.com/charlypoly/spotifytastes
- Owner: charlypoly
- License: mit
- Created: 2017-04-13T11:40:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T11:44:07.000Z (about 9 years ago)
- Last Synced: 2025-03-30T11:02:37.577Z (about 1 year ago)
- Topics: spotify, typescript, webapp
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SpotifyTastes
### Types
```typescript
interface UserProfile {
id: string
pseudo: string
tracks: SpotifyCollector.WeightedTracks | Set
}
type pseudo = string;
```
See [SpotifyCollector types](https://github.com/thefrenchhouse/SpotifyCollector)
### Services
```typescript
commonGenres(UserProfile[], limit=5): {[genre:string]: pseudo[]}
commonArtists(UserProfile[], limit=5): {[artistName:string]: pseudo[]}
bestGenres(UserProfile[], limit=5): string[]
bestArtists(UserProfile[], limit=5): string[]
```