Giter Site home page Giter Site logo

restler's Introduction

Restler NPM Version Node Version Downloads

(C) Dan Webb ([email protected]/@danwrong) 2011, Licensed under the MIT-LICENSE

An HTTP client library for node.js. Hides most of the complexity of creating and using http.Client.

See Version History for changes

Installing

npm install restler

Running the tests

npm test

Features

  • Easy interface for common operations via http.request
  • Automatic serialization of post data
  • Automatic serialization of query string data
  • Automatic deserialization of XML, JSON and YAML responses to JavaScript objects
  • Provide your own deserialization functions for other datatypes
  • Automatic following of redirects
  • Send files with multipart requests
  • Transparently handle SSL (just specify https in the URL)
  • Deals with basic auth for you, just provide username and password options
  • Simple service wrapper that allows you to easily put together REST API libraries
  • Transparently handle content-encoded responses (gzip, deflate)
  • Transparently handle different content charsets via iconv-lite

API

request(url, options)

Basic method to make a request of any type. The function returns a RestRequest object that emits events:

events

  • complete: function(result, response) - emitted when the request has finished whether it was successful or not. Gets passed the response result and the response object as arguments. If some error has occurred, result is always instance of Error, otherwise it contains response data.
  • success: function(data, response) - emitted when the request was successful. Gets passed the response data and the response object as arguments.
  • fail: function(data, response) - emitted when the request was successful, but 4XX or 5XX status code returned. Gets passed the response data and the response object as arguments.
  • error: function(err, response) - emitted when some errors have occurred (eg. connection aborted, parse, encoding, decoding failed or some other unhandled errors). Gets passed the Error object and the response object (when available) as arguments.
  • abort: function() - emitted when request.abort() is called.
  • timeout: function(ms) - when a request takes more than the timeout option eg: {timeout:5000}, the request will be aborted. error and abort events will not be called, instead timeout will be emitted.
  • 2XX, 3XX, 4XX, 5XX: function(data, response) - emitted for all requests with response codes in the range (eg. 2XX emitted for 200, 201, 203).
  • actual response code: function(data, response) - emitted for every single response code (eg. 404, 201, etc).

members

  • abort([error]) Cancels request. abort event is emitted. request.aborted is set to true. If non-falsy error is passed, then error will be additionally emitted (with error passed as a param and error.type is set to "abort"). Otherwise only complete event will raise.
  • retry([timeout]) Re-sends request after timeout ms. Pending request is aborted.
  • aborted Determines if request was aborted.

get(url, options)

Create a GET request.

post(url, options)

Create a POST request.

put(url, options)

Create a PUT request.

del(url, options)

Create a DELETE request.

head(url, options)

Create a HEAD request.

patch(url, options)

Create a PATCH request.

json(url, data, options)

Send json data via GET method.

postJson(url, data, options)

Send json data via POST method.

putJson(url, data, options)

Send json data via PUT method.

patchJson(url, data, options)

Send json data via PATCH method.

Parsers

You can give any of these to the parsers option to specify how the response data is deserialized. In case of malformed content, parsers emit error event. Original data returned by server is stored in response.raw.

parsers.auto

Checks the content-type and then uses parsers.xml, parsers.json or parsers.yaml. If the content type isn't recognised it just returns the data untouched.

parsers.json, parsers.xml, parsers.yaml

All of these attempt to turn the response into a JavaScript object. In order to use the YAML and XML parsers you must have yaml and/or xml2js installed.

