aboutsummaryrefslogtreecommitdiff
path: root/src/hypixelApi.ts
AgeCommit message (Collapse)Author
2021-12-30improve apiKeyMaxUsagemat
2021-12-30improve api key usage measurementmat
2021-12-28don't remove multiple timesmat
2021-12-28fix issue with api keymat
2021-12-28fix for removing invalid api keymat
2021-12-28ignore invalid keysmat
2021-09-06Bump node-fetch from 2.6.1 to 3.0.0 (#116)dependabot[bot]
* Bump node-fetch from 2.6.1 to 3.0.0 Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix issues with node fetch 3.0 * change module to esnext instead of commonjs * fix imports and tests * fix package-lock.json Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mat <github@matdoes.dev> Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
2021-06-29enable strictNullChecks and fix all related issues (#65)mat
2021-06-24remove console logsmat
2021-06-24log api keysmat
2021-06-24log keymat
2021-06-24debugging:tm:mat
2021-06-01fix not choosing best api keymat
2021-06-01add key usage info to indexmat
2021-05-27random random debug things and optimize leaderboardsmat
optimize leaderboards by fetching all the raw ones at the beginning
2021-05-27make leaderboards send less requestsmat
2021-05-27Profile customization (#45)mat
* add basic discord auth * add uuid dependency * add lastUpdated to sessions * add route to get session from id * add accounts collection * update build * add gm rank * add `customization` url parameter * add customization parameter to /player/:user * add route to get info from discord id * remove a console.log * Update database.js * Update package.json * fix tests
2021-05-09Revert "temp debug stuff"mat
This reverts commit 58807d12eefe264e817d8dc4b7075dbb25e4c2d2.
2021-05-09temp debug stuffmat
2021-04-27Add unit tests (#12)mat
* start adding unit tests * add more to test/data/mojang.json * fix sending http requests in tests when it shouldn't * add a few more tests * try to add a github action to run tests * Update test.yml
2021-04-16wait 30 seconds and retry on endpoint disabledmat
2021-04-16fix error that happens sometimesmat
2021-04-16retry on throttlemat
2021-04-14Total leaderboards leaderboard working (#6)mat
* add leaderboards leaderboard * slightly optimize fetchPlayer to not unnecessarily fetch the same player twice * Compiled TS into JS * fix errors with fetch * fix random bugs that made people disappear from leaderboards
2021-04-14Revert "Total leaderboards leaderboard (#5)"mat
This reverts commit 0e5887326f1ba1f8005ca0bd217c5b332a1fb6cf.
2021-04-14Total leaderboards leaderboard (#5)mat
* add leaderboards leaderboard * slightly optimize fetchPlayer to not unnecessarily fetch the same player twice * Compiled TS into JS * fix errors with fetch
2021-04-13Slayer leaderboard (#4)mat
* add slayers to constants * Compiled TS into JS * change units to also show up when only changing one constant item * Compiled TS into JS * add slayer leaderboards * remove debugging stuff
2021-02-15remove debug logsmat
2021-02-13add fairy soulsmat
2021-02-13add banking infomat
2021-02-13add dotenv as dev dependencymat
2021-02-13add optional check to verify all clients are owned by the creatormat
2021-02-13move stuff into src foldermat