0.4.2 • Published 10 years ago

halo-stream v0.4.2

Weekly downloads
-
License
ISC
Repository
-
Last release
10 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

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago