Using discourse-ai-bot with discourse.local

TypeScript integration

Install
npm install discourse-ai-bot
Quick start
import Discourse_ai_bot from 'discourse-ai-bot';

const client = new Discourse_ai_bot({ apiKey: "YOUR_API_KEY" });
Get the top topics filtered by period
curl \
  http://discourse.local/top.json
Get site info
curl \
  http://discourse.local/site.json
Get a list of tags
curl \
  http://discourse.local/tags.json
SDK on GitHub 📄 API Docs
SDK
discourse-ai-bot
TypeScript
API
discourse.local
discourse.local
At a glance
Language TypeScript
Endpoints84
Base URLhttp://discourse.local