diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..931d348 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,43 @@ +{ + "name": "mlb-stats-api", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "axios": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.0.tgz", + "integrity": "sha512-1uvKqKQta3KBxIz14F2v06AEHZ/dIoeKfbTRkK1E5oqjDnuEerLmYTgJB5AiQZHJcljpg1TuRzdjDR06qNk0DQ==", + "requires": { + "follow-redirects": "1.5.10", + "is-buffer": "^2.0.2" + } + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + }, + "follow-redirects": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", + "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", + "requires": { + "debug": "=3.1.0" + } + }, + "is-buffer": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", + "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==" + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..c5a3602 --- /dev/null +++ b/package.json @@ -0,0 +1,20 @@ +{ + "name": "mlb-stats-api", + "version": "1.0.0", + "description": "Node JS Library for consuming MLB's official stats API", + "main": "index.js", + "scripts": { + "test": "test" + }, + "keywords": [ + "node", + "nodejs", + "mlb", + "mlb-stats-api" + ], + "author": "Andy Beane", + "license": "MIT", + "dependencies": { + "axios": "^0.19.0" + } +} diff --git a/src/api.js b/src/api.js new file mode 100644 index 0000000..936290f --- /dev/null +++ b/src/api.js @@ -0,0 +1,13 @@ +'use strict'; +const axios = require('axios'); + +class MLBStatsAPI { + constructor() { + + } + + +} + + +exports.MLBStatsAPI = MLBStatsAPI; \ No newline at end of file diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..e69de29