Options

  • method Request method, can be get, post, put, delete. Defaults to "get".
  • query Query string variables as a javascript object, will override the querystring in the URL. Defaults to empty.
  • data The data to be added to the body of the request. Can be a string or any object. Note that if you want your request body to be JSON with the Content-Type: application/json, you need to JSON.stringify your object first. Otherwise, it will be sent as application/x-www-form-urlencoded and encoded accordingly. Also you can use json() and postJson() methods.
  • parser A function that will be called on the returned data. Use any of predefined restler.parsers. See parsers section below. Defaults to restler.parsers.auto.
  • xml2js Options for xml2js
  • encoding The encoding of the request body. Defaults to "utf8".
  • decoding The encoding of the response body. For a list of supported values see Buffers. Additionally accepts "buffer" - returns response as Buffer. Defaults to "utf8".
  • headers A hash of HTTP headers to be sent. Defaults to { 'Accept': '*/*', 'User-Agent': 'Restler for node.js' }.
  • username Basic auth username. Defaults to empty.
  • password Basic auth password. Defaults to empty.
  • accessToken OAuth Bearer Token. Defaults to empty.
  • multipart If set the data passed will be formatted as multipart/form-encoded. See multipart example below. Defaults to false.
  • client A http.Client instance if you want to reuse or implement some kind of connection pooling. Defaults to empty.
  • followRedirects If set will recursively follow redirects. Defaults to true.
  • timeout If set, will emit the timeout event when the response does not return within the said value (in ms)
  • rejectUnauthorized If true, the server certificate is verified against the list of supplied CAs. An 'error' event is emitted if verification fails. Verification happens at the connection level, before the HTTP request is sent. Default true.
  • agent HTTP Agent instance to use. If not defined globalAgent will be used. If false opts out of connection pooling with an Agent, defaults request to Connection: close.

Example usage

var rest = require('./restler');

rest.get('http://google.com').on('complete', function(result) {
  if (result instanceof Error) {
    console.log('Error:', result.message);
    this.retry(5000); // try again after 5 sec
  } else {
    console.log(result);
  }
});

rest.get('http://twaud.io/api/v1/users/danwrong.json').on('complete', function(data) {
  console.log(data[0].message); // auto convert to object
});

rest.get('http://twaud.io/api/v1/users/danwrong.xml').on('complete', function(data) {
  console.log(data[0].sounds[0].sound[0].message); // auto convert to object
});

rest.get('http://someslowdomain.com',{timeout: 10000}).on('timeout', function(ms){
  console.log('did not return within '+ms+' ms');
}).on('complete',function(data,response){
  console.log('did not time out');
});

rest.post('http://user:[email protected]/action', {
  data: { id: 334 },
}).on('complete', function(data, response) {
  if (response.statusCode == 201) {
    // you can get at the raw response like this...
  }
});

// multipart request sending a 321567 byte long file using https
rest.post('https://twaud.io/api/v1/upload.json', {
  multipart: true,
  username: 'danwrong',
  password: 'wouldntyouliketoknow',
  data: {
    'sound[message]': 'hello from restler!',
    'sound[file]': rest.file('doug-e-fresh_the-show.mp3', null, 321567, null, 'audio/mpeg')
  }
}).on('complete', function(data) {
  console.log(data.audio_url);
});

// create a service constructor for very easy API wrappers a la HTTParty...
Twitter = rest.service(function(u, p) {
  this.defaults.username = u;
  this.defaults.password = p;
}, {
  baseURL: 'http://twitter.com'
}, {
  update: function(message) {
    return this.post('/statuses/update.json', { data: { status: message } });
  }
});

var client = new Twitter('danwrong', 'password');
client.update('Tweeting using a Restler service thingy').on('complete', function(data) {
  console.log(data);
});

// post JSON
var jsonData = { id: 334 };
rest.postJson('http://example.com/action', jsonData).on('complete', function(data, response) {
  // handle response
});

// put JSON
var jsonData = { id: 334 };
rest.putJson('http://example.com/action', jsonData).on('complete', function(data, response) {
  // handle response
});

TODO

  • What do you need? Let me know or fork.

restler's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

restler's Issues

npm

Despite the presence of a package.json file, it seems that the module is not actually published.

unspecified error on "complete" - only will return body with "error"

