0.1.1 • Published 7 years ago

bovada v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Bovada

Bovada is a registered trademark. All rights reserved.

Overview

A data converter from Bovada's XML APIs to JSON. Stil under active development. Currently only supports NFL lines.

V1 Goals:

  • NFL
  • NBA

API

getNFLLines(cb)

Gets all currently live NFL lines from Bovada. The callback takes two args:

FieldTypeDescriptionDefault
errObjectError while processing NFL Linesnull
nflGamesArrayList of JS objects whose data is normalized from Bovada's XML API[]
const { getNFLLines } = require('bovada');

getNFLLines((err, nflGames) => {
  // magic
});