global-poker-hand-history-converter
global-poker-hand-history-converter copied to clipboard
:spades: :clubs: Convert Global Poker hand histories to PokerStars format :hearts: :diamonds:
global-poker-hand-history-converter
Convert Global Poker hand histories to PokerStars format. To download your hand histories from global poker, use this chrome extension
This package is a work in progress. It currently only supports converting cash games (NLH/PLO).
The goal of this repo is to be able to convert Global Poker hand histories into the format used by PokerStars. This enables the importing of Global Poker hand histories into the likes of PokerTracker 4 to analyze your own results. This package is not meant to be used to power a HUD or to gain real time stats on other players.
Install
npm install @mr-feek/global-poker-hand-history-converter
Usage
import { convertHand } from './src/Converter';
import GlobalPokerHand from './src/GlobalPokerHand';
// fetch your JSON blob of hand history from global poker API (outside the scope of this package)
const handHistoryBlob = {};
const globalPokerHand = new GlobalPokerHand(handHistoryBlob);
const pokerStarsFormat = convertHand(globalPokerHand);
Development
Setup
-
yarn install
Running Tests
npm run test
Support on Beerpay
Hey dude! Help me out for a couple of :beers:!