
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@bouncyapp/react-native-apple-music
Advanced tools
React Native Apple Music by Bouncy
The Apple Music API is a web service that lets you access information about the media found in the Apple Music Catalog. Here's what each one includes:
Use this service to retrieve information about albums, songs, artists, playlists, music videos, Apple Music stations, ratings, charts, recommendations, and the user's most recently played content. With proper authorization from the user, you can also create or modify playlists and apply ratings to the user's content.
Here's a quick overview of functionalities supported:
npm install @bouncyapp/react-native-apple-music --save
or
yarn add @bouncyapp/react-native-apple-music
react-native link @bouncyapp/react-native-apple-music --platforms ios
cd ios && pod install && cd ..
import AppleMusic from '@bouncyapp/react-native-apple-music';
All functions returning a Promise that resolves to the result.
initialize( keyID, teamID, key )
Initializes the Apple Music module and resumes a logged in session if there is one. This must be the first method you call when using this module.
Parameters
Returns
login_basic()
Login every Apple User with your Key. User can call non-personlised api calls like getCharts etc.
Returns
login() (Apple Music Subscription Required)
Login user with Apple Music Subscription
Returns
getICloudID()
Get the iCloud ID of my Apple Account
Returns
getSongCharts()
Get the current Apple Music Charts
Returns
getAlbumCharts()
Get the current Apple Music Album Charts
Returns
searchSong(query)
Search for Songs at Apple Music
Returns
searchAlbum(query)
Search for Albums at Apple Music
Returns
searchArtist(query)
Search for Artists at Apple Music
Returns
searchPlaylist(query)
Search for Playlists at Apple Music
Returns
getSong(id)
Get an specific song by id
Returns
getSongWithIsrc(isrc)
Get an specific song by isrc
Returns
getAlbum(id)
Get an specific album by id
Returns
getArtist(id)
Get an specific artist by id
Returns
getUserPlaylists() (Apple Music Subscription Required)
Get the Playlists of my Apple Music Account
Returns
recentPlayed() (Apple Music Subscription Required)
Get the recently played songs, albums, artists of my Apple Music Account
Returns
getHeavyRotation() (Apple Music Subscription Required)
Heavy Rotation is a collection of albums and playlists selected based on your iPhone listening habits.
Returns
getRecommendations() (Apple Music Subscription Required)
Get songs, albums, artists recommendations of my Apple Music Account
Returns
addToPlaylist(playlistId, songId) (Apple Music Subscription Required)
Add the song to the playlist in my Apple Music Account
Returns
Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.
Thanks! ❤️
FAQs
A react native module for the Apple Music API
The npm package @bouncyapp/react-native-apple-music receives a total of 18 weekly downloads. As such, @bouncyapp/react-native-apple-music popularity was classified as not popular.
We found that @bouncyapp/react-native-apple-music demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.