Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Latest commit

 

History

History
15 lines (11 loc) · 279 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 279 Bytes

Exoid

Interface with exoid compatible APIs

Exoid = require 'exoid'
request = require 'clay-request'

@exoid = new Exoid
  api: config.API_URL + '/exoid'
  fetch: request

@exoid.stream 'games.getById', {id} # -> Observable
@exoid.call 'auth.login' # -> Promise