1.0.0 • Published 9 years ago

tito-api v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

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