Readme

Github Emoji API

This is an API that inputs a Github Emoji's name and output's a link to that emoji's Github image URL.

Names

The list of names can be accessed at @karfau/GITHUB_EMOJIS or by calling https://karfau-githubemoji.web.val.run/names.

Not found

If the name you pass (as argument or in the request path) is not in the list, it returns

octocat

Usage

HTML

<img src="https://karfau-githubEmoji.web.val.run/+1"></img>

thumbs up

Markdown

![thumbs up](https://karfau-githubEmoji.web.val.run/+1)

thumbs up

Val Town

import {githubEmojiUrl} from "https://esm.town/v/karfau/githubEmoji"; githubEmojiUrl('+1')

Returns: https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8

Curl

curl https://karfau-githubEmoji.web.val.run/+1

Returns: https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8

Code
HTTP
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
stevekrouse-githubemoji.web.val.run
Updated: December 15, 2023