PubNub Global Traffic.

A sampling of the full realtime, global traffic moving through the PubNub Data Streams Network.
Author: Ambert Ho

Consume This Stream
    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    9. 9
    10. 10
    11. 11
    12. 12
    13. 13
  1. 1. Load the PubNub javascript SDK:
  2.  
  3. <script src="http://cdn.pubnub.com/pubnub.min.js">
  4.  
  5. 2. Run this code in the console!
  6.  
  7. PUBNUB.init({
  8. subscribe_key: 'e19f2bb0-623a-11df-98a1-fbd39d75aa3f'
  9. }).subscribe({
  10. channel : 'rts-xNjiKP4Bg4jgElhhn9v9-geo-map',
  11. message : function(msg){ console.log(msg) }
  12. });
    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    9. 9
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
  1. 1. Install the PubNub Ruby SDK as a gem:
  2.  
  3. gem install pubnub
  4.  
  5. 2. Run this code in IRB!
  6.  
  7. require 'pubnub'
  8.  
  9. pubnub = Pubnub.new(
  10. :subscribe_key => 'e19f2bb0-623a-11df-98a1-fbd39d75aa3f'
  11. ).subscribe(
  12. :channel => 'rts-xNjiKP4Bg4jgElhhn9v9-geo-map'
  13. ) { |envelope| puts envelope.message }
    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    9. 9
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
  1. 1. Install the PubNub Python SDK via pip:
  2.  
  3. pip install Pubnub
  4.  
  5. 2. Run this code in the Python shell!
  6.  
  7. from Pubnub import Pubnub
  8.  
  9. def receive(msg):
  10. print(msg)
  11. return True
  12.  
  13. pubnub = Pubnub(
  14. 'demo',
  15. 'e19f2bb0-623a-11df-98a1-fbd39d75aa3f'
  16. ).subscribe({
  17. 'channel' : 'rts-xNjiKP4Bg4jgElhhn9v9-geo-map',
  18. 'callback' : receive
  19. })
