Stardeos.js
Stardeos.js is a library in charge of interacting with Stardeos
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()