Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.
/ DiscordStatusAPI Public archive

Generate discord status card (probably for readme's)

License

Notifications You must be signed in to change notification settings

FusionSid/DiscordStatusAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • This api is now merged with my main api: FusionSidAPI*

Discord Image API

API DOCS

Join the DISCORD SERVER For it to work

The why discord server will work too


Usage:

URL: https://api.fusionsid.xyz/api/discord/image?user_id=[Your discord id]

Extra Parameters:

&rounded_corners=[True/False]] sets if the corners should be rounded or not

  • If this is not included in url it defaults to true

&resize_width=[custom_width] resizes to that width (example the mini one at the top of the readme)

  • This does reduce image quality though
  • Also max width = 4269

&name_color=[color] Changes the color for the name text

  • defaults to white
  • supports colors by name like "white", "blue", "purple" etc
  • supports hex colors like "#FFFFFF"
  • if color is invalid it will go back to default

&discriminator_color=[color] Changes the color for the name text

  • defaults to #161a1d
  • supports colors by name like "white", "blue", "purple" etc
  • supports hex colors like "#FFFFFF"
  • if color is invalid it will go back to default

&background_color=[color] Changes the color for the background text

  • defaults to white
  • supports colors by name like "white", "blue", "purple" etc
  • supports hex colors like "#FFFFFF"
  • if color is invalid it will go back to default

&show_activity=[True/False]] Show activity or not

  • By default if the api sees that you are playing something it will add that to the bottom of the card

&show_hypesquad=[True/False]] Show hypesquad badge or not

  • By default if youre in hypesquad it will show that badge

&activity_color=[color] Changes the color for the activity text

  • defaults to white
  • supports colors by name like "white", "blue", "purple" etc
  • supports hex colors like "#FFFFFF"
  • if color is invalid it will go back to default

Example:

URL:

https://api.fusionsid.xyz/api/discord/image?user_id=624076054969188363

Result:

This is a live example of this, this image will update if I am offline, idle, do_not_disturb, invisible or online

Example Image

How it works

This api runs a discord bot at the same time in the same file, whenever you make a request the bot just looks at what your presence is and returns it back to the api which then makes an image and returns it

About

Generate discord status card (probably for readme's)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published