Wed Dec 16 2015 14:42:19:922 :
{"geo_map":[{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"813ff6c7ead283b076e8ad3e957ef9241dc600d5966ac6c85c871cb5bb134248"},{"lat":39.043701171875,"lng":-77.48750305175781,"geos":[],"channel":"881555f43619938c18a4d2756e593d6dcbcb9e3d8f21bcdfbb822bf0408f71d7"},{"lat":39.56449890136719,"lng":-75.59700012207031,"geos":[[39.56449890136719,-75.59700012207031]],"channel":"cb0ce5bd9c46a2fec6a938357cfed47e499029bfedabb225ca2f11b2c3cb4873"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"2e9d7c7bd4f2abe54e62718f724a3139d2476d7b3691f89ce9f2fbf47dda33d6"},{"lat":38.650001525878906,"lng":-90.53340148925781,"geos":[],"channel":"22c2d79f933373b562b8d95d7c6c80257e5935209135e8f7af69447202c4d2d5"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"c3749ee0bdb87e8a529f449558f7afedce61350206342e87f8743a90d796c095"},{"lat":null,"lng":null,"geos":[[46.08330154418945,-64.7667007446289]],"channel":"150a6c3c0a7655971d6f808c20f6b9f261d620a919f015198eeacc2a32f4f310"},{"lat":39.043701171875,"lng":-77.48750305175781,"geos":[],"channel":"05e8c9be917fc2e4f6dbfc4298d673dd568852c39e9118ad95f906e577c23672"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"61defa3c363cb2a9ec91b0bf7287f9e69feb6ae0771c699a606bac28100344d6"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"6aa32f873674b7ac4e7182f7de4952a27a6107a6b56c682367e18798713b08cd"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"4c853b0f9e3238cd6332433c6e1a84e6253cc1ed62914aaf6e9eba4fd01e753c"},{"lat":33.524200439453125,"lng":-82.09259796142578,"geos":[],"channel":"cf94fffb094e1605f55bb32de361dcfcd25ed7bb6988a22d0118f8afa8b00c98"},{"lat":null,"lng":null,"geos":[[29.57309913635254,-82.40760040283203]],"channel":"79b9be1ff37814eaf4dcce2c6f130a3592d5db1976f92301c5358e11ed362217"},{"lat":39.56449890136719,"lng":-75.59700012207031,"geos":[],"channel":"21413566de07532c610e77617d96efcf0764dd0a41bb2638d51e76552e73c0e8"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[[9,-79.5167007446289]],"channel":"df7ff386f35bcff5fcf607d68329737e27c5c60487215439951185a7d4a4836f"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"c6d84f60880fc4f18dd2117b5ba6ea97402016c1933f14edcb4ff89bf8690105"},{"lat":null,"lng":null,"geos":[[39.162601470947266,-76.62470245361328]],"channel":"d84595bf2b2606883fcaa9432ff93bbea1c4eab62d0bd7e23e15732e81fe22d8"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"8da4c56b4edd02b270c627df1b9237a52428203c9d43119c7207ff6a3078792a"},{"lat":null,"lng":null,"geos":[[40.5525016784668,-74.29149627685547]],"channel":"b3175a50a6e8f0445cecfc2922e95c4fc8be8de467f63e984e93c79447443359"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"df076464ce2ff36a358f3dba3e53ab56cc18550d23a8c0a49ded2c9c39ae6764"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"e5f7701711c796787e6b098e0ef20f0f7801aed0b6fb3bf6d45767bcc961cb73"},{"lat":39.56449890136719,"lng":-75.59700012207031,"geos":[],"channel":"3841434f20331a4c9a0d5def795ec77ec1ce333469d27d5fcc5e883172bcbdaf"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"1631a25923afa68b7afd6db4085ab99695cefd5452a5b1cc2824b8848e8a9a94"},{"lat":40.72370147705078,"lng":-73.70480346679688,"geos":[],"channel":"dd65daeea6cbcccf38025688231ad610de10cebb9642b42331a2f8fefd00e9c9"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"bec4e00e7f1f0f9cc70543573c2fd64405e7a7b7e407d039e4c47552319b04ce"},{"lat":39.043701171875,"lng":-77.48750305175781,"geos":[],"channel":"7769eb12ed43554ff72bf927daa11a74e6291d70d3cf6ce2ba7a46225990cd28"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"3dafa817e64e6c6ed57e341beecaed9502c9cb58001f2d3369d92fd73604b779"},{"lat":39.92890167236328,"lng":116.38829803466797,"geos":[[39.92890167236328,116.38829803466797]],"channel":"221e53d758162c19ed1a2016330b6657234988e764dcd65af447415af199b7d8"},{"lat":null,"lng":null,"geos":[[54,-2]],"channel":"7414ad30c5742809543c58e3dbe966fd6318e0cfab50333be5df6706e0b3aa91"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"f81b1af357457b4a47054447e8590a98a3d43987c5f63c3a5fed3d854268c7ed"},{"lat":null,"lng":null,"geos":[[54,-2]],"channel":"e29d4dc2408a3261dfeeaa9c3f8466287d098f10985360ea59dc51cd47828b1e"},{"lat":40.84239959716797,"lng":-73.85559844970703,"geos":[[40.73910140991211,-74.19450378417969]],"channel":"eb6fc4bb152b69799a2ee98f9d311647c6f27f9ca024de9265e51576d9386204"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"161326253f720cb662604e370e4b0308bc7133e42f766c6e15cf884eb7a57822"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"18f8b58260558e02cef0c32768c356f3025771f605b028f2286b7ad698594529"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"c1e49a01a9c07f83fdc09be26f9f416fee1304ab32a9888710616255bfd3cc85"},{"lat":null,"lng":null,"geos":[[33.22570037841797,-86.86519622802734]],"channel":"066cd84a60b3b1ec0056d9da2d1f97b45a76fa0fcde652e377e5edce9f970159"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"f44fec6da8107520d97eedf37acb9714dcfe95e56bd8f56213e7d0d1657d221c"},{"lat":null,"lng":null,"geos":[[40.779998779296875,-73.19830322265625]],"channel":"d816adc188e0a7c6e588e6cf32335e9d2c88bd800dafd34359c77aaad6051c11"},{"lat":39.56449890136719,"lng":-75.59700012207031,"geos":[],"channel":"e206b1ae2918e217a2a5e03c57eebcdab7f43a2db70fafff24ac2618bd767930"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"50aef15b6d968370129a42061212937277c72eed681a4999aba401070683dceb"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"188ee06067601b652e636bb6dfc24cc00e7812a618914e993a1820522442ca23"},{"lat":null,"lng":null,"geos":[[39.95719909667969,-74.91619873046875]],"channel":"6895ac849be2fedea58800e54108800d222ca68ef822bf0516ac001f613a6cab"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"2b2075b7d87793d313edb0ead774dd761381a13255b720b8d90aefbc4f32137d"},{"lat":null,"lng":null,"geos":[[41.01129913330078,-73.86540222167969]],"channel":"0f682b5197c037a1f2c559859f39955cc41a8d18ef4b9f3ca97452fae140aa0f"},{"lat":null,"lng":null,"geos":[[54,-2]],"channel":"66b747eeee00b03d8fa7507be401a0987839c7100009755a9b394d472f32ebd9"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"7a4d2b62176e356ebc6bc523e0b33061362ccdf5c98a650fabf787eaacf48d68"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"381e2947a7d9d18a80bd38c2b88514654878c7aba399fde29ad8103d62590def"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"e366e44187252f574fce7a2df286fa6858f6faeb76073219efb03a8094cc1c39"},{"lat":null,"lng":null,"geos":[[41.70009994506836,-71.41619873046875]],"channel":"c16a312e765e54b477903ad67b9fbd9d7992e8dbc3ecbf78adfaac866f272b4c"},{"lat":38.914398193359375,"lng":-77.07630157470703,"geos":[[38.914398193359375,-77.07630157470703]],"channel":"306eec9d2122464cd3f6d71e503ba6927618bc542b13706bb7ceaa09372ae643"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"47014bd752611f9d0f89c8206b60e278c4d9a26184d54e27cc29e81fe3b4aab8"},{"lat":null,"lng":null,"geos":[[41.395999908447266,-71.66310119628906]],"channel":"753c3978592c87ac40ab01908a4ae057a62042377b4fda78a95651f117bc446f"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"6e378a52fde48fdad3c34f503f8cee036eeba1a42b88b9990f1e5fbd82f94adf"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"8701e55f1652374f30035af634aa0f3b2eb931ba3636f20490ec968f2f120132"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"fb61612984edcb75f4034397ed865a126357a6fdac65954ff5a3099114d9b31b"},{"lat":null,"lng":null,"geos":[[27.900299072265625,-82.30239868164062]],"channel":"f05daa450a5fdfc492c59f71849097acaa8c6b96e9e4ba716a3b4b792fdcc4f5"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"85df56e8a9008321e958f847bcbfa545b735cdacf3750bce874332820e47831b"},{"lat":null,"lng":null,"geos":[[33.30720138549805,-87.58589935302734]],"channel":"71368de498d5a9c94f7db39a520c9e1e1cb59610b4587cb25a3834f7366eb879"},{"lat":35.88959884643555,"lng":-78.92440032958984,"geos":[],"channel":"6f31d88bcf17e626a19bd13bdf8474f109da1a69a3f36d0bb3abc2ae33978320"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"f0297f6e12f769d9dcc860168bb26e1522aac594bb5aaef05224a2aea62671a6"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"99b7a76106809f1e1eb93861c892aea87dbea7dbdecf03feead7572db6c160e8"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"1c3f641e6f5846c6a31c39395d17192167c154c3b8c6945876254d5d86cd7216"},{"lat":null,"lng":null,"geos":[[42.28730010986328,-71.35240173339844]],"channel":"5b559a4bd53b80745b7e48c01fedb8e9d7c743b4b068dc106bee5c51640726cb"},{"lat":-91,"lng":-181,"geos":[],"channel":"28a31745e999888c17ad6bc0efb032e4e967e8e1b4ee6467aebe5aaf76685b9e"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"c276647bdf220fba4cebc7d7a506d555e5d2f08465d7343039c858763538a88b"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"1292413fb7c0f36168da1d58cdaf0499a26a5cf1c1f0c71e07175048c6b3bafc"},{"lat":49,"lng":32,"geos":[[50.43330001831055,30.516700744628906]],"channel":"63131e6dd32a2250f5023e66cbfc064e1e4db6f44df6db9ee92921de9625dc17"},{"lat":40.5525016784668,"lng":-74.29149627685547,"geos":[],"channel":"892c1572d9c193e7005366962999984f905692a1a08c730090bf8a3f013d994c"},{"lat":null,"lng":null,"geos":[[18.38759994506836,-66.11080169677734]],"channel":"a34ad6572f37a7bc5988d744ab77a4a92b734fa985110d700697ec2bc6dc8633"},{"lat":39.56449890136719,"lng":-75.59700012207031,"geos":[],"channel":"a6ca0dc4527e34ac5865151d4a75ec0fa88fdd7edb89c662b753ffac7972103d"}
Stream Details
Channel: rts-xNjiKP4Bg4jgElhhn9v9-geo-map
Subscribe key: e19f2bb0-623a-11df-98a1-fbd39d75aa3f
To use this stream in your project, copy/paste the snippets above or subscribe to this channel and subkey
Schema
{
}

Try PubNub Today

Try Our APIs
  • 1M Transactions
  • 1GB Data Persistence
  • All major Features