data engineering apis

Use Latitude and Longitude in Mobile Devices to Get Current Weather Conditions

by Interzoid Team


Posted on May 12th, 2020


Use Latitude and Longitude in Mobile Devices to Get Current Weather Conditions

Now it's easy to add weather to mobile applications using geolocation data from a mobile device. Using latitude and longitude coordinates as input to Interzoid's US Weather by Lat & Long API, one can retrieve the current weather from the closest weather station (there are nearly 2000 across the United States).

Weather data can be useful, not just for knowing current weather conditions, but one can create innovative applications that leverage this real-time data. A simple example would be to market products and services relevant to a mobile device user's current temperature. If it's raining, a notification can be sent to make sure someone leaving their house grabs the umbrella.

Here is sample input and output from the Interzoid Lat & Long Weather API that collects real-time weather readings from thousands of weather monitoring stations around the United States:

Input (you can also put the API license key in the authorization header if preferred):

https://api.interzoid.com/getweatherlatlong?license=f8smc6s****&lat=37.7749&long=-122.4194

Output:

{"City":"San Francisco","State":"CA","TempF":"62.0","TempC":"16.7","Weather":"Partly Cloudy and Breezy", "WindMPH":"25.3","WindDir":"West","RelativeHumidity":"62","VisibilityMiles":"10.00","Code":"Success","Credits":9193}

Here are some more examples of weather data that can be obtained via the API:

Examples of live weather data via API

To explore further, here are some links:

Interzoid's Weather APIs

Interzoid's Weather by Lat & Long documentation


Cloud Native Data Engineering: Solutions for Databases
Create new, better, higher-value data based on your existing data
More Info...
Free Data Engineering Trial Credits
Register for an Interzoid API account and receive free trial credits. See how your strategic data assets can be improved.
Automate API Integration into Cloud Databases
Run live data quality exception and enhancement reports on major Cloud Data Platforms direct from your browser.
More Info...
Example API Usage Code on Github
Sample Code for invoking APIs on Interzoid in multiple programming languages
Business Case: Cloud APIs and Cloud Databases
See the business case for API-driven data enhancement - directly within your important datasets
More Info...

All content (c) 2018-2022 Interzoid Incorporated. Questions? Contact support@interzoid.com

201 Spear Street, Suite 1100, San Francisco, CA 94105-6164

Interested in data cleansing services?

Terms of Service
Privacy Policy
Use the Interzoid Cloud Connect Data Platform and Start to Supercharge your Cloud Data now (Free Trials): connect.interzoid.com
API Integration Option Code Examples: www.github.com/interzoid