Check out our High Performance Batch Processing API: Match and Enrich Data Using CSV/TSV Files as Input Data to our APIs Learn More

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


High-Performance Batch Processing: Call our APIs with Text Files as Input.
Perform bulk data enrichment using CSV or TSV files.
More...
Available in the AWS Marketplace.
Optionally add usage billing to your AWS account.
More...
See our Snowflake Native Application. Achieve Data Quality built-in to SQL statements.
Identify inconsistent and duplicate data quickly and easily in data tables and files.
More...
Connect Directly to Cloud SQL Databases and Perform Data Quality Analysis
Achieve better, more consistent, more usable data.
More...
Try our Pay-as-you-Go Option
Start increasing the usability and value of your data - start small and grow with success.
More...
Launch Our Entire Data Quality Matching System on an AWS EC2 Instance
Deploy to the instance type of your choice in any AWS data center globally. Start analyzing data and identifying matches across many databases and file types in minutes.
More...
Free Usage Credits
Register for an Interzoid API account and receive free usage credits. Improve the value and usability of your strategic data assets now.
Automate API Integration into Cloud Databases
Run live data quality exception and enhancement reports on major Cloud Data Platforms direct from your browser.
More...
Check out our APIs and SDKs
Easily integrate better data everywhere.
More...
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...
Documentation and Overview
See our documentation site.
More...
Product Newsletter
Receive Interzoid product and technology updates.
More...