Skip to content

bots-house/emojeez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💖 emojeez 💘

👨‍🦯 examples

<img src="https://emoji.bots.house/💖/?size=120&style=google" alt="heart">

🖼 documentation

access emoji png

GET {uri}/{emoji|emoji_alias}/

Note: will return naively sized image/png as stored in emojipedia CDN

returns

  • 200 success with image in response body
  • 404 emoji was not found

query params

Note: mixing up params does not matter (at least one of any is allowed).

size

GET {uri}/{emoji|emoji_alias}/?size={width}[:{height}]

Note: since most emoji pngs are M*M, giving only width is sure enough. Accessing bigger sizes of small images can be troublesome, but server will do its best. If we could not resize png, the server guarantees to return data at its original size.

returns
  • 200 success with image in response body
  • 404 emoji was not found

style

GET {uri}/{emoji|emoji_alias}/?style=[one_allowed_style]
💅 supported emoji styles
Mozilla
Apple
Google
Twitter
Samsung
WhatsApp
LG
HTC
OpenMoji
Microsoft
Facebook
Messenger

Note: this query parameter is case-insensitive and defaults to apple

returns
  • 200 success with image in response body
  • 404 emoji was not found or style is unknown

🏓 ping

GET {uri}/ping/
  • 200 with exact body pong