Coder Social home page Coder Social logo

fabonreact / betfair-notifications Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 46 KB

monitoring cli for the betfair api

Home Page: https://www.youtube.com/watch?v=vTP6vdUoVC0&feature=youtu.be

License: MIT License

Ruby 99.46% Shell 0.54%
betfair betfair-api automation api cli commandline-interface ruby football betting monitoring-tool

betfair-notifications's Introduction

Betfair API Notifications

Description

Command Line Application to interact with the Betfair api. Watch a video explaining the main functionalities. The Betfair CLI allows you to retrieve information via command line from the Betfair API and monitor price fluctuations of matches. It uses the ruby-betfair gem and the betfair api.

Video instruction on installation here.

Installation

Clone the Project

clone the project

git clone https://github.com/fabriziobertoglio1987/betfair-notifications.git

The following post explains how to configure the symlink of a ruby script.

The project needs to be copied in your home directory, then a symlink to the project bin/betfair needs to be created. The above page includes more details.

The following environment variable needs to be saved in ~/.bash_profile. It will include:

Your Email Your password Your App code The path to the directory including all the files.

# Betfair
export BETFAIR_EMAIL="your-email"
export BETFAIR_PW="your-password"
export BETFAIR_APPLICATION_CODE="your-app-code"
export PROJECT_ROOT='root/to/your/folder'

Ruby Version Installation

Install ruby version 2.2.5 more information are available at rbenv https://github.com/rbenv/rbenv

the steps once rbenv is installed should be:

cd /path/to/your/files/directory
rbenv install 2.2.5
rbenv local 2.2.5

Also you should set the global version of rbenv to 2.2.5 with

rbenv global 2.2.5

Install the project

  1. run setup
cd /to/your/project/folder
bin/setup
  1. if you want to use 2 factor you need to add 3 environment variables,details are included at the following link This environment variables are actually written downcase ('two_factor'). I should update this in a later commit.
ENV['two_factor'] ='true'
ENV['cert_key_file_path']
ENV['cert_file_path']

betfair-notifications's People

Contributors

fabonreact avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pedrobf777

betfair-notifications's Issues

verifying that target price is reached

Hello @cajdavidson

I wanted to wish you happy Holidays!

Yesterday I noticed an error in my code and I updated the repository. I was not able to test the changes and I am not sure that I still have an available account to do it.

f1f906a

If you want you can pull the updated code and test the new change

cd your-betfair-repository
git pull

I will keep working on this later next week

thanks a lot
I wish you a good day
Fabrizio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.