This example project demonstrates how to consume the Yellowdig's Public API to fetch community information using TypeScript and Node.js.
Yellowdig V1 API docs may be found here
-
Generate an API key in the user profile section of the Yellowdig web application
-
Install dependencies:
pnpm install- Create a
.envfile in the root directory and add your API key:
API_KEY=your-api-key-here
- Build the TypeScript code:
pnpm tsc- Run the examples:
node dist/root-network.js