CWBOpenDataClient is an iOS library which helps to access forecasts and various open data provided by Central Weather Bureau (中央氣象局).
The class provides several caterories, and each category contains
methods to help fetching data asynchronously. CWBOpenDataClient uses
Bolts framework to do these asynchronous tasks, so you will get a
BFTask object after calling any method, and you can then provide a
callack block by calling continueWithBlock:
.
To know more about Bolts framework and the idea about "Promises", please visit Bolts' webpage.
For furthur information about CWB's open data, please visit http://opendata.cwb.gov.tw.
To run the example project; clone the repo, and run pod install
from
the Project directory first.
CWBOpenDataClient depends on NSURLSession, thus, it required iOS 7 or above.
CWBOpenDataClient is available through CocoaPods, to install it simply add the following line to your Podfile:
pod "CWBOpenDataClient"
Weizhong Yang, a.k.a zonble. zonble@gmail.com
CWBOpenDataClient is available under the MIT license. See the LICENSE file for more info.