@jijidown/query
v1.0.3
Published
JiJiDown Web APIs Client
Downloads
2
Readme
jijiquery
JiJiDown Web API Client for TypeScript
Example
import { create } from '@jijidown/query'
const client = await create(`<YOUR ENDPOINT>`)
console.log(
await client.user().getInfo()
)
const video = await client.video().getVideoInfo('BV1984y1F7Bv')
for await (const quality of video.getQuality()) {
for (const qualityItem of quality) {
console.log(qualityItem)
}
}