meteofrance-api 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +56 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.md +0 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +28 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/meteofrance_api/client.rb +275 -0
- data/lib/meteofrance_api/constants.rb +86 -0
- data/lib/meteofrance_api/helpers.rb +119 -0
- data/lib/meteofrance_api/models/place.rb +38 -0
- data/lib/meteofrance_api/models/rain/forecast.rb +11 -0
- data/lib/meteofrance_api/models/rain.rb +44 -0
- data/lib/meteofrance_api/models/warning/current.rb +44 -0
- data/lib/meteofrance_api/models/warning/full.rb +67 -0
- data/lib/meteofrance_api/models/warning/phenomenon.rb +9 -0
- data/lib/meteofrance_api/models/warning.rb +5 -0
- data/lib/meteofrance_api/models/weather/daily_forecast.rb +35 -0
- data/lib/meteofrance_api/models/weather/forecast.rb +63 -0
- data/lib/meteofrance_api/models/weather/hazard_forecast.rb +17 -0
- data/lib/meteofrance_api/models/weather.rb +89 -0
- data/lib/meteofrance_api/models.rb +4 -0
- data/lib/meteofrance_api/version.rb +3 -0
- data/lib/meteofrance_api.rb +10 -0
- data/meteofrance-api.gemspec +44 -0
- metadata +131 -0
metadata
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: meteofrance-api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Thomas Kuntz
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.3.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.3.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.17'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.17'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '5.0'
|
69
|
+
description: Wrapper around meteofrance.com non-public API. Based on Python lib https://github.com/hacf-fr/meteofrance-api
|
70
|
+
email:
|
71
|
+
- thomaskuntz67@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".travis.yml"
|
78
|
+
- CHANGELOG.md
|
79
|
+
- CODE_OF_CONDUCT.md
|
80
|
+
- Gemfile
|
81
|
+
- Gemfile.lock
|
82
|
+
- LICENSE.txt
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- bin/console
|
86
|
+
- bin/setup
|
87
|
+
- lib/meteofrance_api.rb
|
88
|
+
- lib/meteofrance_api/client.rb
|
89
|
+
- lib/meteofrance_api/constants.rb
|
90
|
+
- lib/meteofrance_api/helpers.rb
|
91
|
+
- lib/meteofrance_api/models.rb
|
92
|
+
- lib/meteofrance_api/models/place.rb
|
93
|
+
- lib/meteofrance_api/models/rain.rb
|
94
|
+
- lib/meteofrance_api/models/rain/forecast.rb
|
95
|
+
- lib/meteofrance_api/models/warning.rb
|
96
|
+
- lib/meteofrance_api/models/warning/current.rb
|
97
|
+
- lib/meteofrance_api/models/warning/full.rb
|
98
|
+
- lib/meteofrance_api/models/warning/phenomenon.rb
|
99
|
+
- lib/meteofrance_api/models/weather.rb
|
100
|
+
- lib/meteofrance_api/models/weather/daily_forecast.rb
|
101
|
+
- lib/meteofrance_api/models/weather/forecast.rb
|
102
|
+
- lib/meteofrance_api/models/weather/hazard_forecast.rb
|
103
|
+
- lib/meteofrance_api/version.rb
|
104
|
+
- meteofrance-api.gemspec
|
105
|
+
homepage: https://github.com/Haerezis/meteofrance-api
|
106
|
+
licenses:
|
107
|
+
- MIT
|
108
|
+
metadata:
|
109
|
+
homepage_uri: https://github.com/Haerezis/meteofrance-api
|
110
|
+
source_code_uri: https://github.com/Haerezis/meteofrance-api
|
111
|
+
changelog_uri: https://github.com/Haerezis/meteofrance-api/blob/main/CHANGELOG.md
|
112
|
+
post_install_message:
|
113
|
+
rdoc_options: []
|
114
|
+
require_paths:
|
115
|
+
- lib
|
116
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
requirements: []
|
127
|
+
rubygems_version: 3.0.3
|
128
|
+
signing_key:
|
129
|
+
specification_version: 4
|
130
|
+
summary: Wrapper around meteofrance.com (french weather website) API.
|
131
|
+
test_files: []
|