Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Injecting Real-time Live Weather Data into a Chat App

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
2,311
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

The blog post introduces a serverless approach to building a chat application using PubNub BLOCKS, aiming to integrate weather information into chat messages without the need for server infrastructure. Specifically, it describes the development of an Air Traffic Control (ATC) Chat app that enables operators in different locations—such as Anchorage, Vancouver, Seattle, and Portland—to share weather data alongside regular chat messages. This functionality is achieved by intercepting chat messages, fetching weather information via the Bluemix Weather Company API, and then combining these data streams using PubNub's bi-directional channels for real-time communication. The post provides insights into the orchestration of third-party data with chat messages, highlighting the ease of deployment using BLOCKS while offering a complete source code repository on GitHub for users to explore and implement. Additionally, it encourages users to explore the new Chat Resource Center for further guidance on chat application development.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 4 88 21 9 -34%
Real-time 3 343 74 25 +57%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.