6/30/2023 0 Comments Download bensounds![]() ![]() Returns a dictionary containing all properties for a song useful when uploading song properties to a database or json file.Ĭreates a streaming BytesIO object that can be used by an application for media playback.Ĭreates an in-memory image object from the image url stored in the url_image.ĭownload the MP3 file from the URL stored in the url_mp3 property. The url of the artwork used for the wong on url_purchase : strĪ url link for purchasing the song from date_requested : strĪ string formatted date that shows the date of the request for data. The homepage of the song on url_image : str Indicates whether the song is available for purchase.Ī summary of the license information, if available. Indicates whether the song is free to download. Song : classĪ container for the royalty free music extracted from Attributes Does NOT download the MP3 files.Įxtract song data for all songs in a specified channel, or returns all songs if no channel is provided. ![]() Call the get_song_list() method if you want to see what your options are.Įxtracts all available channels with a corresponding url.Įxtracts all available music data from and updates the class attributes channels, channel_playlist, and music_lists. ![]() Retrieve a song object by finding the first song with the title matching song_title. Retrieve a song object by index the index corresponds to the title index in the music_list, which you can also see by calling get_song_list(). If no channel is provided, then all channels will be printed with their corresponding playlist. Print a list of songs for a specified channel. MethodsĪ convience method to print a list of available channels.Ī convenience method to print a list of available song titles. AttributesĬontains all available channels and corresponding urls.Ĭontains all available channels and a list of songs tagged to each channel.Ī tuple containing two lists the first is a list of songs, and the second contains the song objects in the same order. Download links are provided, and if the license is not FREE, a download link is provided as a song attribute. The main constructor for accessing the data from This API contains several methods which are useful for listening to, downloading, or purchasing music on the website. A Python API for accessing the music, metadata, and associated images from See the Getting Started notebook for some basic usage examples. ![]()
0 Comments
Leave a Reply. |