Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
radio4000-sdk
Advanced tools
> Helpers to fetch data via REST API from the Radio4000 Firebase database
Helpers to fetch data via REST API from the Radio4000 Firebase database
Here are the methods you can use. All return a promise.
findChannels(amount) // amount is optional
findChannel(id)
findChannelBySlug(channelSlug)
findTrack(id)
findTracksByChannel(channelId)
createBackup(channelSlug)
Note: the
findChannelImage(channelObject)
method was removed in 0.1.0
import
or require
Install the module:
yarn add radio4000-sdk
Then, import the methods you need:
// ES Modules
import { findChannel, findChannelBySlug } from 'radio4000-sdk'
// Node.js/CommonJS
const { findChannel, findTracks } = require('radio4000-sdk')
<script>
For browsers you can do this. It will add a radio4000Sdk
global.
<script src="radio4000-sdk.js"></script>
<!-- or with a CDN
<script src="https://unpkg.com/radio4000-sdk"></script>
<script src="https://cdn.jsdelivr.net/npm/radio4000-sdk"></script>
-->
<script>
radio4000Sdk.findChannelBySlug('detecteve')
.then(channel => {console.log(channel.title)})
</script>
Clone the repo, yarn
and yarn test
. There is no start because this is a library.
To release a new version, run yarn release
. Run yarn release --help
for more information.
FAQs
> Helpers to fetch data via REST API from the Radio4000 Firebase database
The npm package radio4000-sdk receives a total of 0 weekly downloads. As such, radio4000-sdk popularity was classified as not popular.
We found that radio4000-sdk 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.