0.4.2 • Published 8 years ago

halo-stream v0.4.2

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

halo-stream

Work-in-progress infrastructure to receive events from the Halo 5 developer APIs. Written in TypeScript.

import HaloStream = require('halo-stream');

let stream = new HaloStream(API_KEY)
    .follow('crazy2can', 'Taylormade151', 'Original RemarK')
    .onMatch(function(match, players) {
        // Some of the followed players just finished `match`!
        // Their match stats are provided in `players` for convenience.
    })
    .onMedal(function(medal, player) {
        // Notional, and probably not possible with current developer APIs.
        // Oh man, wouldn't that be cool.
    })

Developing

[halo-stream]$ npm install
[halo-stream]$ tsd install
[halo-stream]$ tsc --watch

Testing

[halo-stream]$ npm test
0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago