Traditional Culture Encyclopedia - Weather forecast - How to access the weather forecast interface remotely with java
How to access the weather forecast interface remotely with java
API URL URL = new URL("/data/"+city id+"。 Html ") to connect with the Central Meteorological Observatory; URL connection connection data = URL . open connection(); connection data . setconnecttimeout( 1000);
- Previous article:Composition in the cold wind
- Next article:Best viewing place for meteor shower in 2020
- Related articles
- Fishing weather in Qinhuangdao
- English words for weather, clothes and taste
- Where is the lavender sea of flowers in Xinjiang
- Format of hotel good night greeting card
- What is the weather like in Beijing now? What is suitable for traveling?
- The traffic jam during the holiday is really interesting.
- Words describing cool weather
- What cities are there in southern Guangdong?
- What should I pay attention to during military training? It's too hot, how to maintain it?
- Which place is more prone to lightning in warm areas or dry and cold areas?