Skip to content

Go cli application which fetch data from https://api.the-odds-api.com/ and save it into a postgesql db

Notifications You must be signed in to change notification settings

iButcat/sports-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CLI-go-sport-Api

Sports API

Description

A well designed Microservice following good patterns! The service fetch a external api (sports API) giving informations like odds for each website offering betting service.

Get your API key

API

Create Config

Create a file inside config folder which is called app.env

dsn=host=localhost port=5432 user=Username dbname=Database password=Password sslmode=disable
url=YourUrlFromSportsAPIwithKey

Endpoints

Later...

To do

  • Finish delete function by checking time match started and delete when finished

Packages used

  1. Go-kit
  2. Gorm
  3. Gorilla Mux

About

Go cli application which fetch data from https://api.the-odds-api.com/ and save it into a postgesql db

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published