Stream real-time data with PubNub

This tutorial will walk you through two techniques to develop an end-to-end real-time streaming application with PubNub: Using the PubNub SDK and using the HTTP Streaming endpoint.

See the data streams in action

Subscribe to the public sample streams in the demo, or clone the tutorial code and stream your own data.

Demo

Real-Time Data Streaming

Subscribe to public PubNub data streams in your browser: sensor readings, market orders, game state and Wikipedia edits. See the JavaScript code for each.

GitHub

PubNubDevelopers/Real-Time-Data-Streaming-Tutorial

The tutorial code: a Node.js publisher in real-time-pubnub-sdk and a Python HTTP Streaming script in real-time-pubnub-stream. Create a keyset, then follow the tutorial to add your keys and run them.

git clone https://github.com/PubNubDevelopers/Real-Time-Data-Streaming-Tutorial.git
View on Github

About this tutorial

In this tutorial for developing real-time data streaming applications with PubNub we will develop applications that show two different techniques for streaming data:


The NodeJS tutorial will also include Python for HTTP Streaming


Tutorial: Stream real-time data with Node.js and Python