aaronrobertson222 / promotocrossapi

Lucas Oil AMA Pro Motocross API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProMotocrossAPI.com has been taken down because of lack maintenance and hosting cost. For anyone ambitious enough to put it back up. I’ll do my best to assist.

This is only the API, documentation, and license repo. The actual data needs to be pulled from americanmotocrossresults.com and the repo for is at here.

The AMA PDF to JSON Parser requires a NodeJS and a Mongo database.

Once you’ve forked the AMA PDF to JSON parser run npm install. Then there’s two things you’ll have to configure. | - Update the for loop to iterate the races you want to parse. You’ll have to look at the race results URL to figure out how the increment but there is a comment about it in app.js. | - Create a .env file in the root of the project with the list variables | - DB_URL=database.url | - DB_PATH=database.url/path | - DB_USER=database username | - DB_PW=database password

Finally run $ node app.js in the terminal and it should send that data straight to your database.

About

Lucas Oil AMA Pro Motocross API

License:Other


Languages

Language:JavaScript 53.5%Language:HTML 44.0%Language:CSS 2.5%