sshirokov / convorse Goto Github PK
View Code? Open in Web Editor NEWIt's a Convore.com client library.
It's a Convore.com client library.
Convorse is a Convore client library. #TODO: Description WARNING: This is stupidly early code. As of writing only GET requests work, and the streaming interface isn't yet wired correctly. This only proves that the API is compiled to the correct call chains. Quick Demo: This demo will spin up the API, authenticated by the user/pass combo on the command line and launch into a repl. The context will contain 'client' which is an instance of the library and 'callback' a generic callback to output the result of a request. It has the signature callback(error, data). ./demo.js username password [..A bunch of debug crap scrolls by as the API interface is compiled..] node>> client.api.groups().request(callback) [..A bunch of debug crap as the call chain is traversed..] Status: 200 Data: { groups: [ { date_latest_message: 1297427717.133038, topics_count: 1, members_count: 2, name: 'Convorse', creator: [Object], url: '/convorse/', date_created: 1297427687.883373, unread: 0, id: '2221', slug: 'convorse' } ] } // Call chain is generated matching the API description, including variable parameters to functions. node>> client.api.groups(2221).topics().request(callback) [..Some more debug spam..] Status: 200 Data: { topics: [ { name: 'I am the pusher robot', creator: [Object], url: '/convorse/i-am-the-pusher-robot/', id: '4144', message_count: 1, date_latest_message: 1297427717.133038, date_created: 1297427709.532413, unread: 0, slug: 'i-am-the-pusher-robot' } ] } node>>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.