Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Qqw for Node.js

An asynchronous client library for the Qqw REST API.

var Qqw = require('qqw');

var client = new Qqw();

var params = {name: 'accel', fields: 'name,score'};
client.get('organizations', params, function(error, organizations, response) {
  console.log(organizations);
});

Installation

npm install https://github.com/ProjectPODER/node-qqw.git

Quick Start

var Qqw = require('qqw');

Requests

You now have the ability to make GET requests against the API via the convenience method.

client.get(path, params, callback);

REST API

You simply need to pass the endpoint and parameters to one of convenience methods. Take a look at the documentation site to reference available endpoints.

Build for the browser

npm install -g browserify
npm run build

Authentication (DEPRECATED)

Write operations (PUT, POST, PATCH, DELETE) require credentials in the form of a valid user and formal approval from QuienEsQuien.Wiki administration. You can get these here. Read operations (GET) is openly available to third parties.

About

An asynchronous client library for the Qqw REST API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published