0.0.16 • Published 10 years ago

node.restful.client v0.0.16

Weekly downloads
64
License
-
Repository
github
Last release
10 years ago

Create a client. Register your API. Make requests.

var client = new Client({ api: 'http://www.example.com/api/v3', token: '' });

client.register('users'); // or // client.register('users/:id', 'alias');

// GET http://www.example.com/api/v3/users client.users.get().done(funciton(){

});

client.$alias.xxxw

// GET http://www.example.com/api/v3/users/42 client.users.get(42);

client.foo.read(); // GET /rest/api/foo/ client.foo.read(42); // GET /rest/api/foo/42/ client.foo.read('forty-two'); // GET /rest/api/foo/forty-two/

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago