apis-is 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +25 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +14 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +63 -0
  8. data/Rakefile +9 -0
  9. data/apis-is.gemspec +25 -0
  10. data/examples/bus_example.rb +27 -0
  11. data/examples/car_example.rb +27 -0
  12. data/examples/cinema_example.rb +32 -0
  13. data/examples/company_example.rb +23 -0
  14. data/examples/currency_example.rb +25 -0
  15. data/examples/cyclecounter_example.rb +20 -0
  16. data/examples/earthquake_example.rb +23 -0
  17. data/examples/flights_example.rb +25 -0
  18. data/examples/lottery_example.rb +23 -0
  19. data/examples/particulates_example.rb +21 -0
  20. data/examples/tv_example.rb +37 -0
  21. data/examples/weather_example.rb +34 -0
  22. data/lib/apis.rb +109 -0
  23. data/lib/apis/client.rb +30 -0
  24. data/lib/apis/endpoints/bus.rb +15 -0
  25. data/lib/apis/endpoints/cars.rb +14 -0
  26. data/lib/apis/endpoints/cinema.rb +22 -0
  27. data/lib/apis/endpoints/companies.rb +38 -0
  28. data/lib/apis/endpoints/currency.rb +27 -0
  29. data/lib/apis/endpoints/cyclecounter.rb +14 -0
  30. data/lib/apis/endpoints/earthquake.rb +13 -0
  31. data/lib/apis/endpoints/flights.rb +24 -0
  32. data/lib/apis/endpoints/lottery.rb +27 -0
  33. data/lib/apis/endpoints/particulates.rb +13 -0
  34. data/lib/apis/endpoints/tv.rb +69 -0
  35. data/lib/apis/endpoints/weather.rb +37 -0
  36. data/lib/apis/response/feed_parser.rb +16 -0
  37. data/lib/apis/version.rb +6 -0
  38. data/spec/fixtures/bus_all.yml +216 -0
  39. data/spec/fixtures/bus_selective.yml +82 -0
  40. data/spec/fixtures/car.yml +53 -0
  41. data/spec/fixtures/cinema_showtimes.yml +319 -0
  42. data/spec/fixtures/cinema_theaters.yml +192 -0
  43. data/spec/fixtures/companies_by_address.yml +141 -0
  44. data/spec/fixtures/companies_by_name.yml +84 -0
  45. data/spec/fixtures/companies_by_socialnumber.yml +50 -0
  46. data/spec/fixtures/companies_by_vsknr.yml +50 -0
  47. data/spec/fixtures/currency_arion.yml +83 -0
  48. data/spec/fixtures/currency_lb.yml +104 -0
  49. data/spec/fixtures/currency_m5.yml +77 -0
  50. data/spec/fixtures/cyclecounter.yml +50 -0
  51. data/spec/fixtures/earthquake.yml +1311 -0
  52. data/spec/fixtures/flights_arrivals.yml +269 -0
  53. data/spec/fixtures/flights_departure.yml +247 -0
  54. data/spec/fixtures/lottery_eurojackpot.yml +57 -0
  55. data/spec/fixtures/lottery_lotto.yml +57 -0
  56. data/spec/fixtures/lottery_vikingalotto.yml +57 -0
  57. data/spec/fixtures/particulates.yml +49 -0
  58. data/spec/fixtures/tv_ruv.yml +380 -0
  59. data/spec/fixtures/tv_ruvithrottir.yml +47 -0
  60. data/spec/fixtures/tv_skjar1.yml +317 -0
  61. data/spec/fixtures/tv_stod2.yml +491 -0
  62. data/spec/fixtures/tv_stod2bio.yml +217 -0
  63. data/spec/fixtures/tv_stod2gull.yml +284 -0
  64. data/spec/fixtures/tv_stod2sport.yml +105 -0
  65. data/spec/fixtures/tv_stod2sport2.yml +118 -0
  66. data/spec/fixtures/tv_stod3.yml +301 -0
  67. data/spec/fixtures/weather_forecast.yml +215 -0
  68. data/spec/fixtures/weather_observations.yml +215 -0
  69. data/spec/fixtures/weather_texts.yml +79 -0
  70. data/spec/helper.rb +18 -0
  71. data/spec/specs/bus_spec.rb +17 -0
  72. data/spec/specs/car_spec.rb +10 -0
  73. data/spec/specs/cinema_spec.rb +19 -0
  74. data/spec/specs/company_spec.rb +40 -0
  75. data/spec/specs/currency_spec.rb +30 -0
  76. data/spec/specs/cyclecounter_spec.rb +10 -0
  77. data/spec/specs/earthquake_spec.rb +10 -0
  78. data/spec/specs/flights_spec.rb +22 -0
  79. data/spec/specs/lottery_spec.rb +30 -0
  80. data/spec/specs/particulates_spec.rb +10 -0
  81. data/spec/specs/tv_spec.rb +84 -0
  82. data/spec/specs/weather_spec.rb +31 -0
  83. metadata +205 -0
@@ -0,0 +1,192 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://apis.is/cinema/theaters
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ X-Powered-By:
22
+ - Express
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Access-Control-Allow-Methods:
26
+ - GET,PUT,POST,DELETE
27
+ Access-Control-Allow-Headers:
28
+ - X-Requested-With, Accept, Origin, Referer, User-Agent, Content-Type, Authorization,
29
+ X-Mindflash-SessionID
30
+ Content-Type:
31
+ - application/json
32
+ Date:
33
+ - Sun, 07 Sep 2014 18:14:44 GMT
34
+ Connection:
35
+ - keep-alive
36
+ Transfer-Encoding:
37
+ - chunked
38
+ Set-Cookie:
39
+ - SERVERID=api2; path=/
40
+ Cache-Control:
41
+ - private
42
+ body:
43
+ encoding: ASCII-8BIT
44
+ string: !binary |-
45
+ eyJyZXN1bHRzIjpbeyJuYW1lIjoiU2FtYsOtw7NpbiBFZ2lsc2jDtmxsIiwi
46
+ bG9jYXRpb24iOiJFZ2lsc2jDtmxsIiwiaW1hZ2UiOiJodHRwOi8va3Zpa215
47
+ bmRpci5pcy9pbWFnZXMvYmlvaHVzX2Jpb3NpZGEvZWdpbHNob2xsLmpwZyIs
48
+ Im1vdmllcyI6W3sidGl0bGUiOiJTaW4gQ2l0eTogQSBEYW1lIHRvIEtpbGwg
49
+ Rm9yIiwic2NoZWR1bGUiOlsiMTc6NDAgKDEpIiwiMjA6MDAgKDEpIiwiMjI6
50
+ MjAgKDNEIDEpIl19LHsidGl0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MiOlt7InRpdGxl
181
+ IjoiU2luIENpdHk6IEEgRGFtZSB0byBLaWxsIEZvciIsInNjaGVkdWxlIjpb
182
+ IjIwOjAwICgxKSIsIjIyOjIwICgxKSJdfSx7InRpdGxlIjoiUGFyw61zIE5v
183
+ csOwdXJzaW5zIiwic2NoZWR1bGUiOlsiMTc6MzAgKMONU0wgVEFMIDIpIiwi
184
+ MjA6MDAgKMONU0wgVEFMIDIpIiwiMjI6MjAgKMONU0wgVEFMIDIpIl19LHsi
185
+ dGl0bGUiOiJUZWVuYWdlIE11dGFudCBOaW5qYSBUdXJ0bGVzIiwic2NoZWR1
186
+ bGUiOlsiMTM6MDAgKDNEIDEpIiwiMTU6MjAgKDNEIDEpIiwiMTc6NDAgKDNE
187
+ IDEpIl19LHsidGl0bGUiOiJGbHVndsOpbGFyOiBCasO2cmd1bmFyc3ZlaXRp
188
+ biIsInNjaGVkdWxlIjpbIjEzOjMwICjDjVNMIFRBTCAyKSIsIjE1OjMwICjD
189
+ jVNMIFRBTCAyKSJdfV19XX0=
190
+ http_version:
191
+ recorded_at: Sun, 07 Sep 2014 18:14:44 GMT
192
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,141 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://apis.is/company?address=A%C3%B0allandi
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ X-Powered-By:
22
+ - Express
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Access-Control-Allow-Methods:
26
+ - GET,PUT,POST,DELETE
27
+ Access-Control-Allow-Headers:
28
+ - X-Requested-With, Accept, Origin, Referer, User-Agent, Content-Type, Authorization,
29
+ X-Mindflash-SessionID
30
+ Content-Type:
31
+ - application/json
32
+ Date:
33
+ - Sun, 07 Sep 2014 18:14:44 GMT
34
+ Connection:
35
+ - keep-alive
36
+ Transfer-Encoding:
37
+ - chunked
38
+ Set-Cookie:
39
+ - SERVERID=api2; path=/
40
+ Cache-Control:
41
+ - private
42
+ body:
43
+ encoding: ASCII-8BIT
44
+ string: !binary |-
45
+ eyJyZXN1bHRzIjpbeyJuYW1lIjoiQW5uYSBEw7pmYSBHdW5uYXJzZMOzdHRp
46
+ ciAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKFJla3N0
47
+ cmkgaMOmdHQpIiwic24iOiIwNzAyNjg1MzE5IiwiYWN0aXZlIjoxLCJhZGRy
48
+ ZXNzIjoiQcOwYWxsYW5kaSA4LCAxMDggUmV5a2phdsOtayJ9LHsibmFtZSI6
49
+ IkFybmFyYsOtbGFyIGVoZiIsInNuIjoiNjkwMzExMDM4MCIsImFjdGl2ZSI6
50
+ MSwiYWRkcmVzcyI6IkHDsGFsbGFuZGkgMSwgMTA4IFJleWtqYXbDrWsifSx7
51
+ Im5hbWUiOiJBw7BhbGxhbmQgMS0zLGjDunNmw6lsYWciLCJzbiI6IjU4MDYw
52
+ MjM1NTAiLCJhY3RpdmUiOjEsImFkZHJlc3MiOiJBw7BhbGxhbmRpIDEtMywg
53
+ MTA4IFJleWtqYXbDrWsifSx7Im5hbWUiOiJBw7BhbGxhbmQgNixow7pzZsOp
54
+ bGFnIiwic24iOiI0NzA0ODY4OTk5IiwiYWN0aXZlIjoxLCJhZGRyZXNzIjoi
55
+ QcOwYWxsYW5kaSA2LCAxMDggUmV5a2phdsOtayJ9LHsibmFtZSI6IkLDrWEg
56
+ ZWhmLiIsInNuIjoiNzAwNDA3MDIwMCIsImFjdGl2ZSI6MSwiYWRkcmVzcyI6
57
+ IkHDsGFsbGFuZGkgNCwgMTA4IFJleWtqYXbDrWsifSx7Im5hbWUiOiJERU5H
58
+ U0kgZWhmIiwic24iOiI2MjEyOTc3Nz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MTIwNjA5ODAiLCJh
125
+ Y3RpdmUiOjEsImFkZHJlc3MiOiJBw7BhbGxhbmRpIDE4LCAxMDggUmV5a2ph
126
+ dsOtayJ9LHsibmFtZSI6IlZpbm51YsOhdHVyIHNmIiwic24iOiI0MjAzODIw
127
+ MjI5IiwiYWN0aXZlIjowLCJhZGRyZXNzIjoiQcOwYWxsYW5kaSAxOCwgMTA4
128
+ IFJleWtqYXbDrWsifSx7Im5hbWUiOiLDk3NrYXIgRWluYXJzc29uICAgICAg
129
+ ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoUmVrc3RyaSBow6Z0
130
+ dCkiLCJzbiI6IjA5MTI1NzYxMDkiLCJhY3RpdmUiOjEsImFkZHJlc3MiOiJB
131
+ w7BhbGxhbmRpIDEwLCAxMDggUmV5a2phdsOtayJ9LHsibmFtZSI6IsOWcm4g
132
+ SsOzbnNzb24gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
133
+ IChSZWtzdHJpIGjDpnR0KSIsInNuIjoiMTIwOTcwMjkxOSIsImFjdGl2ZSI6
134
+ MSwiYWRkcmVzcyI6IkHDsGFsbGFuZGkgMSwgMTA4IFJleWtqYXbDrWsifSx7
135
+ Im5hbWUiOiLDnsOzcmEgVW5udXIgS3Jpc3RpbnNkw7N0dGlyICAgICAgICAg
136
+ ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoUmVrc3RyaSBow6Z0dCki
137
+ LCJzbiI6IjAzMDgzMDM3NzkiLCJhY3RpdmUiOjEsImFkZHJlc3MiOiJBw7Bh
138
+ bGxhbmRpIDcsIDEwOCBSZXlramF2w61rIn1dfQ==
139
+ http_version:
140
+ recorded_at: Sun, 07 Sep 2014 18:14:44 GMT
141
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,84 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://apis.is/company?name=hagur
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ X-Powered-By:
22
+ - Express
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Access-Control-Allow-Methods:
26
+ - GET,PUT,POST,DELETE
27
+ Access-Control-Allow-Headers:
28
+ - X-Requested-With, Accept, Origin, Referer, User-Agent, Content-Type, Authorization,
29
+ X-Mindflash-SessionID
30
+ Content-Type:
31
+ - application/json
32
+ Date:
33
+ - Sun, 07 Sep 2014 18:14:44 GMT
34
+ Connection:
35
+ - keep-alive
36
+ Transfer-Encoding:
37
+ - chunked
38
+ Set-Cookie:
39
+ - SERVERID=api1; path=/
40
+ Cache-Control:
41
+ - private
42
+ body:
43
+ encoding: ASCII-8BIT
44
+ string: !binary |-
45
+ eyJyZXN1bHRzIjpbeyJuYW1lIjoiSGFndXIgLSDDnnLDs3VuIGVoZiIsInNu
46
+ IjoiNTIxMDk5Mjc1OSIsImFjdGl2ZSI6MSwiYWRkcmVzcyI6IkHDsGFsbGFu
47
+ ZGkgMTUsIDEwOCBSZXlramF2w61rIn0seyJuYW1lIjoiSGFndXIgZWhmIiwi
48
+ c24iOiI0ODA0NjgxMzk5IiwiYWN0aXZlIjowLCJhZGRyZXNzIjoiUmV5a2ph
49
+ bmVzYnJhdXQgNiwgMTAxIFJleWtqYXbDrWsifSx7Im5hbWUiOiJIYWd1ciBl
50
+ aGYiLCJzbiI6IjQ4MDkwMzI4NTAiLCJhY3RpdmUiOjAsImFkZHJlc3MiOiJT
51
+ dcOwdXJsYW5kc2JyYXV0IDMwLCAxMDggUmV5a2phdsOtayJ9LHsibmFtZSI6
52
+ IkhhZ3VyIGVoZiIsInNuIjoiNjYwMTc2MDIwOSIsImFjdGl2ZSI6MCwiYWRk
53
+ cmVzcyI6IknDsGp1dsO2bGx1bS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sibmFtZSI6IkhhZ3VyIHJla3N0
70
+ cmFycsOhw7BnasO2ZiBlaGYuIiwic24iOiI1NzExOTQyNjA5IiwiYWN0aXZl
71
+ IjoxLCJhZGRyZXNzIjoiQnJhdXRhcmhvbHRpIDI2LCAxMDUgUmV5a2phdsOt
72
+ ayJ9LHsibmFtZSI6IkhhZ3VyIHNmIiwic24iOiI2OTA4OTExMzE5IiwiYWN0
73
+ aXZlIjoxLCJhZGRyZXNzIjoiTGFnYXLDoXNpIDQsIDcwMCBFZ2lsc3N0YcOw
74
+ aXIifSx7Im5hbWUiOiJIYWd1ciDDrSBow6FyaSBlaGYiLCJzbiI6IjU2MDMw
75
+ NjAyNDAiLCJhY3RpdmUiOjAsImFkZHJlc3MiOiJCb3JnYXJ0w7puaSAyNiwg
76
+ MTA1IFJleWtqYXbDrWsifSx7Im5hbWUiOiJIYWd1cixmeXJyIHDDtm50dW5h
77
+ cmbDqWxhZyIsInNuIjoiNTAxMDc0MDEyOSIsImFjdGl2ZSI6MCwiYWRkcmVz
78
+ cyI6IiwgMzcwIELDusOwYXJkYWx1ciJ9LHsibmFtZSI6IkhhZ3VyLWVpZ25h
79
+ cmhhbGRzZsOpbGFnIGVoZiIsInNuIjoiNDgwMTA4MTI0MCIsImFjdGl2ZSI6
80
+ MSwiYWRkcmVzcyI6IkRhbGjDunN1bSAxMDcsIDExMiBSZXlramF2w61rIn1d
81
+ fQ==
82
+ http_version:
83
+ recorded_at: Sun, 07 Sep 2014 18:14:44 GMT
84
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://apis.is/company?socialnumber=5210992759
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ X-Powered-By:
22
+ - Express
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Access-Control-Allow-Methods:
26
+ - GET,PUT,POST,DELETE
27
+ Access-Control-Allow-Headers:
28
+ - X-Requested-With, Accept, Origin, Referer, User-Agent, Content-Type, Authorization,
29
+ X-Mindflash-SessionID
30
+ Content-Type:
31
+ - application/json
32
+ Date:
33
+ - Sun, 07 Sep 2014 18:14:44 GMT
34
+ Connection:
35
+ - keep-alive
36
+ Transfer-Encoding:
37
+ - chunked
38
+ Set-Cookie:
39
+ - SERVERID=api2; path=/
40
+ Cache-Control:
41
+ - private
42
+ body:
43
+ encoding: ASCII-8BIT
44
+ string: !binary |-
45
+ eyJyZXN1bHRzIjpbeyJuYW1lIjoiSGFndXIgLSDDnnLDs3VuIGVoZiIsInNu
46
+ IjoiNTIxMDk5Mjc1OSIsImFjdGl2ZSI6MSwiYWRkcmVzcyI6IkHDsGFsbGFu
47
+ ZGkgMTUgIDEwOCBSZXlramF2w61rIn1dfQ==
48
+ http_version:
49
+ recorded_at: Sun, 07 Sep 2014 18:14:44 GMT
50
+ recorded_with: VCR 2.9.2