【文件属性】:
文件名称:embedly-lookup:只需在 embed.ly 上查找有关 URL 的信息
文件大小:6KB
文件格式:ZIP
更新时间:2021-07-14 19:16:21
JavaScript
嵌入查找
信息
包裹
嵌入查找
描述
只需在 embed.ly 上查找有关 URL 的信息
节点版本
>= 0.4
浏览器版本
IE6+
用法
安装
npm install embedly-lookup --save
例子
var lookup = require ( 'embedly-lookup' ) ;
var key = 'your embedly api key' ;
// works on songs and videos or whatever, but here is a song as a sample
lookup ( 'https://soundcloud.com/smallenginerepair/serve-yourself-1' , key , function ( err , song ) {
/*
song =
{
"p
【文件预览】:
embedly-lookup-master
----.jshintrc(444B)
----.npmignore(161B)
----.travis.yml(84B)
----LICENSE(1KB)
----test()
--------main.js(1KB)
----README.md(4KB)
----.editorconfig(165B)
----.gitignore(161B)
----index.js(444B)
----package.json(1KB)