Skip to content

Instantly share code, notes, and snippets.

View Kvit's full-sized avatar

Vitali Khvatkov Kvit

View GitHub Profile
@Kvit
Kvit / getImageAccessURL
Last active August 29, 2015 14:20
JASON-RPC Example of Simagis Live Image Access API with compression
// Example of Json-RPC API for Simagis Live Server, learn more about Json-RPC at http://json-rpc.org/
// Json-RPC Library for JavaScript http://github.com/gimmi/jsonrpcjs/
//
// 1. Create Json-RPC Object
var rpc = new jsonrpc.JsonRpc('http://host.simagis.com/live-json-rpc/api');
var workspace = 'vk';
var projectId = '053e8d4d-ebfc-488a-bc2c-c826e41fe43d';
projectId = prompt('Enter Project ID', projectId );