Lucas Oil AMA Pro Motocross API
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
public
routes
views
.gitignore
LICENSE
README.md
app.js
package.json

README.md

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.