- A general purpose API designed to be used by any of my miscellaneous projects
- Originally written in JavaScript using Express.js
- Image generation
- Minecraft Java & Bedrock server status
- Reddit meme endpoint
- GitHub stat shields/cards/badges
GET /fractal- Returns a png of the generated fractalresolution- The resolution of the returned image, any number between512and2048fractalVariation- The variation of flame fractal, valid values are:Linear,Sine,Spherical,Horseshoe,Cross,Tangent,Bubble,RadTan,Tangle, andDiamondcolorA- The first color, in hex formatcolorB- The second color, in hex formatcoloring- The coloring strategy, valid values are:Gradient,SigmoidGradient, andExperimentaliterTransformX- Iterative X-axis transformation, any value between0.0and5.0iterTransformY- Iterative Y-axis tranformation, any value between0.0and5.0xShift- How much to shift the X axis by, any value between-1.0and1.0transform- Iterative transformation, any value between0.0and5.0iterations- How many iterations, any value between1and5000000mirrored- Whether or not to mirror the generated fractal, eithertrueorfalseblur- How much to blur the image, any value between1.0and4.0sharpen- How much to sharpen the image, any value between1.0and4.0
- All generated fractal images are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
GET github/stats/{userName}- Returns a GitHub user's earned stars, opened issues, and opened PRs which were mergeduserName- Must be a valid GitHub username
GET github/stats/{userName}/shield/stars- Returns an image/shield/badge showing a user's earned starsuserName- Must be a valid GitHub username- shields.io is used for image generation, this endpoint supports these query parameters.
GET github/stats/{userName}/shield/prs- Returns an image/shield/badge showing a user's opened and then merged pull requestsuserName- Must be a valid GitHub username- shields.io is used for image generation, this endpoint supports these query parameters.
GET github/stats/{userName}/shield/issues- Returns an image/shield/badge showing a user's opened issuesuserName- Must be a valid GitHub username- shields.io is used for image generation, this endpoint supports these query parameters.
GET github/stats/{userName}/shield/dependants- Returns an image/shield/badge showing the number of repositories which have one of the user's repositories as a dependencyuserName- Must be a valid GitHub username- shields.io is used for image generation, this endpoint supports these query parameters.
GET reddit/{subredditGroup}?requesterId={uniquePerSomething}- Returns a random image post from the specified subreddit groupsubredditGroup- Must be one ofmeme,,cursedMinecraftgreentext,comicrequesterId(optional) - Unique ID to prevent duplicate posts from being returned, for example if used in a Discord bot, this could be the channel ID the command was summoned in
GET mc/server/status/{serverAddress}- Returns the status of the specified Minecraft server, this supports all versions of Minecraft except those below 1.8 and realmsserverAddress- Any host, port is optional, an example would beexample.com:25565
GET mc/server/status/{serverAddress}/image?customName={custom name}- Returns an image showing the status of the specified Minecraft server, this supports all version of Minecraft except those below 1.8 and realmsserverAddress- Any host, port is optional, an example would beexample.com:25565customName(optional) - Custom name to display on the image instead of the specified server address
GET mc/server/status/{serverAddress}/image/favicon- Returns the server's favicon / server icon, supports all Java Edition versions of Minecraft except those below 1.8 and realmsserverAddress- Any host, port is optional, an example would beexample.com:25565
GET mc/image/achievement/{text}- Returns an image saying "Achievement Get" and the specified texttext- Any text, must be within 1-30 characters
GET mc/image/splash/{text}- Returns an image of the splash screen with the specified text displayed on ittext- Any text, must be within 1-30 characters