Get information from another program using Python

Asked

Viewed 179 times

0

Hello, I would like to know how it is possible to get information from another program using Python. In question, I want to develop a blinds counter for Pokerstars.

Note: blinds in poker is the set of mandatory bets: big and small blind.

Example:

  1. I enter a poker tournament, consequently I receive an amount of chips (stack);
  2. The level of blinds of the tournament is changeable, IE, It increases as time goes by;
  3. My goal is to take the number of chips I have and divide by the value of the big blind, thus getting my number of blinds.

In short, I want to know how to "locate" the information of the amounts of my chips, as well as the current blind level in memory. Then divide the first by the second.

Figure: a) Normal game scenario. Blinds values: Big Blind = 100; Small Blind = 50. b) How the program should act. If the blind is at 100/50, then it’s the same as me saying 1/0.5 and splitting the total chip amount by the big blind value.

a) Cenário normal do jogo. Valores do blinds: Big Blind = 100; Small Blind = 50. b) Como o programa deve agir. Se o blind está em 100/50, então é o mesmo que eu dizer 1/0.5 e dividir a quantidade de fichas totais por o valor do big blind.

There are several programs that perform this task (and others more complex), but all are paid.

  • You have the Pokerstars API?

  • @Jeffersonquesado Pokerstars offers no public API.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.