- 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 between512
and2048
fractalVariation
- The variation of flame fractal, valid values are:Linear
,Sine
,Spherical
,Horseshoe
,Cross
,Tangent
,Bubble
,RadTan
,Tangle
, andDiamond
colorA
- The first color, in hex formatcolorB
- The second color, in hex formatcoloring
- The coloring strategy, valid values are:Gradient
,SigmoidGradient
, andExperimental
iterTransformX
- Iterative X-axis transformation, any value between0.0
and5.0
iterTransformY
- Iterative Y-axis tranformation, any value between0.0
and5.0
xShift
- How much to shift the X axis by, any value between-1.0
and1.0
transform
- Iterative transformation, any value between0.0
and5.0
iterations
- How many iterations, any value between1
and5000000
mirrored
- Whether or not to mirror the generated fractal, eithertrue
orfalse
blur
- How much to blur the image, any value between1.0
and4.0
sharpen
- How much to sharpen the image, any value between1.0
and4.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
,,cursedMinecraft
greentext
,comic
requesterId
(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:25565
customName
(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