disqus-server-client

Strongly typed client that helps your server to connect to the Disqus API.


Keywords
Disqus
License
MIT
Install
npm install disqus-server-client@0.0.3

Documentation

Disqus Server Client

Clients that helps your server to connect to the Disqus API.

Packages

We have two packages for you:

Keeping up to date

The. Disqus. API. Is. Not. Well. Documented!

But we'll use it anyway to generate the strongly typed clients:

  1. Generation can be started using npm run generate.
  2. We are parsing the resources on https://disqus.com/api/docs/
  3. Each category is generated into a property of the client.
  4. Each resource is generated ad a method on each category.
  5. The following information is added to each resource:
    • The description (not always there).
    • Required and optional parameters -- they are converted into a Typescript interface.
    • The first example is parsed into a TypeScript interface as a return type.
    • The method (GET or POST).

Problems?

Did you find something that was not right? Cool. Please file a bug with the details. If you have a PR. Event better.

Maintenance

This project is maintained by Kees C. Bakker.