Skip to content

leomosley/github-language-color-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Language Color REST API

This project is a REST API built with Axum, a web framework for Rust based on Tokio and Tower. It provides a simple example of how to create a RESTful service using Axum, including routing, handling JSON requests, managing state, middleware, and more.

Description

This REST API allows users to retrieve the color associated with a programming language. It provides endpoints for fetching the color of a specific programming language, as well as a general endpoint for usage instructions.

Usage

To retrieve the color for a programming language, make a GET request to /language, where language is the name of the programming language. For example:

curl https://github-language-color.shuttleapp.rs/rust

About

A simple Rust API to get the colour which github uses to represent a language.

Topics

Resources

Stars

Watchers

Forks

Languages