Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ekwoka/spotify-api

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ekwoka/spotify-api - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

dist/endpoints/albums/newReleases.d.ts

1

dist/endpoints/albums/index.d.ts

@@ -7,2 +7,3 @@ export { albumIsSaved } from './albumIsSaved';

export { getSavedAlbums } from './getSavedAlbums';
export { newReleases } from './newReleases';
export { removeAlbums } from './removeAlbums';

@@ -9,0 +10,0 @@ export { saveAlbums } from './saveAlbums';

@@ -7,3 +7,4 @@ export { albumIsSaved } from './albumIsSaved';

export { getSavedAlbums } from './getSavedAlbums';
export { newReleases } from './newReleases';
export { removeAlbums } from './removeAlbums';
export { saveAlbums } from './saveAlbums';

@@ -7,2 +7,3 @@ export { albumIsSaved } from './albums/albumIsSaved';

export { getSavedAlbums } from './albums/getSavedAlbums';
export { newReleases } from './albums/newReleases';
export { removeAlbums } from './albums/removeAlbums';

@@ -9,0 +10,0 @@ export { saveAlbums } from './albums/saveAlbums';

@@ -7,2 +7,3 @@ export { albumIsSaved } from './albums/albumIsSaved';

export { getSavedAlbums } from './albums/getSavedAlbums';
export { newReleases } from './albums/newReleases';
export { removeAlbums } from './albums/removeAlbums';

@@ -9,0 +10,0 @@ export { saveAlbums } from './albums/saveAlbums';

2

dist/index.d.ts

@@ -5,3 +5,3 @@ export { fetchOptions, makeAuthURL, refreshToken, tokensFromCode, } from './auth';

export { spotifyApiClient } from './core/spotifyApiClient';
export { getCurrentUser, getTopItems, getUserProfile, getAlbum, getAlbums, getAlbumTracks, getSavedAlbums, albumIsSaved, saveAlbums, removeAlbums, } from './endpoints';
export { getCurrentUser, getTopItems, getUserProfile, getAlbum, getAlbums, getAlbumTracks, getSavedAlbums, albumIsSaved, saveAlbums, removeAlbums, newReleases, } from './endpoints';
export { spotifyFetch } from './utils/spotifyFetch';

@@ -8,0 +8,0 @@ export type { RefreshedToken } from './auth';

@@ -5,3 +5,3 @@ export { fetchOptions, makeAuthURL, refreshToken, tokensFromCode, } from './auth';

export { spotifyApiClient } from './core/spotifyApiClient';
export { getCurrentUser, getTopItems, getUserProfile, getAlbum, getAlbums, getAlbumTracks, getSavedAlbums, albumIsSaved, saveAlbums, removeAlbums, } from './endpoints';
export { getCurrentUser, getTopItems, getUserProfile, getAlbum, getAlbums, getAlbumTracks, getSavedAlbums, albumIsSaved, saveAlbums, removeAlbums, newReleases, } from './endpoints';
export { spotifyFetch } from './utils/spotifyFetch';

@@ -12,3 +12,3 @@ {

"license": "MIT",
"version": "0.2.0",
"version": "0.3.0",
"description": "Composable Wrapper for the Spotify Web Api and Spotify Web Playback SDK",

@@ -15,0 +15,0 @@ "keywords": [

@@ -140,2 +140,5 @@ # ⚡️A tree-shakable, composable, lightweight wrapper for the multiple Spotify APIs🔥

- `newReleases` - Retrieves a paginated result of new releases
#### getAlbum

@@ -213,2 +216,20 @@

#### newReleases
Gets new Album releases, optionally scoped to a specific country
```js
const newReleases = client(newReleases())
const releasesWithOptions = client(newReleases({
country: 'KR',
limit: 50,
offset: 0
}))
```
Options:
- `limit`: The number of items to return. Default: `20`. Maximum: `50`.
- `offset`: The index of the first item to return. Default: `0`.
- `country`: Country code of results to return.
### Users

@@ -215,0 +236,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc