1.1.1 • Published 2 years ago

stardeos.js v1.1.1

Weekly downloads
-
License
GNU General Publi...
Repository
-
Last release
2 years ago

Stardeos.js

Stardeos.js is a library in charge of interacting with Stardeos

Twitter

Snyk Vulnerabilities for npm package

npm bundle size

npm

npm

Installation

Use the npm

npm install stardeos.js

Usage

const stardeos = require("stardeos.js")

//Download videos
const file = await stardeos.downloadVideo("videoId/link")
console.log(file)

//Get User Data
const user = await stardeos.getUserData("username")
console.log(user)

//Get User Videos
const videos = await stardeos.getUserVideos("username")
console.log(videos)

//Get Video Comments
const comments = await stardeos.getVideoComments("videoId")
console.log(comments)

//Get Latest Videos
const videos = await stardeos.getLatestVideos()
console.log(videos)

//Get Trending Videos
const videos = await stardeos.getTrendingVideos()
console.log(videos)

//Search Videos
const videos = await stardeos.searchVideos("Dalas")
console.log(videos)

//Clear Cache
stardeos.clearCache()