Coder Social home page Coder Social logo

meatlhead / football_predictions Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

This project demonstrates how to create a Flask web application that integrates with the SmartBets API to predict future football matches. The code includes error handling for API interactions and unit tests to ensure robustness. The user interface is designed to display prediction results and error messages clearly using Bootstrap for styling.

License: MIT License

football_predictions's Introduction

Football_Predictions

This project demonstrates how to create a Flask web application that integrates with the SmartBets API to predict future football matches. The code includes error handling for API interactions and unit tests to ensure robustness. The user interface is designed to display prediction results and error messages clearly using Bootstrap for styling.

Instructions for Installing and Running the Project

Clone the Repository:

git clone https://github.com/MeatlHead/Football_Predictions.git cd flask_smartbets

Set Up Virtual Environment:

python3 -m venv venv source venv/bin/activate

On Windows use

venv\Scripts\activate

Install Dependencies:

pip install -r requirements.txt

Set Up Environment Variables:

Create a .env file in the root directory and add your SmartBets API key:

SMARTBETS_API_KEY=your_api_key

Run the Application:

python run.py

Run Unit Tests:

python -m unittest discover tests

football_predictions's People

Contributors

meatlhead avatar

Watchers

 avatar

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.