Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rockscripts/sport-betting-app-betfair-market

PHP: Web based app for sports betting using Betfair API
https://github.com/rockscripts/sport-betting-app-betfair-market

betfair betfair-api codeigniter mysql php sports-betting

Last synced: about 1 month ago
JSON representation

PHP: Web based app for sports betting using Betfair API

Awesome Lists containing this project

README

        

Sport Betting APP Betfair Market


I authorize any developer, person or company for using this application. But you must accomplish your country law and Betfair requirements to publish it.



Web based app for sports betting using danieledangeli Betfair API wrapper repository

Framework: Codeigniter with PHP


It is in spanish but it is easy to translate. Just create milestone and we will get in touch with you. If you want new features feel free to develop it or create a request here in github.


Read Theoric project if you want know application details.


SCREENSHOTS


Full screenshots are in Theoric project . Go to page number 71




Events




Betting History




Betting Layer




Financial





*******************************************************************

IS MY COUNTRY AVAILABLE?



Kindly, check if your country is available for getting sports markets visiting this website on Betfair


If you are not able to load web page. It means you require an European or North America Account created on Betfair with VPN and install this application in EU or NA datacenter with Amazon AWS or Google Firebase service.

GETTING API KEYS




A Sign up for a Betfair account 


Please note:  Your Betfair account must be sufficiently funded & verified before your application for a Live Application Key will be considered.  We do not accept Personal licence applications from India, Pakistan, Bangladesh, Sri Lanka or UAE.


 



B Create a development App Key



When you create your Application Key, a set of two keys is returned. One 'delay' key that is used for development and testing and one live key which is returned but inactive.  Please click here for more information about Delayed and Live Application keys.


What is an Application Key?


In order to use the Betfair API, you need an Application Key. You must pass the Application Key with every HTTP request. You do this by setting the HTTP header called X-Application with the value of the assigned key.


We recommend using a Google Chrome or Mozilla Firefox browser to complete the following process.





    1. Login into your Betfair account via www.betfair.com


    2.  Using a separate browser window, click on the Accounts API Demo Tool link.


    3. Select the createDeveloperAppKeys operation from the list of Operations on the top left hand side of the Demo Tool. Your sessionToken will be automatically added to the 'Session Token (ssoid)' text box. PLEASE NOTE: For the .au, .it, .es and .ro jurisdictions please check the Exchange API FAQ's (How do I retrieve a session token for use with the Demo Tool?)


    4. Enter your Application Name (this must be unique) in the 'Request' column.


    5. Press Execute at the bottom of the 'Request' column.  PLEASE NOTE:  if you receive an error APP_KEY_CREATION_FAILED please check that you haven't created an App Key previously using th getDeveloperAppKeys request.  


    6. Your Application Key will be returned in the right hand side panel of the Demo Tool under the Application Key column.  Please note:  You may need to expand the Application Key column to see the full Application Key value which is 16 characters in total.  The assigned Application Key can be retrieved at anytime using the getDeveloperAppKeys request. 

    7. The Application Key returned provides access to betting operations and delayed odds data - to be used for development and testing. Please apply for a live Application Key using the application form below once you have completed your development.


    INSTALLING APPLICATION



    This application is web based with codeigniter framework and you must have a web server installed in your Operating System like XAMPP or Lampp or a live server hired with some hosting company. It does not requires any special configuration in server.





    1. Use a domain for this application. If you are localhost then create a Virtual Host something like latingana.com. Kindly, query on Google "create virtual host for web server(XAMPP; LAMPP)" replace webserver for yours.


    2. Under PHPMYADMIN create database and import database.sql located in root project.


    3. Upload project files to your server. If you are working in local and you have GIT installed, just use follow git command:

      git clone https://github.com/rockscripts/Sport-Betting-APP-Betfair-Market.git


    4. Configure database connection, set database name, user, password and host /application/config/database.php


    5. Configure Exchange API, set your appKey, username and password /application/helpers/general_helper.php


    Congratulations! Listen application typing your domain in your prefered web browser address bar.


    UPDATING COMPETITORS, EVENTS, MARKET CATALOG, USERS BETTING RESULTS, PROFIT, LOSSES AND ILEGAL ACTIVITIES



    Create cronjobs and use /application/controllers/Jobs.php functions.