【文件属性】:
文件名称:somastation:SomaFM广播电台的播放列表流
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-11 14:46:01
JavaScript
躯体
可读流,它连续发出有关特定SomaFM广播电台当前正在播放的内容的新元数据。
如果您想实时使用SomaFM上正在播放的内容的元数据,请访问 。
用法
流= somastation(stationId [,选项])
stationId
// http://somafm.com/groovesalad/
// stationId = ^^^^^^^^^^^
选项
pollInterval (整数;可选;默认值:30000) :轮询间隔(以毫秒为单位)
例子
var through2 = require ( 'through2' ) ;
var somastation = require ( 'somastation' ) ;
var groovesalad = somastation ( 'groovesalad' , {
pollInterval : 300
【文件预览】:
somastation-master
----LICENSE(1KB)
----README.md(2KB)
----.editorconfig(356B)
----.gitignore(13B)
----index.js(3KB)
----package.json(687B)