
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
@raw2dd4/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
getSongs([ids])
Get songs by id
Returns
getSongWithIsrc(isrc)
Get an specific song by isrc
Returns
getAlbum(id)
Get an specific album by id
Returns
getPlaylist(id)
Get an specific Catalog Playlist 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
getUserPlaylist(id) (Apple Music Subscription Required)
Get a Playlist 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
We found that @raw2dd4/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 1 open source maintainer 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.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.