Skip to content

passy/soccer-stats-backend

Repository files navigation

Soccer Stats API

Build Status

Backend for my soccer prediction app, using a dumb time-independend least-square regression algorithm.

Using Numpy and Flask.

Endpoints

/v1/scores
  • Accepted Methods: POST
  • Request Payload: JSON
{"results": [
    {"teamHome":"BVB","teamAway":"HSV","goalsHome":2,"goalsAway":1},
    ...
]}
  • Response: JSON
{
    "scores": {"BVB": 0.49999999999999978, "HSV": -0.49999999999999989},
    "errors": [3.3306690738754696e-16]
}

About

Backend for my soccer prediction app doing some calculations with NumPy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages