Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 708 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 708 Bytes

discord-lookup

A Discord User Lookup API built with CF Workers & Hono.

API Reference

Get user by ID

  GET /user/{user}
Parameter Type Description
id number Required. User ID

Returns information about a user.

Local Development

To run this project locally, install the dependencies and run the following command:

  pnpm run dev

Local Deployment

Create a CF worker and install wrangler - set your discord token as a secret named DISCORD_TOKEN and run the following command:

  pnpm run deploy

Authors