Disqus Server Client - Core
Core client that helps your server to connect to the Disqus API.
Features
The Disqus API - although not very documented - is very easy to implement. This implementation has a view advantages:
- Implemented using TypeScript, so we have types and you have auto-complete
- Uses Axios which gives use
Promises
, so you can useasync
andawait
- Uses Node Cache to cache some endpoints, so your performance is better.
API
Let's show some code.
New up a client:
// Node.js // Or TypeScript:
Getting the posts:
console.logposts;
Getting the details of a thread:
;; console.logtitle;
What actions can I do?
You can find them here: https://disqus.com/api/docs/
Maintenance
This project is maintained by Kees C. Bakker.