0.0.5 • Published 3 years ago
wistia-ofalei v0.0.5
Wistia API Client
The API Client for the Wistia Data API written in TypeScript.
API Client provides access to the following Wistia Data API endpoints
Install
yarn add wistia-api@0.0.1
Usage
Import library
import {Client, Project, ResponseError} from "wistia-api";
Instantiate the API Client with your access token
let client = new Client("<token>")
Use the client to get information from the Wistia API
client.projectsList()
.then(function(projects: Project[]) {
console.log(projects)
})
.catch(function (error: ResponseError) {
console.log(error.message)
})
Testing
jest --coverage
Local Development
install nix
https://nixos.org/guides/install-nix.html
run nix-shell
from the root directory of the project
How to publish a new package version
TODO