diff options
author | mat <github@matdoes.dev> | 2022-05-19 16:04:17 +0000 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-05-19 16:04:17 +0000 |
commit | 11e18feb755488cfb8f65fcf7db0204b997e41c9 (patch) | |
tree | 25ab2e11687112f4a1b28ccbcd268ce0ba93abe0 | |
parent | 68aebc79a0835d076a6e4883c90d343fb28f7862 (diff) | |
download | skyblock-api-11e18feb755488cfb8f65fcf7db0204b997e41c9.tar.gz skyblock-api-11e18feb755488cfb8f65fcf7db0204b997e41c9.tar.bz2 skyblock-api-11e18feb755488cfb8f65fcf7db0204b997e41c9.zip |
remove dumb description in readme
-rw-r--r-- | README.md | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -4,16 +4,6 @@ Backend for [skyblock.matdoes.dev](https://github.com/skyblockstats/skyblock-sta This is kinda like [Slothpixel](https://github.com/slothpixel/core), it fetches the SkyBlock API and cleans up the result for use without an API key. -## Basically what it does - -1. A request is sent to the Express server in index.js -2. The express server then calls a function in hypixelCached depending on the request -3. hypixelCached will either directly return already-cached data, or continue to hypixel.ts -4. hypixel.ts will call hypixelApi to get the raw data from the Hypixel API -5. hypixel.ts calls one or more of the cleaners, which pretties up the data for us to use -6. cleaned data is returned to hypixelCached, which will cache it -7. Data is sent back to express to serve to the user - ## API conventions If you (this is really just here for myself so I don't forget) are adding a new API thing, follow these rules so the API is consistent with how it responds: @@ -29,4 +19,3 @@ If you (this is really just here for myself so I don't forget) are adding a new First, install the dependencies with `npm i`. Then to run it, do `tsc -w` in one terminal, `npx nodemon build` in another. This makes it automatically restart when you make a change. If you don't like it auto restarting, then just do `node build` instead of `npx nodemon build`. - |