I am getting a strange error if I use addListener("complete") instead of addListener("error") on a post call. I thought that complete catches both errors and successes. Here is the error:

Error: Uncaught, unspecified 'error' event.
at EventEmitter.emit (events:14:15)
at EventEmitter._respond (/usr/local/lib/node/.npm/restler/1.0.0/package/lib/restler.js:101:15)
at IncomingMessage.<anonymous> (/usr/local/lib/node/.npm/restler/1.0.0/package/lib/restler.js:90:56)
at IncomingMessage.emit (events:48:20)
at HTTPParser.onMessageComplete (http:107:23)
at Client.onData [as ondata] (http:854:27)
at IOWatcher.callback (net:494:29)
at node.js:773:9

Token authentication

Is there any method to implement token authentication for all http verbs? (GET, POST,PUT, DELETE)

get method causes 400 errors

data {} should be sent via query string on get requests. It seems to be POSTing the data regardless of method? Both rest.service and rest.get currently need to have data set to null to get around this problem.

would be nice to be able to use no options on a Service

This will break down with 'Object.keys called on non-object':

var someService = new restler.Service({});
someService.get('someurl');


Will work:

var someService = new restler.Service({});
someService.get('someurl', {});


function mixin(target, source) {
if (!source)
return;

Object.keys(source).forEach(function(key) {
target[key] = source[key];
});

return target;
}

Appears to solve the problem, but a more elegant way could probably be found. Underscore's extend method does not have this problem and could also be an option.

No way to cancel a request

Sometimes you need to cancel a request and guarantees that the request callback does not get executed.

Here is an implementation (note that in Node 0.5 builds, but not 0.4.x, removeAllListeners with no arguments can be used instead of manually manipulating _events), however it is apparently incorrect as I find the callback still gets executed and I need to manually check the .cancelled key in my callback:

restler.Request.prototype.cancel = function() {
    if (this.options.originalRequest) {
      this.options.originalRequest._events = {};
    }
    this._events = {};
    this.cancelled = true;
    return;
  };

Does RESTler do some kind of internal queueing or something that is preventing this from working?

Typo in example for basic auth

You've got the following in your example:

data: {
  username: 'danwrong',
  password: 'wouldntyouliketoknow',
  'sound[message]': 'hello from restler!',
  'sound[file]': rest.file('doug-e-fresh_the-show.mp3', 'audio/mpeg')
}

which should read:
username: 'danwrong',
password: 'wouldntyouliketoknow',
data: {
'sound[message]': 'hello from restler!',
'sound[file]': rest.file('doug-e-fresh_the-show.mp3', 'audio/mpeg')
}

'error' event on http.Client not caught

When an HTTP request fails, for example with connection refused (ECONNREFUSED), an 'error' event is triggered on the HTTP client object, not the request object.

This means 'error' events on the client should be caught and reported through the 'error' callback.

Reference: nodejs/node-v0.x-archive#136

Implement Digest Authorization

Might have a go at it myself, but I'm unsure when I'll have time to do it and there's likely more qualified people around here that might give it a go, so here's a ticket for it ;)

connection reset results in no response

Running curl on http://www.westnipissingouest.ca results in the following:

* Recv failure: Connection reset by peer
* Closing connection #0

The following code will simply hang.

var rest = require('./')

var done = false
rest.get('http://www.westnipissingouest.ca').on('complete', function(data, err) {
  done = true
  sys.puts(data)
  sys.puts(err)
})

;(function loopUntilDone() {
  if (!done) process.nextTick(loopUntilDone)
})()

Running restler behind a proxy

It seems that it's not possible to issue requests if nodejs runs behind a (non-transparent) proxy. This is won't play well in corporate environments for instance.
Is there a solution for configuring a proxy server IP/port in Restler?

MultiPart does not work, parameters used wrong

