stardeos.js

1.1.1 • Public • Published

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()

Package Sidebar

Install

npm i stardeos.js

Weekly Downloads

1

Version

1.1.1

License

GNU General Public License v3.0

Unpacked Size

9.53 kB

Total Files

10

Last publish

Collaborators

  • mdc_yt