[Add] TestFrameworkIos1 1.0.2
[CocoaPods.git] / Specs / 2 / 8 / e / RxOpenWeatherMap / 0.0.9 / RxOpenWeatherMap.podspec.json
blobfb523eeb1d6a41b5f6517343c8067a6709c36439
2   "name": "RxOpenWeatherMap",
3   "version": "0.0.9",
4   "summary": "Basic Open Weather Map API handling response data to observable decodable objects with RxSwift",
5   "description": "## Installation\nSimply add RxOpenWeatherMap into your Podfile\n```\npod 'RxOpenWeatherMap'\n```\n\n## Usage\nDeclare a OpenWeatherClient with your api key, the specific temperature unit (.celsius, .fahrenheit, .kelvin), and the optional specific language code. Then message the client to request an API call. Currently OpenWeatherClient supports two API calls - one call to get weather data and direct geocoding to get location info. Each API call returns RxSwift.Observable<Decodable>, which you can subscribe.\n  \n```\nimport RxSwift\nimport RxCocoa\nimport RxOpenWeatherMap\n\nlet disposeBag = DisposeBag()\nlet weather = PublishSubject<OneCallResponse>()\n\ndo {\n  try OpenWeatherClient(apiKey: \"PUT_YOUR_API_KEY_HERE\",\n                        temperatureUnit: .celsius,\n                        language: Locale.current.languageCode)\n    .oneCall(latitude: 25.234, longitude: -123.432)\n    .bind(to: weather)\n    .disposed(by: disposeBag)\n  } catch {\n    print(error.localizedDescription)\n  }\n```",
6   "homepage": "https://github.com/greenerchen/RxOpenWeatherMap",
7   "license": "MIT",
8   "authors": {
9     "Greener Chen": "greener@gmail.com"
10   },
11   "platforms": {
12     "ios": "11.0"
13   },
14   "swift_versions": "5.0",
15   "source": {
16     "git": "https://github.com/greenerchen/RxOpenWeatherMap.git",
17     "tag": "0.0.9"
18   },
19   "source_files": [
20     "Classes",
21     "Classes/**/*.{h,m,swift}"
22   ],
23   "exclude_files": "Classes/Exclude",
24   "dependencies": {
25     "RxSwift": [
26       "~> 6.1.0"
27     ],
28     "RxCocoa": [
29       "~> 6.1.0"
30     ],
31     "RxAlamofire": [
32       "~> 6.1.1"
33     ]
34   },
35   "swift_version": "5.0"