glot-api

0.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i glot-api

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • kapnobatai137
  • spypsy
  • mathieudutour
  • lukem512
  • stefanoeb
  • loopiezlol
  • nem035
  • oliviaoddo
  • pedromdrp
  • lizthedeveloper
  • sourabhv
  • milesflo
  • mihaiberq
  • enkici