Contact info@graphistry.com for current versions of the below.

NodeJS (Deprecated 1.0 API)


var request = require('request');

//jsonGraph * (err? -> ())? -> ()
function upload (data, cb) {
    cb = cb || function (err, data) {
        if (err) {
            return console.error('exn', err);
        } else {
            return console.log('url: https://hub.graphistry.com/graph/graph.html?dataset=' + data.dataset);
        }
    };

    var options = {
        uri: 'https://hub.graphistry.com/etl?key=' + YOUR_API_KEY_HERE,
        method: 'POST',
        json: data
    };

    request(options,
        function (err, resp, body) {
            return cb(err, body);
        });
}

Python

See PyGraphistry.

Set api=3 to enable the Arrow and JWT protocols:


import graphistry
graphistry.register(api=3, username="...", password="...")