Disqus Server Client - Core
Core client that helps your server to connect to the Disqus API.
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 use
- Uses Node Cache to cache some endpoints, so your performance is better.
Let's show some code.
New up a client:
// Node.js// Or TypeScript:
Getting the posts:
Getting the details of a thread:
What actions can I do?
You can find them here: https://disqus.com/api/docs/
This project is maintained by Kees C. Bakker.