Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mr-feek/global-poker-hand-history-converter
:spades: :clubs: Convert Global Poker hand histories to PokerStars format :hearts: :diamonds:
https://github.com/mr-feek/global-poker-hand-history-converter
Last synced: 4 months ago
JSON representation
:spades: :clubs: Convert Global Poker hand histories to PokerStars format :hearts: :diamonds:
- Host: GitHub
- URL: https://github.com/mr-feek/global-poker-hand-history-converter
- Owner: mr-feek
- Created: 2018-01-05T02:03:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T03:28:22.000Z (about 7 years ago)
- Last Synced: 2024-08-01T16:47:57.745Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 163 KB
- Stars: 19
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/mr-feek/global-poker-hand-history-converter-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
```javascript
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:](https://beerpay.io/mr-feek/global-poker-hand-history-converter) [](https://beerpay.io/mr-feek/global-poker-hand-history-converter?focus=wish)