node-hatena-fotolife-api:Hatena

时间:2021-05-17 00:14:39
【文件属性】:
文件名称:node-hatena-fotolife-api:Hatena
文件大小:83KB
文件格式:ZIP
更新时间:2021-05-17 00:14:39
TypeScript hatena-fotolife-api 适用于Node.js的Hatena :: Fotolife API包装器(非官方) 安装 npm install hatena-fotolife-api 用法 参见 。 import fotolife from 'hatena-fotolife-api' ; const client = fotolife ( { type : 'wsse' , username : 'username' , apikey : 'apikey' } ) ; const options = { title : 'bouzuya\'s icon' , file : './bouzuya.png' } ; client . create ( options ) . then ( ( ) => { console . log ( 'uploaded' ) ; }
【文件预览】:
node-hatena-fotolife-api-master
----.gitignore(73B)
----package.json(3KB)
----package-lock.json(296KB)
----src()
--------fotolife.ts(8KB)
--------index.ts(180B)
----.travis.yml(93B)
----LICENSE(1KB)
----tsconfig.json(713B)
----examples()
--------all.js(4KB)
--------create-promise.js(424B)
--------create.js(437B)
--------create-with-options.js(509B)
--------bouzuya.png(3KB)
--------create-oauth.js(540B)
----README.md(2KB)
----test()
--------fotolife.ts(6KB)
--------index.ts(184B)
--------bouzuya.png(3KB)

网友评论