[Add] TencentEffect_S1-00 3.0.1.5
[CocoaPods.git] / Specs / 2 / 8 / e / RxOpenWeatherMap / 0.0.5 / RxOpenWeatherMap.podspec.json
blobb0c3d2017ab8ac9038e78a0e2acb8dba871e0827
2   "name": "RxOpenWeatherMap",
3   "version": "0.0.5",
4   "summary": "Basic Open Weather Map API handling response data to observable decodable objects with RxSwift",
5   "description": "## Installation\nSimply add RxOpenWeather into your Podfile\n```\npod 'RxOpenWeather'\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 RxOpenWeather\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/RxOpenWeather",
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/RxOpenWeather.git",
17     "tag": "0.0.5"
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"