{"_id":"@apteryxxyz/thesportsdb","_rev":"3-f7da6b08f80480afe79a9f1e7456cde9","name":"@apteryxxyz/thesportsdb","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@apteryxxyz/thesportsdb","version":"0.1.0","keywords":["sports","thesportsdb","api","sport"],"license":"ISC","_id":"@apteryxxyz/thesportsdb@0.1.0","maintainers":[{"name":"apteryxxyz","email":"apteryx.xyz+npm@gmail.com"}],"homepage":"https://github.com/k0d13/gpsanant_theSportsDB#readme","bugs":{"url":"https://github.com/k0d13/gpsanant_theSportsDB/issues"},"dist":{"shasum":"2399cb1d5718a1e8e32187a7d9fa9147f21aadcc","tarball":"https://registry.npmjs.org/@apteryxxyz/thesportsdb/-/thesportsdb-0.1.0.tgz","fileCount":4,"integrity":"sha512-pa5opgS/6UWDcS84bsOLLNBaCyHT8Dz+lESj2dUbilC7kq2D1lKpUg6lTlW2XTXB+y5bk1yYzqK89bvS4iaFVA==","signatures":[{"sig":"MEUCIB/e+O2zmOIs8ktHXuApwRJ/XdHBg27o2RZPBdBly2pKAiEAmEnuY1bsHY42PwXX+cyOd8Kv05LX5u+m7R2B1bhNIYc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28400},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"b80b80fe156c75af167f45a747db4a47d7583399","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"apteryxxyz","email":"apteryx.xyz+npm@gmail.com"},"repository":{"url":"git+https://github.com/k0d13/gpsanant_theSportsDB.git","type":"git"},"_npmVersion":"11.12.1","description":"A JavaScript library for interfacing with theSportsDB API","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/thesportsdb_0.1.0_1782472372292_0.2528843944165542","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@apteryxxyz/thesportsdb","version":"0.2.0","keywords":["sports","thesportsdb","api","sport"],"license":"ISC","_id":"@apteryxxyz/thesportsdb@0.2.0","maintainers":[{"name":"apteryxxyz","email":"apteryx.xyz+npm@gmail.com"}],"homepage":"https://github.com/k0d13/gpsanant_theSportsDB#readme","bugs":{"url":"https://github.com/k0d13/gpsanant_theSportsDB/issues"},"dist":{"shasum":"1bbb37312d3f4ced2153d15b16a44872cbb0b928","tarball":"https://registry.npmjs.org/@apteryxxyz/thesportsdb/-/thesportsdb-0.2.0.tgz","fileCount":4,"integrity":"sha512-RKIkBDv9wbWaNaiZpmz9N/NyJ0uxtBWPYrDqfipvrpI5kuD79LTg0jgFPw7R+X1GwU31r/Oj/GfDl4j++JUQ3A==","signatures":[{"sig":"MEYCIQDtdWjasbM0xWWQDFhGhQOg5du+NWPWWONLc9SmCogsvQIhAIJp1Oqbw/5pTMbD2eYK0q0O+zMilR1TP4KZaAl5KTEe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28874},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"181e51ec017e23ad8783605118e178541b53a044","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"apteryxxyz","email":"apteryx.xyz+npm@gmail.com"},"repository":{"url":"git+https://github.com/k0d13/gpsanant_theSportsDB.git","type":"git"},"_npmVersion":"11.12.1","description":"A JavaScript library for interfacing with theSportsDB API","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/thesportsdb_0.2.0_1782474027526_0.43635014738720046","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@apteryxxyz/thesportsdb","version":"0.3.0","description":"A JavaScript library for interfacing with theSportsDB API","type":"module","main":"index.js","types":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/k0d13/gpsanant_theSportsDB.git"},"license":"ISC","bugs":{"url":"https://github.com/k0d13/gpsanant_theSportsDB/issues"},"keywords":["sports","thesportsdb","api","sport"],"homepage":"https://github.com/k0d13/gpsanant_theSportsDB#readme","gitHead":"0369600efbaa191c5ddb7ca64d840ef9ed17a32e","_id":"@apteryxxyz/thesportsdb@0.3.0","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-WF7vsBh0uDSgujkpxaMK8faYa/H97Ds1o3sf41CZen+d5GW5XqhltyRlCrLUfSBXqK4ntETnEO/XM0b1TQRG3Q==","shasum":"24a87ca0f37ea22800c5843c1b760e4e1c278236","tarball":"https://registry.npmjs.org/@apteryxxyz/thesportsdb/-/thesportsdb-0.3.0.tgz","fileCount":4,"unpackedSize":34230,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCkLsuPGpCF/A5/a0WRT4qKCCGOwnuS1pXMFlA1F3YjMwIhALxMWoeZPLcp+YvP6dsGjeoTuQ5PVnibHQp1exLCk+GX"}]},"_npmUser":{"name":"apteryxxyz","email":"apteryx.xyz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"apteryxxyz","email":"apteryx.xyz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/thesportsdb_0.3.0_1782474628369_0.8777671643418758"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-26T11:12:52.171Z","modified":"2026-06-26T11:50:28.620Z","0.1.0":"2026-06-26T11:12:52.473Z","0.2.0":"2026-06-26T11:40:27.693Z","0.3.0":"2026-06-26T11:50:28.517Z"},"bugs":{"url":"https://github.com/k0d13/gpsanant_theSportsDB/issues"},"license":"ISC","homepage":"https://github.com/k0d13/gpsanant_theSportsDB#readme","keywords":["sports","thesportsdb","api","sport"],"repository":{"type":"git","url":"git+https://github.com/k0d13/gpsanant_theSportsDB.git"},"description":"A JavaScript library for interfacing with theSportsDB API","maintainers":[{"name":"apteryxxyz","email":"apteryx.xyz+npm@gmail.com"}],"readme":"# theSportsDB\nLibrary for The Sports DB API\n\n## Installation\n```sh\nnpm install @apteryxxyz/thesportsdb\n```\n\n## Example Usage\n```js\nimport SportsDbApi from '@apteryxxyz/thesportsdb';\n\n// apiKey defaults to 123; set to your Patreon key for full access\n// optionally pass a custom fetch implementation\nconst db = new SportsDbApi({ apiKey: 808 });\n\n// works with spaces, underscores, or \"%20\"s\nconst goat = await db.getPlayerByName('michael jordan');\nconst kobe = await db.getPlayerByName('kobe_bryant');\n\n// replace unused parameters with null\nconst events = await db.getEventsOnDay('2014-10-10', null, 'Australian_A-League');\n\n// ids can be either numbers or strings\nconst nextEvents = await db.getNext5EventsByTeamId(133602);\n\n// custom fetch (e.g. for Node.js polyfills or testing)\nimport nodeFetch from 'node-fetch';\nconst db2 = new SportsDbApi({ apiKey: 808, fetch: nodeFetch });\n```\n","readmeFilename":"README.md"}