HTTP API to consume, query and subscribe to streaming and historical data.
Robust, clean APIs that let you focus on building great stuff.
curl -XPUT https://$user:$pass@scalr.api.appbase.io/$app/product/1 -d \ '{ "name": "A green door", "price": 12.50, "tags": ["home", "green"], "stores": ["Walmart", "Target"] }'
curl -N https://$user:$pass@scalr.api.appbase.io/$app/product/1?stream=true
curl -N -XPOST https://$user:$pass@scalr.api.appbase.io/$app/product/_search?stream=true -d \ '{ "query": { "match": { "name": "A green door" } } }'
appbaseRef.index({ type: "product", id: "1", body: { name: "A green door", price: 12.50, tags: ["home", "green"], stores: ["Walmart", "Target"] } })
appbaseRef.getStream({ type: "product", id: "1" }).on("data", function(res) { console.log(res) })
appbaseRef.searchStream({ type: "product", body: { query: { match: { name: "A green door" } } } }).on("data", function(res) { console.log(res) })
product := `{ "name": "A green door", "price": 12.50, "tags": ["home", "green"], "stores": ["Walmart", "Target"] }` res, err = client.Index().Index($app).Type("product").Id("1").Body(product).Do()
initialResponse, responseStream, errorStream, err := appbaseRef .GetStream().Type("product").Id("1").Do()
initialResponse, responseStream, errorStream, err := appbaseRef. SearchStream().Type("product").Body(`{ "query": { "match": { "name": "A green door" } } }`).Do()
Transform REST API endpoints to streaming APIs. Demo Github
A live feed of meetup RSVPs searchable by city and tags. Demo Blog Github
A twitter like newsfeed with follow and search functionality. Demo Blog Github
Google like slick search for your site. Demo Blog Methi.io
Visualize realtime Foursquare Check-ins on a map. Demo Blog Github