canParse

Determines if any of the parsers can parse the passed XML hand.

canParse
Parameters
xml (String) to parse
Returns
Boolean: true if it knows how to parse this xml

parseHands

Parses hands for Poker rooms that save them in xml format. Currently only iPoker is supported.

The structure of the returned hand objects is the same as for hhp.

parseHands
Parameters
xml (String) to parse
Returns
object: parsed hands and errors encountered: { parsedHands: Array, errors: Array, count: Number }