@teamexos/wistia-api
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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 @teamexos/wistia-api

Usage

Import library

import {Client, Project, ResponseError} from "@teamexos/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

Create a github tag with a name corresponding to the new package version (e.g. 1.2.3) from package.json. The package will be published to the npm registry using github actions.

Readme

Keywords

none

Package Sidebar

Install

npm i @teamexos/wistia-api

Weekly Downloads

7

Version

0.0.3

License

Unlicense

Unpacked Size

18.2 kB

Total Files

8

Last publish

Collaborators

  • kathleenyanolatos
  • belie
  • robosung