Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 763 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 763 Bytes

Install

npm install @daudi/casteachingdani

Usage

import casteaching from 'casteaching'

// Obtain published video list
casteaching.videos()

// Obtain video by id
casteaching.video.show(1)

// Create Video
casteaching.video.create({name: 'One Video Testing', description: 'Hello There',  url: 'somewebvideopage.com' })

// Update Video
casteaching.video.update(1,{name: 'First Video Testing', description: 'Hello There Boys and Girls',  url: 'somewebvideopage.com' })

// Destroy Video
casteaching.video.destroy(1)

Author & Project Info