Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tito-api

finnp7ISC1.0.0

yes, there is a tito api

tito, tickets

readme

tito-api

NPM

You might not know that there is an official tito api. So have a look here: https://api.tito.io/

usage

var tito = require('tito-api')

var t = tito('YOUR_API_KEY') // find it here https://api.tito.io/

t.tickets().on('data', function (ticket) {
  console.log(ticket.name)
})

endpoints

t.tickets()

All tickets of all events returns readable object stream

t.events()

All events. returns readable object stream

t.accounts()

All accounts granted access to. returns readable object stream

t.request(endpoint)

endpoints e.g. an event like nodeschool-berlin/12

return readable unparsed stream