Skip to content

Instantly share code, notes, and snippets.

View kristijanPetr's full-sized avatar

Kristijan Petrovski kristijanPetr

View GitHub Profile
const request = require('request-promise-native')
const co = require('co')
const API_DOMAIN = 'https://api.github.com'
const PAGE_LIMIT = 100
let GistClient = function () {
this.setToken = (token) => {
this.token = token
const request = require('request-promise-native')
const co = require('co')
const API_DOMAIN = 'https://api.github.com'
const PAGE_LIMIT = 100
let GistClient = function () {
this.setToken = (token) => {
this.token = token
Run `python hello_world.py` to print Hello World
import {
CHAT_STARTED,
CHAT_ENDED,
CHAT_NEW_MESSAGE,
NO_MATCH_FOUND,
PLAYER_JOINED,
CHAT_MESSAGE,
FOUND_MATCH,
ONLINE_USERS,
SWITCH_ACTIVE_CHAT