1.3.8 • Published 2 years ago

frameio-api-typescript v1.3.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

frameio-api-typescript

codecov npm version

This is the unofficial Node.js library to access the Frame.io API.

Notice

This library should be considered as Work In Progress. There is no official frameio-api library, so I "created" this one that is more convenient to use thanks to typings and promises. "Created", because this is shamelessly ripped from @piotrekwitkowski's quip-api-typescript 😃

Installation

npm i frameio-api-typescript

Usage

For now, the library supports only access token auth (no OAuth).

import { FrameIOClient } from "frameio-api-typescript";

const ACCESS_TOKEN = "your-access-token";
const client = new FrameIOClient(ACCESS_TOKEN);

// use like this
client.assets
  .getAsset({ asset_id: "" })
  .then((response) => doSomething(response));

// or this
client.accounts
  .getAccount({ account_id: "eefb57e0-79f2-4bc7-9b70-99fbc175175c" })
  .then((response) => doSomething(response));

Documentation

More methods, request and response types can be found in the documentation.

Official Frame.io API Docs

Contributing

PRs are welcome! Please feel encouraged to star this repo too!

1.3.8

2 years ago

1.3.5

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago