A Discord User Lookup API built with CF Workers & Hono.
GET /user/{user}
Parameter | Type | Description |
---|---|---|
id |
number |
Required. User ID |
Returns information about a user.
To run this project locally, install the dependencies and run the following command:
pnpm run dev
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