![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
nocopyrightsounds-api
Advanced tools
A webscraper for the NoCopyrightSounds website to provide an API
This is a webscraper designed to provide api like access to the NCS website.
getMusic(page)
=> getSongs(page)
songUrl
=> previewUrl
imageUrl
=> coverUrl
//module (recommended)
import ncs from 'nocopyrightsounds-api'
//CommonJS
const ncs = require('nocopyrightsounds-api')
Don't forget to set esModuleInterop
to true
Top level await is only available with es modules in NodeJS.
import ncs from 'nocopyrightsounds-api'
const songs = await ncs.getSongs(/* page here */)
// use the songs here
console.log(songs)
import ncs from 'nocopyrightsounds-api'
const results = await ncs.search(
{
// filter
genre: ncs.Genre.House
}
/* page here */
)
// use the results here
console.log(results)
import ncs from 'nocopyrightsounds-api'
const artistInfo = await ncs.getArtistInfo(/* artist url here (/artist/760/srikar) */)
// use the artistinfo info here
console.log(artistInfo)
import ncs from 'nocopyrightsounds-api'
import axios from 'axios'
import fs from 'fs/promises'
// getting the newest 20 songs (20 songs = 1 page)
const songs = await ncs.getSongs()
const newestSong = songs[0]
const audioUrl = newestSong.download.regular
if (!audioUrl) throw "This Song doesn't have a regular (non instrumental) version!"
// downloading audio
const { data: audioFile } = await axios.get(audioUrl, {
responseType: 'arraybuffer'
})
await fs.writeFile(`${newestSong.name}.mp3`, audioFile)
FAQs
A webscraper for the NoCopyrightSounds website to provide an API
The npm package nocopyrightsounds-api receives a total of 0 weekly downloads. As such, nocopyrightsounds-api popularity was classified as not popular.
We found that nocopyrightsounds-api 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.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.