"PHP Public Platform Development Series"
01. Configure the interface02. Public Platform Sample Code analysis03. Subscription event (SUBSCRIBE) processing04. Simple Reply Function development05.API Weather forecast Function development
This address: http://www.phpchina.com/archives/view-43387-1.htmlThis series by Phpchina invited author @david_tang feeds, reprint please indicate the author information and this article address.
First, Introduction
The
PHP public platform development-weather forecast function development. [PHP public platform development series] 01. configure interface 02. public platform sample code analysis 03. subscribe processing 04. simple reply function development 05. API weather forecast function [PHP public platform development series] 01. configuration interface
02. public platform sample code analysis
03. subscribe processing
Abstract: In the amount of smart phone software installed, weather forecasting apps rank first. It indicates that users are very concerned about the weather. Because people need to arrange their work, vacation, and other activities according to the natural weather. Follow this article to develop a "micro-weather" apple
Building a weather tracking application in the cloud, Part 1 in Part 2 describes how to create a basic PHP application and use an online service to retrieve and store the latitude and longitude coordinates of world cities.
Now let's add the new Insights for Weather service from IBM and start to use city information from Part 1 to track the Weather in the five w
1. I included in a city.py document city name corresponding city number, and use this number to go to China weather Net query data part of the data format is like this: Cities = {' Beijing ': ' 101010100 ', ' Haidian ': ' 101010200 ', ' Chaoyang ': ' 101010300 ', ' Shunyi ': ' 101010400 ', ' Huairou ': ' 101010500 ', ' Tongzhou ': ' 101010600 ', ' changping ': ' 101010700 ', ' Yanqing ': ' 101010800 ', ' fengtai ': ' 10101090 0 ', ' shijingshan ': ' 1
In part 1th, I described how to create a basic PHP application and use an online service to retrieve and store the latitude and longitude coordinates of a world city.
Now let's add the new Insights for Weather service from IBM and start using the city information from part 1th to track the weather for your selected 5 world cities. You'll also learn how to host your final application on IBM Bluemix.
Runn
Comprehensive Information: Ink weather
Ink weather is a veteran weather software, weather data covering more than 3,000 counties and cities above county level, providing detailed weather, temperature, wind, disaster warning, life Index and other forecast information, it is
Baidu provides weather forecast query interface API, can be based on latitude/longitude/city Name query weather conditions.Interface descriptionSearch for weather results based on latitude/longitude/city nameinterface ExampleHttp://api.map.baidu.com/telematics/v3/weather?location= Beijing output=jsonak=yourkeyBaidu AK
In this article, I collected 40 sets of exquisite free weather forecast icons to share with you. These icon materials are very useful for displaying weather conditions in the weather forecast function. There are various styles of icons to choose from. I hope you can find what you need in the following icons and remember to add them to your favorites.
Mini Clouds
During Android development, we often encounter weather forecast icons. At this time, we will find a lot of online materials, and we may not find the desired results through searching, today, we have released a collection of weather forecast icons.These Icon Sets will be very helpful,With these icon settings, you can select an elegant and well-designed icon set for your applicationProgramThe actual data and
Everyone seems to be very concerned about weather forecasts. Of course, obtaining accurate weather forecasts is very useful for your travel plans and other activities. Weather forecast information can be obtained in many places, such as webpages, most smartphones or tablets. Now you can use the "wether" tool on Raspberry Pi to obtain the
This article will develop weather queries that everyone cares about every day. for example, if a user sends a message "Huanggang weather", the user will return the real-time weather conditions of Huanggang, and the weather conditions in the next two or even five days. This article will develop
Google weather API only supports querying by zip code in the United States. For example:
Http://www.google.com/ig/api? Hl = ZH-CN weather = 94043
(94043 is the zip code of Mountain View city, California, USA)In addition to the United States, you must use latitude and longitude coordinates as parameters to execute the Google weather API. For example:
Http://www.g
First, Introduction
Several previous articles on the micro-letter public platform for the opening and simple use did a simple introduction, but did not relate to the actual use of the problem, such as weather inquiries, bus inquiries, express inquiries. The next few articles will be used in real life will often use some of the functions of the development to explain, for the reader's reference.
This article will be on the daily concern of the
There are various methods to provide weather information on Ubuntu Desktop. You can use UnityDash and desktop applications to obtain weather information, such as Typhoon. However, the Panel plug-in that allows you to quickly query weather conditions and temperature data and obtain a large amount of meteorological data with one mouse click is the most popular
The Google Weather API only supports U.S. regions using ZIP codes for queries, such as:http://www.google.com/ig/api?hl=zh-cnweather=94043(94043 for Mountain View, California, United States ZIP code)In addition to the United States outside the region need to use latitude and longitude coordinates as a parameter to run the Google Weather API, such as:http://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,1
The Google Weather API only supports U.S. regions using ZIP codes for queries, such as:http://www.google.com/ig/api?hl=zh-cnweather=94043(94043 for Mountain View, California, United States ZIP code)In addition to the United States outside the region need to use latitude and longitude coordinates as a parameter to run the Google Weather API, such as:http://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,1
Take a look at my own implementation of a weather forecast application process, this is not a completed application, each write down is the implementation of a phase, each phase to solve a problem.1. Get the JSON data for the weather forecastBecause I did not want to use XML, in the evening to check for a long time to find a can be used to return the JSON weather
The Google Weather API only supports U.S. regions using ZIP codes for queries, such as:http://www.google.com/ig/api?hl=zh-cnweather=94043(94043 for Mountain View, California, United States ZIP code)In addition to the United States outside the region need to use latitude and longitude coordinates as a parameter to run the Google Weather API, such as:http://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.