From multipartform.js:
189: write: function(stream, data, boundary, callback) {

From restler.js:
146: multipart.write(this.request, this.options.data, function() {

Changes resler.js:
146: multipart.write(this.request, this.options.data, multipart.defaultBoundary, function() {

Without the changes the boundary set in the header will be the defaultBounary by multipart and it will be send with the function used as a boundary like:
--function () { self.request.end(); }--

Wireshark:
0110 73 65 0d 0a 0d 0a 36 38 0d 0a 2d 2d 66 75 6e 63 se....68 ..--func
0120 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 20 20 tion () {.
0130 20 20 73 65 6c 66 2e 72 65 71 75 65 73 74 2e 65 self.r equest.e
0140 6e 64 28 29 3b 0a 20 20 20 20 20 20 7d 0d 0a 43 nd();. }..C
0150 6f 6e 74 65 6e 74 2d 44 69 73 70 6f 73 69 74 69 ontent-D ispositi

text/javascript Content-Type

I was briefly puzzled that when getting data from facebook the "auto" parser didn't work.

Turns out that facebook is sending the content-type as 'text/javascript; charset=UTF-8'

A little bit old-school but the 'auto' type might want to consider this to be one of the JSON content-types.

I guess it depends on whether or not it's more common that people fetch JSON data with this (incorrect) content-type or if they would sometimes use restler to download actual javascript code which they do not want to parse to JSON.

Requesting an invalid domain returns some weird data

The following code:

    restler.get('http://invaliddomainname/').addListener('success',
        function(data) {
            console.log(data);
        }
    );

prints this weird shit to the console:

<html>
    <head>
        <title>  </title>
        <script type="text/javascript">
        function bredir(d,u,r,v,c){var w,h,wd,hd,bi;var b=false;var p=false;var s=[[300,250,false],[250,250,false],[240,400,false],[336,280,false],[180,150,false],[468,60,false],[234,60,false],[88,31,false],[120,90,false],[120,60,false],[120,240,false],[125,125,false],[728,90,false],[160,600,false],[120,600,false],[300,600,false],[300,125,false],[530,300,false],[190,200,false],[470,250,false],[720,300,true],[500,350,true],[550,480,true]];if(typeof(window.innerHeight)=='number'){h=window.innerHeight;w=window.innerWidth;}else if(typeof(document.body.offsetHeight)=='number'){h=document.body.offsetHeight;w=document.body.offsetWidth;}for(var i=0;i<s.length;i++){bi=s[i];wd=Math.abs(w-bi[0]);hd=Math.abs(h-bi[1]);if(wd<=2&&hd<=2){b=true;p=bi[2];}}if(b||(w<100&&w!==0)||(h<100&&h!==0)){if(p&&self==parent){self.close();return;}return'/b'+'anner.php?w='+w+'&h='+h+'&d='+d+'&u='+u+'&r='+r+'&view='+v;}else{return c;}}
        </script>
    </head>
    <body onLoad="window.location = bredir('', 'invaliddomainname', '', 'error', '/main?url=invaliddomainname');" style="margin: 0px;">
        <noscript>
            <iframe frameborder="0" src="/main?url=invaliddomainname" width="100%" height="100%"></iframe>
        </noscript>
    </body>
</html>

What the hell is going on?

Options for the xml2js parser

Hi Dan,

I'd like to hand over something other than the default options to the xml2js constructor, like this.

instead of:

var parser = new xml2js.Parser();

I'd like to have it do

var parser = new xml2js.Parser({normalize: false});

Would it be possible to somehow give restler the options object so it constructs xml2js with it?

(The normalizer otherwise destroys valueable whitespace, that's why...)

Regards,
Joris

npm

The module is not published.

Emitting xml2js error in console

A call somewhere is causing the following error to be continually emitted in stdout:

{ stack: [Getter/Setter],
  arguments: undefined,
  type: undefined,
  message: 'Cannot find module \'xml2js\'' }

Content-Length header in multipart upload

Hi,

It looks like restler is leaving off the main Content-Length header when doing multi-part uploads (even though it is setting Content-Length headers for individual files).

Nginx is rejecting multipart uploads made from restler because the header is missing.

Take into account endless redirects

If restler is presented with an endless redirect (301) loop, it will just run forever. It should cap redirects at some limit, and emit an error if it hits that limit.

Node exits silently...

Current node.js exits without printing anything when fed this:


// http://github.com/ry/node/commit/a2d809fe902f6c4102dba8f2e3e9551aad137c0f
// http://github.com/danwrong/restler/commit/b3ac694b086761614c6402c32f374aa9898c1494
var sys = require("sys"),
  restler = require('./restler');

sys.puts("Doesn't print it"); 

error calling get on service

Calling get on a service results in a fatal error. I'm not sure if I misunderstand the purpose of the service constructor, or if this is a bug. Should I be able to call get/post/etc directly?

Failing code slightly adapted from service example:

var sys = require('util'),
    rest = require('restler');
// create a service constructor for very easy API wrappers a la HTTParty...
Twitter = rest.service(function(u, p) {
  this.defaults.username = u;
  this.defaults.password = p;
}, {
  baseURL: 'http://twitter.com'
}, {
  update: function(message) {
    return this.post('/statuses/update.json', { data: { status: message } });
  }
});

var client = new Twitter('danwrong', 'password');
client.get('/').on('complete', function(data) {
  sys.p(data);
});
node twittest.js                              

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: Object.keys called on non-object
    at Function.keys (native)
    at mixin (./node_modules/restler/lib/restler.js:10:10)
    at Service._withDefaults (./node_modules/restler/lib/restler.js:320:12)
    at Service.get ./node_modules/restler/lib/restler.js:303:38)
    at Object.<anonymous> (./twittest.js:16:8)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)
    at Array.0 (module.js:470:10)

node 0.6.2
restler 0.2.4

JSON not being automatically parsed

I recently updated to the latest version of Restler (a3dbabd) and it appears JSON responses are not being deserialized as such.

In my complete handlers, the data object is always coming back as a string, meaning I manually need to call JSON.parse on it.

I was previously using 54cd767, and the JSON was being parsed automatically by Restler.

I will try digging into this, but perhaps you have an idea of what recent change caused this?

Test Failing

Running the tests gives me:

module:238
    throw new Error("Cannot find module '" + request + "'");
          ^
Error: Cannot find module 'mjsunit'
at loadModule (module:238:15)
at require (module:364:12)
at Object.<anonymous> (/Users/jacob/code/python/appengine/icebreaker/utils/restler/test/test_helper.js:1:74)
at Module._compile (module:384:23)
at Module._loadScriptSync (module:393:8)
at Module.loadSync (module:296:10)
at loadModule (module:241:16)
at require (module:364:12)
at Object.<anonymous> (/Users/jacob/code/python/appengine/icebreaker/utils/restler/test/restler.js:1:76)
at Module._compile (module:384:23)

HTTP 303

Hi,

Looks like the code currently defines redirects as being only 301 and 302. But 303 is very commonly used, so ought to be supported as a standard form of redirect.

L.

Restler 2.x hangs on 403

Hi,

If I try a GET request on a url which returns a 403 Forbidden, Restler hangs. All was ok with 0.2.x

Is this due to a change in API? eg.

testUrl = function(url, callback) {
return restler.get(url).on('success', function(data, resp) {
  return callback(null, data);
}).on('error', function(data, resp) {
  return callback(true, data);
});
 };

With 0.2.x the error event is successfully emitted but on 2.x it isnt. Is this due to an API change or is it a bug?

Ignore and Delete

Issue is from our end, looks like restler API had changed drastically, ignore and close issue

Only one service at a time?

It seems I can only have one service at a time. I'm trying to make a scraper that pulls from one API and pushes into another, but when I do the second rest.service() call it seems to overwrite the first service I made!

var rest = require('restler')
function noop () {}
var TestA = rest.service(noop, {}, {
  log: function () {
    console.log('first')
  }
})

var TestB = rest.service(noop, {}, {
  log: function () {
    console.log('second')
  }
})

var testa = new TestA
testa.log()

var testb = new TestB
testb.log()

Getting "Uncaught, unspecified 'error' event."

I'm getting a node error when the host is unavailable. It appears that restler doesn't quite know what to do with an 'error' event?

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Uncaught, unspecified 'error' event.
at EventEmitter.emit (events.js:47:15)
at EventEmitter._respond (/home/dbrogdon/stadium/node_modules/restler/lib/restler.js:127:12)

Option to specify timeout

I couldn't find a way to specify a timeout for the requests that's different from node.js's default (60s).

It would be great if 'timeout' were one of the 'options'.

Port number missing in Host header

When the port number is anything other than 80, according to the spec, it must be included in the Host header:

A "host" without any trailing port information implies the default port for the service requested (e.g., "80" for an HTTP URL)

In practice, most clients include the port number regardless.

Update npm package

Can you update the npm package so I can get the change from require('sys') to require('util')?

Thanks,

Chris

Any request resulting in the error throws Uncaught exception

Any request resulting in the error code from the server side to client running node.js 0.6.0 and restler results in the following (or similar stack) trace:

node restler_test.js 
The "sys" module is now called "util". It should have a similar interface.

events.js:50
        throw new Error("Uncaught, unspecified 'error' event.");
              ^
Error: Uncaught, unspecified 'error' event.
    at EventEmitter.emit (events.js:50:15)
    at EventEmitter._respond (/Users/artem/.node_libraries/restler/lib/restler.js:127:12)
    at EventEmitter._fireEvents (/Users/artem/.node_libraries/restler/lib/restler.js:131:52)
    at /Users/artem/.node_libraries/restler/lib/restler.js:115:19
    at IncomingMessage.<anonymous> (/Users/artem/.node_libraries/restler/lib/restler.js:208:5)
    at IncomingMessage.<anonymous> (/Users/artem/.node_libraries/restler/lib/restler.js:200:49)
    at IncomingMessage.<anonymous> (/Users/artem/.node_libraries/restler/lib/restler.js:113:32)
    at IncomingMessage.emit (events.js:88:20)
    at HTTPParser.onMessageComplete (http.js:137:23)
    at Socket.ondata (http.js:1125:24)

Investigation showed that the problem is with the event name and is probably similar to (or same as) socketio/socket.io#476

For example changing

  _fireEvents: function(body, response) {
    if (parseInt(response.statusCode) >= 400) this._respond('error', body, response);

to

  _fireEvents: function(body, response) {
    if (parseInt(response.statusCode) >= 400) this._respond('restlererror', body, response);

Makes everything work again, but of course event is incorrect then

https context not created correctly

-FYI In order to get https working I had to replace line 61 restler.js:
//this.client.setSecure('X509_PEM');
this.client.setSecure();
This Allows node to create the context. With latest version of both node and restler.
Cheers.
Peter.

Bug in querystring.js

line 46 in querystring.js is
name = name+'[]';
it should be
name = name+'[';
and inside of the for loop should be
var tn = name+i+']';
s.push( QueryString.stringify(obj[i], sep, eq, tn) );

Default query string parameters

In the readme, there is an example of using rest.Service() to create a wrapper for Twitter. It assigns to this.defaults.username and this.defaults.password.

I need to set a default querystring parameter. There are lots of APIs that take an AppId or ClientId as a querystring parameter on every call.

I tried this:

... rest.service(function(appid) {
  this.defaults.query = { appid : appid };
}, { ...

Which does set the query property, but the mixin function overrides it when I call this.get('/theurl', options) in my wrapper function. where options has a query property.

Ideally, the mixin function would be applied to the query property as well as its parent options property.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.