0.1.0 • Published 7 years ago

glot-api v0.1.0

Weekly downloads
9
License
MIT
Repository
github
Last release
7 years ago

Glot-API

A glot.io API wrapper with nice utilities.

Installation

npm install --save glot-api

Usage

import GlotAPI from 'glot-api'

const glot = new GlotAPI('optional-token') // If you are logged in you will find your token here: https://glot.io/account/token.

glot.snippets({ limit: 200 }) // handle pagination automatically
.then((snippets) => {
  return glot.runSnippet(snippets[0])
})

API

All methods return a Promise.

Languages

Snippets

Run

License

MIT