Skip to content

w1r2p1/hello-world-pinnacle-bet-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World using Pinnacle API with Python

This is a simple example to implement an automatic betting strategy using Pinnacle API and his Python wrapper.

Strategy implemented

During the first period of pre filtered match series. The system bets 5 euros to Over 0.5 if the odd is bigger than 1.8 and the match result is 0 - 0.

To install

$ git clone https://github.com/bukosabino/hello-world-pinnacle-bet-api
$ cd hello-world-pinnacle-bet-api
$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install requests
$ pip install pandas
$ pip install pinnacle

To run

  1. You need an available API Pinnacle account. In settings.py you should to fill USERNAME and PASSWORD variables. If your Pinnacle account has not API Pinnacle available you can contact with [email protected]

  2. You need to fill LISTA_IDS variable with ids pre-match filtered using statistics software like Betpractice (for example).

  3. Run:

$ cd strategy
$ python bet_system.py
  1. By default the system simulate the purchases. If you want enable this option, you need update the variable BUY_AVAILABLE with True value.
BUY_AVAILABLE = True
  1. You can check the results.csv file using Microsoft Excel or Libre Office Calc. You can check how open a a file with .csv format.

Pinnacle API Documentation

https://pinnacleapi.github.io

https://github.com/rozzac90/pinnacle

Credits

Developed by Bukosabino - [email protected]

Please, let me know about any comment or feedback.

Note: This is a proof of concept software, you should use it at your own risk.

About

Hello World using Python and Pinnacle API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages