Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Python iGetMusic API used to get music Name, Artist, ImageURL usw.
See project on pypi.org.
See all country codes at Wikipedia
Use pip install iGetMusic
to install the package.
After that install requests pip install requests
Import package with import iGetMusic as iGet
This returns a list containing all the songs as objects:
song = iGet.get(term=songName, limit=50, country="GB", explicit=True)
Get song information:
song[x]
.getName() #Returns song name
.getArtistName() #Returns song author name
.getImage() #Returns image URL
.getCountry() #Returns song country
.getTrackViweUrl() #Returns song view URL
.streamable() #Returns true/false if song is streamable or not
.getCollectionName() #Returns song collection name
.getResizedImage(size) #Returns image URL resized based on size
.ids() #Returns song id's as list [trackId, collectionId, artistId]
.lenght() #Returns song lenght
.explicit() #Returns true/false if song is explicit or not
.searchForSongName(country="GB", limit=50, explicit=True) #Returns list with "limit" amount of songs based on song name as objects
.searchForArtist(country="GB", limit=50, explicit=True) #Returns list with "limit" amount of artists based on song author name as objects
This returns a list containing all the artists as objects:
artist = iGet.getArtist(term=artistName, limit=50, country="GB", explicit=True)
Get artist information:
artist[x]
.getName() #Returns artist name
.getArtistLinkUrl() #Returns artist link Url
.getArtistID() #Returns artist id
.getType() #Returns type "artist"
.getGenre() #Returns artist genre as list [primaryGenreName, primaryGenreId]
.searchForArtist(country="GB", limit=50, explicit=True) #Returns list with "limit" amount of artists based on artist name as objects
.getAllArtistSongs() #See get all songs from artist
songs, artist = iGetMusic.getAllArtistSongs(id) #list of Songs as objects + artist as object
iGet.resizeImage(imageURL, size) #Returns image URL resized based on size
This resizes the image by changing the imageURL (No quality loss).
FAQs
Search for music with the iTunes API
We found that iGetMusic demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.