Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Retrieves player sessions per given date / game.

...

  • string $api_login required
  • string $api_password required
  • string $method required value 'getGameHistory'
  • string $user_username required  - see loginPlayer method
  • string $user_password required  - see loginPlayer method
  • string $game_id optional  - In numeric format 1234, or gamehash format gs#gs-power-tiger.
  • string $gamesession_id optional - string format returned from getGameDirect or getGame call.
  • string $provider optional - string format 2 characters. If gamesession_id is not provided, then you can pass 'provider' to filter the query.
  • string $date_start required - In Y-m-d H:I:S format, UTC timezone (Aug. 9 2012 is represented as '2012-08-09 00:00:00')
  • string $date_end optional - In Y-m-d H:I:S format, UTC timezone (Aug. 9 2012 is represented as '2012-08-09 00:00:00') 

  • string $return_format optional 'data' or 'url'. Default value is 'data' 

  • int $page_number optional when 'data' format is passed, 1 by default. Determines current page returned.

  • int $items_per_age optional when 'data' format is passed, 10 by default. Determines how many items returned per page. Maximum value 100.

  • boolean $return_round_details optional Defaults to false, if this parameter is sent, gamesession_id is mandatory. Sends you gameplay information (bet,win) for that session.


    Info

    Results are limited to 10 sessions. For more sessions use pagination.

    Parameters game_id,gamesession_id and provider are filters, and will filter out data in the date range between date_start and date_end.


...