An open API service indexing awesome lists of open source software.

https://github.com/charlypoly/spotifytastes

SpotifyTastes
https://github.com/charlypoly/spotifytastes

spotify typescript webapp

Last synced: 5 months ago
JSON representation

SpotifyTastes

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[]
```