Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -0
  3. data/CHANGELOG.md +3 -0
  4. data/README.md +3 -0
  5. data/Rakefile +5 -1
  6. data/fixtures/vcr_cassettes/v1_entry.yml +0 -526
  7. data/fixtures/vcr_cassettes/v1_entry_antonym_synonym.yml +0 -42
  8. data/fixtures/vcr_cassettes/v1_entry_antonyms.yml +0 -42
  9. data/fixtures/vcr_cassettes/v1_entry_definitions.yml +0 -228
  10. data/fixtures/vcr_cassettes/v1_entry_error.yml +0 -49
  11. data/fixtures/vcr_cassettes/v1_entry_es.yml +0 -108
  12. data/fixtures/vcr_cassettes/v1_entry_examples.yml +0 -242
  13. data/fixtures/vcr_cassettes/v1_entry_past_nouns.yml +0 -49
  14. data/fixtures/vcr_cassettes/v1_entry_pronunciations.yml +0 -156
  15. data/fixtures/vcr_cassettes/v1_entry_synonyms.yml +0 -42
  16. data/fixtures/vcr_cassettes/v1_entry_us.yml +0 -526
  17. data/fixtures/vcr_cassettes/v1_inflection.yml +0 -74
  18. data/fixtures/vcr_cassettes/v1_inflection_filters.yml +0 -52
  19. data/fixtures/vcr_cassettes/v1_search.yml +0 -42
  20. data/fixtures/vcr_cassettes/v1_search_prefix.yml +0 -42
  21. data/fixtures/vcr_cassettes/v1_search_translation.yml +0 -42
  22. data/lib/oxford_dictionary/client.rb +8 -249
  23. data/lib/oxford_dictionary/deserialize.rb +10 -0
  24. data/lib/oxford_dictionary/endpoints/endpoint.rb +1 -0
  25. data/lib/oxford_dictionary/endpoints/entries.rb +14 -10
  26. data/lib/oxford_dictionary/endpoints/lemmas.rb +18 -0
  27. data/lib/oxford_dictionary/endpoints/search.rb +4 -0
  28. data/lib/oxford_dictionary/endpoints/sentences.rb +4 -0
  29. data/lib/oxford_dictionary/endpoints/thesaurus.rb +4 -0
  30. data/lib/oxford_dictionary/endpoints/translations.rb +4 -0
  31. data/lib/oxford_dictionary/request.rb +2 -0
  32. data/lib/oxford_dictionary/version.rb +1 -1
  33. data/oxford_dictionary.gemspec +1 -2
  34. metadata +9 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA256:
3
- metadata.gz: 97d848d8c66972c3a1bb87b3e19c218912c80f360edba2bd1e991e099fddb613
4
- data.tar.gz: c324040796efe1973e520938c96a343df15d08312262a10f1bf2d72f7091e7f4
3
+ metadata.gz: 99377db60cc25d19b09832803710b6302a81809713f160ed25c91991dbade46d
4
+ data.tar.gz: 98b102cbf2c4751b4d801b39e4aa7adc4d2e6a7d21a1eb42f5c156db2413da23
5
5
SHA512:
6
- metadata.gz: ec6b3db6c5b7722bb06a69b14c20393c0d24d7574efdaa640f676f03341783b63e692d024f3175bddb468ad91e5f5c28442f44d8d2b7c5ef8eaed00851746371
7
- data.tar.gz: 4254c3c440308c62a3152a218646f9fba9dd4026149e001e4835e5b85de95d76ed62b6805f9e9a2cc50340b33e9d32fb8dc5fd4679a674e79dddbff6106ad271
6
+ metadata.gz: '03392263ed3ec7ff17d9b3347b2334285b62563c81b7475576977a356308117826579aa5680a2da86f8da712d9e86e4fe874fba6e8dcb586428dcc472b503c8a'
7
+ data.tar.gz: 705ea67f3ca0a7d87b3a16fa776c321f78e35718dacb985478bbff08d9259656ecfa9fda5981fa81172762b0f82a7f58ad2e74f8933103d2f29bfbd49e5cf13e
data/.rubocop.yml ADDED
@@ -0,0 +1,5 @@
1
+ Lint/ImplicitStringConcatenation:
2
+ Enabled: false
3
+
4
+ Style/DotPosition:
5
+ EnforcedStyle: trailing
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
## OxfordDictionary master (unreleased)
2
2
3
+ ## OxfordDictionary 3.0.0 (2019-08-13)
4
+ - Remove support for all V1 API calls
5
+
3
6
## OxfordDictionary 2.0.0 (2019-06-29)
4
7
- Remove wordlist endpoint
5
8
[\#20](https://github.com/swcraig/oxford-dictionary/pull/20)
data/README.md CHANGED
@@ -34,6 +34,9 @@ first_lexical_entry = entry.lexicalEntries.first
34
34
filters = { lexicalCategory: 'Verb', domains: 'Art'}
35
35
client.entry(word: 'truth', dataset: 'en-gb', params: filters)
36
36
37
+ # To have multiple values for a single filter use comma separated terms
38
+ filters = { lexicalCategory: 'Verb,Noun' }
39
+
37
40
# You can also search for the results for different datasets
38
41
# Refer to the Oxford Dictionaries documentation for all the
39
42
# possible datasets
data/Rakefile CHANGED
@@ -3,4 +3,8 @@ require 'rspec/core/rake_task'
3
3
4
4
RSpec::Core::RakeTask.new(:spec)
5
5
6
- task default: [:spec]
6
+ task default: [:spec, :rubocop]
7
+
8
+ task :rubocop do
9
+ sh 'rubocop'
10
+ end
data/fixtures/vcr_cassettes/v1_entry.yml DELETED
@@ -1,526 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/ace
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 01:03:19 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '21569'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: ASCII-8BIT
43
- string: !binary |-
44
- ewogICAgImlkIjogImFjZSIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAg
45
- Im9wZXJhdGlvbiI6ICJyZXRyaWV2ZSIsCiAgICAgICAgInByb3ZpZGVyIjog
46
- Ik94Zm9yZCBVbml2ZXJzaXR5IFByZXNzIiwKICAgICAgICAic2NoZW1hIjog
47
- IlJldHJpZXZlRW50cnkiCiAgICB9LAogICAgInJlc3VsdHMiOiBbCiAgICAg
48
- ICAgewogICAgICAgICAgICAiaWQiOiAiYWNlIiwKICAgICAgICAgICAgImxh
49
- bmd1YWdlIjogImVuLWdiIiwKICAgICAgICAgICAgImxleGljYWxFbnRyaWVz
50
- IjogWwogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICJl
51
- bnRyaWVzIjogWwogICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAg
52
- ICAgICAgICAgICAgICAgICAgICAiZXR5bW9sb2dpZXMiOiBbCiAgICAgICAg
53
- ICAgICAgICAgICAgICAgICAgICAgICAgIk1pZGRsZSBFbmdsaXNoIChkZW5v
54
- dGluZyB0aGUg4oCYb25l4oCZIG9uIGRpY2UpOiB2aWEgT2xkIEZyZW5jaCBm
55
- cm9tIExhdGluYXPigJh1bml0eSwgYSB1bml04oCZIgogICAgICAgICAgICAg
56
- ICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAg
57
- ICJob21vZ3JhcGhOdW1iZXIiOiAiMTAwIiwKICAgICAgICAgICAgICAgICAg
58
- ICAgICAgICAgICJzZW5zZXMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAg
59
- ICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
60
- ICAiZGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAg
61
- ICAgICAgICAgICAgICAiYSBwbGF5aW5nIGNhcmQgd2l0aCBhIHNpbmdsZSBz
62
- cG90IG9uIGl0LCByYW5rZWQgYXMgdGhlIGhpZ2hlc3QgY2FyZCBpbiBpdHMg
63
- c3VpdCBpbiBtb3N0IGNhcmQgZ2FtZXMiCiAgICAgICAgICAgICAgICAgICAg
64
- ICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAg
65
- ICAgICAgICAgICJkb21haW5zIjogWwogICAgICAgICAgICAgICAgICAgICAg
66
- ICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAg
67
- ICAgICAgICAgICAgICAgICAgICJpZCI6ICJjYXJkcyIsCiAgICAgICAgICAg
68
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiQ2Fy
69
- ZHMiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9
70
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAg
71
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJleGFtcGxlcyI6IFsK
72
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAg
73
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4
74
- dCI6ICJ0aGUgYWNlIG9mIGRpYW1vbmRzIgogICAgICAgICAgICAgICAgICAg
75
- ICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICAg
76
- ICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAg
77
- ICAgICAgICAgICAgICAgICAgICAicmVnaXN0ZXJzIjogWwogICAgICAgICAg
78
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAg
79
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
80
- ICAiaWQiOiAiZmlndXJhdGl2ZSIsCiAgICAgICAgICAgICAgICAgICAgICAg
81
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJGaWd1cmF0
82
- aXZlIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
83
- ICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
84
- ICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
85
- ICAgICAgICAgICAidGV4dCI6ICJsaWZlIGhhZCBzdGFydGVkIGRlYWxpbmcg
86
- aGltIGFjZXMgYWdhaW4iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
87
- ICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
88
- ICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJp
89
- ZCI6ICJtX2VuX2didXMwMDA1NjgwLjAwNiIsCiAgICAgICAgICAgICAgICAg
90
- ICAgICAgICAgICAgICAgICAgICJzaG9ydERlZmluaXRpb25zIjogWwogICAg
91
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInBsYXlpbmcg
92
- Y2FyZCB3aXRoIHNpbmdsZSBzcG90IG9uIGl0LCByYW5rZWQgYXMgaGlnaGVz
93
- dCBjYXJkIGluIGl0cyBzdWl0IGluIG1vc3QgY2FyZCBnYW1lcyIKICAgICAg
94
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAgICAgICAg
95
- ICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgICAg
96
- ICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
97
- ICAiZGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAg
98
- ICAgICAgICAgICAgICAiYSBwZXJzb24gd2hvIGV4Y2VscyBhdCBhIHBhcnRp
99
- Y3VsYXIgc3BvcnQgb3Igb3RoZXIgYWN0aXZpdHkiCiAgICAgICAgICAgICAg
100
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
101
- ICAgICAgICAgICAgICAgICJkb21haW5zIjogWwogICAgICAgICAgICAgICAg
102
- ICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAg
103
- ICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJzcG9ydCIsCiAgICAg
104
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInRleHQi
105
- OiAiU3BvcnQiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
106
- ICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0s
107
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJt
108
- X2VuX2didXMwMDA1NjgwLjAxMCIsCiAgICAgICAgICAgICAgICAgICAgICAg
109
- ICAgICAgICAgICAgICJyZWdpc3RlcnMiOiBbCiAgICAgICAgICAgICAgICAg
110
- ICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAg
111
- ICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogImluZm9ybWFsIiwKICAg
112
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4
113
- dCI6ICJJbmZvcm1hbCIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
114
- ICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
115
- ICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInNo
116
- b3J0RGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAg
117
- ICAgICAgICAgICAgICAicGVyc29uIHdobyBleGNlbHMgYXQgcGFydGljdWxh
118
- ciBzcG9ydCBvciBvdGhlciBhY3Rpdml0eSIKICAgICAgICAgICAgICAgICAg
119
- ICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAg
120
- ICAgICAgICAgICAgInN1YnNlbnNlcyI6IFsKICAgICAgICAgICAgICAgICAg
121
- ICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAg
122
- ICAgICAgICAgICAgICAgICAgICAgICAiZGVmaW5pdGlvbnMiOiBbCiAgICAg
123
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJh
124
- IHBpbG90IHdobyBoYXMgc2hvdCBkb3duIG1hbnkgZW5lbXkgYWlyY3JhZnQi
125
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
126
- XSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
127
- ICAiZG9tYWlucyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
128
- ICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAg
129
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogImFpcl9mb3JjZSIs
130
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
131
- ICAgICAgICAidGV4dCI6ICJBaXJfRm9yY2UiCiAgICAgICAgICAgICAgICAg
132
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAg
133
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAgICAgICAg
134
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJleGFtcGxlcyI6
135
- IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
136
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
137
- ICAgICAgICAgICAgICAgInRleHQiOiAiYSBCYXR0bGUgb2YgQnJpdGFpbiBh
138
- Y2UiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
139
- ICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
140
- ICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
141
- ICAgICAgICAgICJpZCI6ICJtX2VuX2didXMwMDA1NjgwLjAxMSIsCiAgICAg
142
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInNob3J0
143
- RGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
144
- ICAgICAgICAgICAgICAgICAgICJwaWxvdCB3aG8gaGFzIHNob3QgZG93biBt
145
- YW55IGVuZW15IGFpcmNyYWZ0IgogICAgICAgICAgICAgICAgICAgICAgICAg
146
- ICAgICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgICAgICAgICAgICAg
147
- ICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAg
148
- ICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
149
- ICAgInRoZXNhdXJ1c0xpbmtzIjogWwogICAgICAgICAgICAgICAgICAgICAg
150
- ICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAg
151
- ICAgICAgICAgICAgICAgICAgICJlbnRyeV9pZCI6ICJhY2UiLAogICAgICAg
152
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzZW5zZV9p
153
- ZCI6ICJ0X2VuX2diMDAwMDE3My4wMDEiCiAgICAgICAgICAgICAgICAgICAg
154
- ICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAg
155
- ICAgICAgICAgICAgIF0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
156
- ICB9LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAg
157
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImRlZmluaXRpb25zIjog
158
- WwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIihp
159
- biB0ZW5uaXMgYW5kIHNpbWlsYXIgZ2FtZXMpIGEgc2VydmljZSB0aGF0IGFu
160
- IG9wcG9uZW50IGlzIHVuYWJsZSB0byByZXR1cm4gYW5kIHRodXMgd2lucyBh
161
- IHBvaW50IgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBd
162
- LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiZG9tYWlu
163
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
164
- IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
165
- ICAiaWQiOiAidGVubmlzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAg
166
- ICAgICAgICAgICAgICAgICAidGV4dCI6ICJUZW5uaXMiCiAgICAgICAgICAg
167
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
168
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
169
- ICAgICAgICAgICAgICAgICJleGFtcGxlcyI6IFsKICAgICAgICAgICAgICAg
170
- ICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAg
171
- ICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJOYWRhbCBiYW5n
172
- ZWQgZG93biBlaWdodCBhY2VzIGluIHRoZSBzZXQiCiAgICAgICAgICAgICAg
173
- ICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAg
174
- ICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAg
175
- ICAgICAgICAgICAgICJpZCI6ICJtX2VuX2didXMwMDA1NjgwLjAxMyIsCiAg
176
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzaG9ydERlZmlu
177
- aXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
178
- ICAgICAgIihpbiB0ZW5uaXMgYW5kIHNpbWlsYXIgZ2FtZXMpIHNlcnZpY2Ug
179
- dGhhdCBvcHBvbmVudCBpcyB1bmFibGUgdG8gcmV0dXJuIGFuZCB0aHVzIHdp
180
- bnMgcG9pbnQiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
181
- IF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzdWJz
182
- ZW5zZXMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
183
- ICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
184
- ICAgICAgImRlZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAg
185
- ICAgICAgICAgICAgICAgICAgICAgICAgICAiYSBob2xlIGluIG9uZSIKICAg
186
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAog
187
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJk
188
- b21haW5zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
189
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
190
- ICAgICAgICAgICAgICAgICAgICAgICAiaWQiOiAiZ29sZiIsCiAgICAgICAg
191
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
192
- dGV4dCI6ICJHb2xmIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
193
- ICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAg
194
- ICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAg
195
- ICAgICAgICAgICAgICAgICAgICAiZXhhbXBsZXMiOiBbCiAgICAgICAgICAg
196
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAg
197
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
198
- ICJ0ZXh0IjogImhpcyBob2xlIGluIG9uZSBhdCB0aGUgMTV0aCB3YXMgU2Vu
199
- aW9yJ3Mgc2Vjb25kIGFjZSBhcyBhIHByb2Zlc3Npb25hbCIKICAgICAgICAg
200
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAg
201
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0sCiAg
202
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImlk
203
- IjogIm1fZW5fZ2J1czAwMDU2ODAuMDE0IiwKICAgICAgICAgICAgICAgICAg
204
- ICAgICAgICAgICAgICAgICAgICAgICAgICAicmVnaXN0ZXJzIjogWwogICAg
205
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7
206
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
207
- ICAgICAgICAiaWQiOiAiaW5mb3JtYWwiLAogICAgICAgICAgICAgICAgICAg
208
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiSW5m
209
- b3JtYWwiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
210
- ICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
211
- ICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
212
- ICAgICAgICAgICAgICJzaG9ydERlZmluaXRpb25zIjogWwogICAgICAgICAg
213
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiaG9sZSBp
214
- biBvbmUiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
215
- ICAgICAgXQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
216
- ICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdCiAg
217
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAg
218
- ICAgICAgICAgICAgICAgXQogICAgICAgICAgICAgICAgICAgICAgICB9CiAg
219
- ICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAibGFu
220
- Z3VhZ2UiOiAiZW4tZ2IiLAogICAgICAgICAgICAgICAgICAgICJsZXhpY2Fs
221
- Q2F0ZWdvcnkiOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJu
222
- b3VuIiwKICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiTm91biIK
223
- ICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgICJw
224
- cm9udW5jaWF0aW9ucyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgewog
225
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgImF1ZGlvRmlsZSI6ICJodHRw
226
- Oi8vYXVkaW8ub3hmb3JkZGljdGlvbmFyaWVzLmNvbS9lbi9tcDMvYWNlXzFf
227
- Z2JfMV9hYmJyLm1wMyIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
228
- ZGlhbGVjdHMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
229
- IkJyaXRpc2ggRW5nbGlzaCIKICAgICAgICAgICAgICAgICAgICAgICAgICAg
230
- IF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhvbmV0aWNOb3Rh
231
- dGlvbiI6ICJJUEEiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgInBo
232
- b25ldGljU3BlbGxpbmciOiAiZcmqcyIKICAgICAgICAgICAgICAgICAgICAg
233
- ICAgfQogICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAg
234
- ICAgInRleHQiOiAiYWNlIgogICAgICAgICAgICAgICAgfSwKICAgICAgICAg
235
- ICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAiZW50cmllcyI6IFsKICAg
236
- ICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAg
237
- ICAgICAgImhvbW9ncmFwaE51bWJlciI6ICIxMDEiLAogICAgICAgICAgICAg
238
- ICAgICAgICAgICAgICAgInNlbnNlcyI6IFsKICAgICAgICAgICAgICAgICAg
239
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
240
- ICAgICAgICJkZWZpbml0aW9ucyI6IFsKICAgICAgICAgICAgICAgICAgICAg
241
- ICAgICAgICAgICAgICAgICAgICJ2ZXJ5IGdvb2QiCiAgICAgICAgICAgICAg
242
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
243
- ICAgICAgICAgICAgICAgICJleGFtcGxlcyI6IFsKICAgICAgICAgICAgICAg
244
- ICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAg
245
- ICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJhbiBhY2Ugc3dp
246
- bW1lciIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
247
- IH0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7
248
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
249
- Im5vdGVzIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
250
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
251
- ICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJhcyBleGNsYW1hdGlv
252
- biIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
253
- ICAgICAgICAgICAidHlwZSI6ICJncmFtbWF0aWNhbE5vdGUiCiAgICAgICAg
254
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAg
255
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAog
256
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJ0
257
- ZXh0IjogIkFjZSEgWW91J3ZlIGRvbmUgaXQhIgogICAgICAgICAgICAgICAg
258
- ICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAg
259
- ICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAg
260
- ICAgICAgICAgICAiaWQiOiAibV9lbl9nYnVzMDAwNTY4MC4wMTYiLAogICAg
261
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAicmVnaXN0ZXJzIjog
262
- WwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewog
263
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJp
264
- ZCI6ICJpbmZvcm1hbCIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
265
- ICAgICAgICAgICAgICAgInRleHQiOiAiSW5mb3JtYWwiCiAgICAgICAgICAg
266
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
267
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
268
- ICAgICAgICAgICAgICAgICJzaG9ydERlZmluaXRpb25zIjogWwogICAgICAg
269
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInZlcnkgZ29vZCIK
270
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXSwKICAgICAg
271
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInRoZXNhdXJ1c0xpbmtz
272
- IjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
273
- ewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
274
- ICJlbnRyeV9pZCI6ICJhY2UiLAogICAgICAgICAgICAgICAgICAgICAgICAg
275
- ICAgICAgICAgICAgICAgICAgICJzZW5zZV9pZCI6ICJ0X2VuX2diMDAwMDE3
276
- My4wMDIiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
277
- ICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0KICAg
278
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
279
- ICAgICAgICAgICAgICBdCiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAg
280
- ICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICJsYW5n
281
- dWFnZSI6ICJlbi1nYiIsCiAgICAgICAgICAgICAgICAgICAgImxleGljYWxD
282
- YXRlZ29yeSI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogImFk
283
- amVjdGl2ZSIsCiAgICAgICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogIkFk
284
- amVjdGl2ZSIKICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAg
285
- ICAgICAgICJwcm9udW5jaWF0aW9ucyI6IFsKICAgICAgICAgICAgICAgICAg
286
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgImF1ZGlvRmls
287
- ZSI6ICJodHRwOi8vYXVkaW8ub3hmb3JkZGljdGlvbmFyaWVzLmNvbS9lbi9t
288
- cDMvYWNlXzFfZ2JfMV9hYmJyLm1wMyIsCiAgICAgICAgICAgICAgICAgICAg
289
- ICAgICAgICAiZGlhbGVjdHMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAg
290
- ICAgICAgICAgIkJyaXRpc2ggRW5nbGlzaCIKICAgICAgICAgICAgICAgICAg
291
- ICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhv
292
- bmV0aWNOb3RhdGlvbiI6ICJJUEEiLAogICAgICAgICAgICAgICAgICAgICAg
293
- ICAgICAgInBob25ldGljU3BlbGxpbmciOiAiZcmqcyIKICAgICAgICAgICAg
294
- ICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAg
295
- ICAgICAgICAgICAgInRleHQiOiAiYWNlIgogICAgICAgICAgICAgICAgfSwK
296
- ICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAiZW50cmll
297
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAg
298
- ICAgICAgICAgICAgICAgImdyYW1tYXRpY2FsRmVhdHVyZXMiOiBbCiAgICAg
299
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAg
300
- ICAgICAgICAgICAgICAgICAgICAiaWQiOiAidHJhbnNpdGl2ZSIsCiAgICAg
301
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogIlRyYW5z
302
- aXRpdmUiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
303
- dHlwZSI6ICJTdWJjYXRlZ29yaXphdGlvbiIKICAgICAgICAgICAgICAgICAg
304
- ICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBd
305
- LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgImhvbW9ncmFwaE51bWJl
306
- ciI6ICIxMDIiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgInNlbnNl
307
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAg
308
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJkZWZpbml0aW9ucyI6
309
- IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIo
310
- aW4gdGVubmlzIGFuZCBzaW1pbGFyIGdhbWVzKSBzZXJ2ZSBhbiBhY2UgYWdh
311
- aW5zdCAoYW4gb3Bwb25lbnQpIgogICAgICAgICAgICAgICAgICAgICAgICAg
312
- ICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
313
- ICAgICAiZG9tYWlucyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAg
314
- ICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
315
- ICAgICAgICAgICAgICAiaWQiOiAidGVubmlzIiwKICAgICAgICAgICAgICAg
316
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJUZW5uaXMi
317
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAg
318
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAg
319
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJtX2VuX2didXMw
320
- MDA1NjgwLjAyMCIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
321
- ICAgICJyZWdpc3RlcnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAg
322
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
323
- ICAgICAgICAgICAgICAgImlkIjogImluZm9ybWFsIiwKICAgICAgICAgICAg
324
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJJbmZv
325
- cm1hbCIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
326
- IH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXSwKICAg
327
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInNob3J0RGVmaW5p
328
- dGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
329
- ICAgICAiKGluIHRlbm5pcyBhbmQgc2ltaWxhciBnYW1lcykgc2VydmUgYWNl
330
- IGFnYWluc3QiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
331
- IF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzdWJz
332
- ZW5zZXMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
333
- ICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
334
- ICAgICAgImRlZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAg
335
- ICAgICAgICAgICAgICAgICAgICAgICAgICAic2NvcmUgYW4gYWNlIG9uIChh
336
- IGhvbGUpIG9yIHdpdGggKGEgc2hvdCkiCiAgICAgICAgICAgICAgICAgICAg
337
- ICAgICAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAg
338
- ICAgICAgICAgICAgICAgICAgICAgICAgICAiZG9tYWlucyI6IFsKICAgICAg
339
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewog
340
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
341
- ICAgICAgImlkIjogImdvbGYiLAogICAgICAgICAgICAgICAgICAgICAgICAg
342
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiR29sZiIKICAg
343
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
344
- fQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
345
- IF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
346
- ICAgImV4YW1wbGVzIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAg
347
- ICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAg
348
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJ0aGVyZSB3
349
- YXMgYSBwcml6ZSBmb3IgdGhlIGZpcnN0IHBsYXllciB0byBhY2UgdGhlIGhv
350
- bGUiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
351
- ICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
352
- ICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
353
- ICAgICAgICAgICJpZCI6ICJtX2VuX2didXMwMDA1NjgwLjAyNiIsCiAgICAg
354
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInNob3J0
355
- RGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
356
- ICAgICAgICAgICAgICAgICAgICJzY29yZSBhY2Ugb24gaG9sZSBvciB3aXRo
357
- IgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
358
- IF0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0K
359
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAg
360
- ICAgICAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAg
361
- ICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAg
362
- ICAgICAgICAiZGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAg
363
- ICAgICAgICAgICAgICAgICAgICAiYWNoaWV2ZSBoaWdoIG1hcmtzIGluIChh
364
- IHRlc3Qgb3IgZXhhbSkiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
365
- ICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
366
- ICJpZCI6ICJtX2VuX2didXMwMDA1NjgwLjAyOCIsCiAgICAgICAgICAgICAg
367
- ICAgICAgICAgICAgICAgICAgICAgICJyZWdpb25zIjogWwogICAgICAgICAg
368
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAg
369
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJub3J0aF9h
370
- bWVyaWNhbiIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
371
- ICAgICAgICAgInRleHQiOiAiTm9ydGhfQW1lcmljYW4iCiAgICAgICAgICAg
372
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
373
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
374
- ICAgICAgICAgICAgICAgICJyZWdpc3RlcnMiOiBbCiAgICAgICAgICAgICAg
375
- ICAgICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAg
376
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogImluZm9ybWFsIiwK
377
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
378
- dGV4dCI6ICJJbmZvcm1hbCIKICAgICAgICAgICAgICAgICAgICAgICAgICAg
379
- ICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
380
- ICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
381
- InNob3J0RGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAg
382
- ICAgICAgICAgICAgICAgICAiYWNoaWV2ZSBoaWdoIG1hcmtzIGluIgogICAg
383
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAgICAgICAg
384
- ICAgICAgICAgICAgICAgICAgICAgICAgICAic3Vic2Vuc2VzIjogWwogICAg
385
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAg
386
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJkZWZpbml0
387
- aW9ucyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
388
- ICAgICAgICAgICAgIm91dGRvIHNvbWVvbmUgaW4gYSBjb21wZXRpdGl2ZSBz
389
- aXR1YXRpb24iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
390
- ICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
391
- ICAgICAgICAgICAiaWQiOiAibV9lbl9nYnVzMDAwNTY4MC4wMjkiLAogICAg
392
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJub3Rl
393
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
394
- ICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
395
- ICAgICAgICAgICAgICAgICAgInRleHQiOiAiXCJhY2Ugc29tZW9uZSBvdXRc
396
- IiIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
397
- ICAgICAgICAgICAidHlwZSI6ICJ3b3JkRm9ybU5vdGUiCiAgICAgICAgICAg
398
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAg
399
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAg
400
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzaG9y
401
- dERlZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAg
402
- ICAgICAgICAgICAgICAgICAgICAib3V0ZG8gc29tZW9uZSBpbiBjb21wZXRp
403
- dGl2ZSBzaXR1YXRpb24iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
404
- ICAgICAgICAgICAgICAgXQogICAgICAgICAgICAgICAgICAgICAgICAgICAg
405
- ICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
406
- ICAgICBdCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAg
407
- ICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAgICAgICAgICAgICAg
408
- ICAgICB9CiAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAg
409
- ICAgICAibGFuZ3VhZ2UiOiAiZW4tZ2IiLAogICAgICAgICAgICAgICAgICAg
410
- ICJsZXhpY2FsQ2F0ZWdvcnkiOiB7CiAgICAgICAgICAgICAgICAgICAgICAg
411
- ICJpZCI6ICJ2ZXJiIiwKICAgICAgICAgICAgICAgICAgICAgICAgInRleHQi
412
- OiAiVmVyYiIKICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAg
413
- ICAgICAgICJwcm9udW5jaWF0aW9ucyI6IFsKICAgICAgICAgICAgICAgICAg
414
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgImF1ZGlvRmls
415
- ZSI6ICJodHRwOi8vYXVkaW8ub3hmb3JkZGljdGlvbmFyaWVzLmNvbS9lbi9t
416
- cDMvYWNlXzFfZ2JfMV9hYmJyLm1wMyIsCiAgICAgICAgICAgICAgICAgICAg
417
- ICAgICAgICAiZGlhbGVjdHMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAg
418
- ICAgICAgICAgIkJyaXRpc2ggRW5nbGlzaCIKICAgICAgICAgICAgICAgICAg
419
- ICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhv
420
- bmV0aWNOb3RhdGlvbiI6ICJJUEEiLAogICAgICAgICAgICAgICAgICAgICAg
421
- ICAgICAgInBob25ldGljU3BlbGxpbmciOiAiZcmqcyIKICAgICAgICAgICAg
422
- ICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAg
423
- ICAgICAgICAgICAgInRleHQiOiAiYWNlIgogICAgICAgICAgICAgICAgfQog
424
- ICAgICAgICAgICBdLAogICAgICAgICAgICAidHlwZSI6ICJoZWFkd29yZCIs
425
- CiAgICAgICAgICAgICJ3b3JkIjogImFjZSIKICAgICAgICB9LAogICAgICAg
426
- IHsKICAgICAgICAgICAgImlkIjogImFjZSIsCiAgICAgICAgICAgICJsYW5n
427
- dWFnZSI6ICJlbi1nYiIsCiAgICAgICAgICAgICJsZXhpY2FsRW50cmllcyI6
428
- IFsKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAiZW50
429
- cmllcyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAg
430
- ICAgICAgICAgICAgICAgICAgImV0eW1vbG9naWVzIjogWwogICAgICAgICAg
431
- ICAgICAgICAgICAgICAgICAgICAgICJlYXJseSAyMXN0IGNlbnR1cnk6IGFi
432
- YnJldmlhdGlvbiBvZiBhc2V4dWFsLCB3aXRoIGFsdGVyYXRpb24gb2Ygc3Bl
433
- bGxpbmcgb24gdGhlIG1vZGVsIG9mIGFjZSIKICAgICAgICAgICAgICAgICAg
434
- ICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAiaG9t
435
- b2dyYXBoTnVtYmVyIjogIjIwMCIsCiAgICAgICAgICAgICAgICAgICAgICAg
436
- ICAgICAic2Vuc2VzIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAg
437
- ICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImRl
438
- ZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
439
- ICAgICAgICAgImEgcGVyc29uIHdobyBoYXMgbm8gc2V4dWFsIGZlZWxpbmdz
440
- IG9yIGRlc2lyZXMiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
441
- ICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJk
442
- b21haW5zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
443
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
444
- ICAgICAgICJpZCI6ICJzZXgiLAogICAgICAgICAgICAgICAgICAgICAgICAg
445
- ICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogIlNleCIKICAgICAgICAgICAg
446
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAg
447
- ICAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAg
448
- ICAgICAgICAgICAgICAgImV4YW1wbGVzIjogWwogICAgICAgICAgICAgICAg
449
- ICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAg
450
- ICAgICAgICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogImJvdGggYXNleHVh
451
- bCwgdGhleSBoYXZlIG1hbmFnZWQgdG8gY29ubmVjdCB3aXRoIG90aGVyIGFj
452
- ZXMgb2ZmbGluZSIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
453
- ICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
454
- XSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImlkIjog
455
- Im1fZW5fZ2J1czExOTA2MzguMDA0IiwKICAgICAgICAgICAgICAgICAgICAg
456
- ICAgICAgICAgICAgICAgInNob3J0RGVmaW5pdGlvbnMiOiBbCiAgICAgICAg
457
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiYXNleHVhbCBwZXJz
458
- b24iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0KICAg
459
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
460
- ICAgICAgICAgICAgICBdCiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAg
461
- ICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICJsYW5n
462
- dWFnZSI6ICJlbi1nYiIsCiAgICAgICAgICAgICAgICAgICAgImxleGljYWxD
463
- YXRlZ29yeSI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogIm5v
464
- dW4iLAogICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJOb3VuIgog
465
- ICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgInBy
466
- b251bmNpYXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICB7CiAg
467
- ICAgICAgICAgICAgICAgICAgICAgICAgICAiYXVkaW9GaWxlIjogImh0dHA6
468
- Ly9hdWRpby5veGZvcmRkaWN0aW9uYXJpZXMuY29tL2VuL21wMy9hY2VfMV9n
469
- Yl8xX2FiYnIubXAzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJk
470
- aWFsZWN0cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
471
- QnJpdGlzaCBFbmdsaXNoIgogICAgICAgICAgICAgICAgICAgICAgICAgICAg
472
- XSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJwaG9uZXRpY05vdGF0
473
- aW9uIjogIklQQSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhv
474
- bmV0aWNTcGVsbGluZyI6ICJlyapzIgogICAgICAgICAgICAgICAgICAgICAg
475
- ICB9CiAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAg
476
- ICAidGV4dCI6ICJhY2UiCiAgICAgICAgICAgICAgICB9LAogICAgICAgICAg
477
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICJlbnRyaWVzIjogWwogICAg
478
- ICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAg
479
- ICAgICAiaG9tb2dyYXBoTnVtYmVyIjogIjIwMSIsCiAgICAgICAgICAgICAg
480
- ICAgICAgICAgICAgICAic2Vuc2VzIjogWwogICAgICAgICAgICAgICAgICAg
481
- ICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
482
- ICAgICAgImRlZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAg
483
- ICAgICAgICAgICAgICAgICAgIihvZiBhIHBlcnNvbikgaGF2aW5nIG5vIHNl
484
- eHVhbCBmZWVsaW5ncyBvciBkZXNpcmVzOyBhc2V4dWFsIgogICAgICAgICAg
485
- ICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAg
486
- ICAgICAgICAgICAgICAgICAgICAiZG9tYWlucyI6IFsKICAgICAgICAgICAg
487
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAg
488
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiaWQiOiAic2V4IiwKICAg
489
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4
490
- dCI6ICJTZXgiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
491
- ICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0s
492
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJleGFtcGxl
493
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
494
- IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
495
- ICAidGV4dCI6ICJJIGRpZG4ndCByZWFsaXplIHRoYXQgSSB3YXMgYWNlIGZv
496
- ciBhIGxvbmcgdGltZSIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
497
- ICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
498
- ICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImlk
499
- IjogIm1fZW5fZ2J1czExOTA2MzguMDA2IiwKICAgICAgICAgICAgICAgICAg
500
- ICAgICAgICAgICAgICAgICAgInNob3J0RGVmaW5pdGlvbnMiOiBbCiAgICAg
501
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiYXNleHVhbCIK
502
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAg
503
- ICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAg
504
- ICAgICAgICAgIF0KICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAg
505
- ICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdl
506
- IjogImVuLWdiIiwKICAgICAgICAgICAgICAgICAgICAibGV4aWNhbENhdGVn
507
- b3J5IjogewogICAgICAgICAgICAgICAgICAgICAgICAiaWQiOiAiYWRqZWN0
508
- aXZlIiwKICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiQWRqZWN0
509
- aXZlIgogICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAg
510
- ICAgInByb251bmNpYXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAg
511
- ICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAiYXVkaW9GaWxlIjog
512
- Imh0dHA6Ly9hdWRpby5veGZvcmRkaWN0aW9uYXJpZXMuY29tL2VuL21wMy9h
513
- Y2VfMV9nYl8xX2FiYnIubXAzIiwKICAgICAgICAgICAgICAgICAgICAgICAg
514
- ICAgICJkaWFsZWN0cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAg
515
- ICAgICAiQnJpdGlzaCBFbmdsaXNoIgogICAgICAgICAgICAgICAgICAgICAg
516
- ICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJwaG9uZXRp
517
- Y05vdGF0aW9uIjogIklQQSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAg
518
- ICAicGhvbmV0aWNTcGVsbGluZyI6ICJlyapzIgogICAgICAgICAgICAgICAg
519
- ICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAg
520
- ICAgICAgICAidGV4dCI6ICJhY2UiCiAgICAgICAgICAgICAgICB9CiAgICAg
521
- ICAgICAgIF0sCiAgICAgICAgICAgICJ0eXBlIjogImhlYWR3b3JkIiwKICAg
522
- ICAgICAgICAgIndvcmQiOiAiYWNlIgogICAgICAgIH0KICAgIF0sCiAgICAi
523
- d29yZCI6ICJhY2UiCn0=
524
- http_version:
525
- recorded_at: Sun, 30 Jun 2019 01:03:19 GMT
526
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_antonym_synonym.yml DELETED
@@ -1,42 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/thesaurus/en/vapid?fields=antonyms,synonyms
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 403
25
- message: Forbidden
26
- headers:
27
- Content-Type:
28
- - text/plain; charset=us-ascii
29
- Date:
30
- - Sun, 30 Jun 2019 01:14:06 GMT
31
- Server:
32
- - openresty/1.13.6.2
33
- Content-Length:
34
- - '21'
35
- Connection:
36
- - keep-alive
37
- body:
38
- encoding: UTF-8
39
- string: Authentication failed
40
- http_version:
41
- recorded_at: Sun, 30 Jun 2019 01:14:06 GMT
42
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_antonyms.yml DELETED
@@ -1,42 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/thesaurus/en/vapid?fields=antonyms
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 403
25
- message: Forbidden
26
- headers:
27
- Content-Type:
28
- - text/plain; charset=us-ascii
29
- Date:
30
- - Sun, 30 Jun 2019 01:14:04 GMT
31
- Server:
32
- - openresty/1.13.6.2
33
- Content-Length:
34
- - '21'
35
- Connection:
36
- - keep-alive
37
- body:
38
- encoding: UTF-8
39
- string: Authentication failed
40
- http_version:
41
- recorded_at: Sun, 30 Jun 2019 01:14:04 GMT
42
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_definitions.yml DELETED
@@ -1,228 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/ace?fields=definitions
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 01:14:00 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '7392'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: UTF-8
43
- string: |-
44
- {
45
- "id": "ace",
46
- "metadata": {
47
- "operation": "retrieve",
48
- "provider": "Oxford University Press",
49
- "schema": "RetrieveEntry"
50
- },
51
- "results": [
52
- {
53
- "id": "ace",
54
- "language": "en-gb",
55
- "lexicalEntries": [
56
- {
57
- "entries": [
58
- {
59
- "homographNumber": "100",
60
- "senses": [
61
- {
62
- "definitions": [
63
- "a playing card with a single spot on it, ranked as the highest card in its suit in most card games"
64
- ],
65
- "id": "m_en_gbus0005680.006"
66
- },
67
- {
68
- "definitions": [
69
- "a person who excels at a particular sport or other activity"
70
- ],
71
- "id": "m_en_gbus0005680.010",
72
- "subsenses": [
73
- {
74
- "definitions": [
75
- "a pilot who has shot down many enemy aircraft"
76
- ],
77
- "id": "m_en_gbus0005680.011"
78
- }
79
- ]
80
- },
81
- {
82
- "definitions": [
83
- "(in tennis and similar games) a service that an opponent is unable to return and thus wins a point"
84
- ],
85
- "id": "m_en_gbus0005680.013",
86
- "subsenses": [
87
- {
88
- "definitions": [
89
- "a hole in one"
90
- ],
91
- "id": "m_en_gbus0005680.014"
92
- }
93
- ]
94
- }
95
- ]
96
- }
97
- ],
98
- "language": "en-gb",
99
- "lexicalCategory": {
100
- "id": "noun",
101
- "text": "Noun"
102
- },
103
- "text": "ace"
104
- },
105
- {
106
- "entries": [
107
- {
108
- "homographNumber": "101",
109
- "senses": [
110
- {
111
- "definitions": [
112
- "very good"
113
- ],
114
- "id": "m_en_gbus0005680.016"
115
- }
116
- ]
117
- }
118
- ],
119
- "language": "en-gb",
120
- "lexicalCategory": {
121
- "id": "adjective",
122
- "text": "Adjective"
123
- },
124
- "text": "ace"
125
- },
126
- {
127
- "entries": [
128
- {
129
- "homographNumber": "102",
130
- "senses": [
131
- {
132
- "definitions": [
133
- "(in tennis and similar games) serve an ace against (an opponent)"
134
- ],
135
- "id": "m_en_gbus0005680.020",
136
- "subsenses": [
137
- {
138
- "definitions": [
139
- "score an ace on (a hole) or with (a shot)"
140
- ],
141
- "id": "m_en_gbus0005680.026"
142
- }
143
- ]
144
- },
145
- {
146
- "definitions": [
147
- "achieve high marks in (a test or exam)"
148
- ],
149
- "id": "m_en_gbus0005680.028",
150
- "subsenses": [
151
- {
152
- "definitions": [
153
- "outdo someone in a competitive situation"
154
- ],
155
- "id": "m_en_gbus0005680.029"
156
- }
157
- ]
158
- }
159
- ]
160
- }
161
- ],
162
- "language": "en-gb",
163
- "lexicalCategory": {
164
- "id": "verb",
165
- "text": "Verb"
166
- },
167
- "text": "ace"
168
- }
169
- ],
170
- "type": "headword",
171
- "word": "ace"
172
- },
173
- {
174
- "id": "ace",
175
- "language": "en-gb",
176
- "lexicalEntries": [
177
- {
178
- "entries": [
179
- {
180
- "homographNumber": "200",
181
- "senses": [
182
- {
183
- "definitions": [
184
- "a person who has no sexual feelings or desires"
185
- ],
186
- "id": "m_en_gbus1190638.004"
187
- }
188
- ]
189
- }
190
- ],
191
- "language": "en-gb",
192
- "lexicalCategory": {
193
- "id": "noun",
194
- "text": "Noun"
195
- },
196
- "text": "ace"
197
- },
198
- {
199
- "entries": [
200
- {
201
- "homographNumber": "201",
202
- "senses": [
203
- {
204
- "definitions": [
205
- "(of a person) having no sexual feelings or desires; asexual"
206
- ],
207
- "id": "m_en_gbus1190638.006"
208
- }
209
- ]
210
- }
211
- ],
212
- "language": "en-gb",
213
- "lexicalCategory": {
214
- "id": "adjective",
215
- "text": "Adjective"
216
- },
217
- "text": "ace"
218
- }
219
- ],
220
- "type": "headword",
221
- "word": "ace"
222
- }
223
- ],
224
- "word": "ace"
225
- }
226
- http_version:
227
- recorded_at: Sun, 30 Jun 2019 01:14:00 GMT
228
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_error.yml DELETED
@@ -1,49 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/wordthatdoesnotexist
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 404
25
- message: NOT FOUND
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 01:29:22 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '90'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: UTF-8
43
- string: |-
44
- {
45
- "error": "No entry found matching supplied source_lang, word and provided filters"
46
- }
47
- http_version:
48
- recorded_at: Sun, 30 Jun 2019 01:29:22 GMT
49
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_es.yml DELETED
@@ -1,108 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/entries/es/ace
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 01:13:59 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '2317'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: UTF-8
43
- string: |-
44
- {
45
- "id": "ace",
46
- "metadata": {
47
- "operation": "retrieve",
48
- "provider": "Oxford University Press",
49
- "schema": "RetrieveEntry"
50
- },
51
- "results": [
52
- {
53
- "id": "ace",
54
- "language": "es",
55
- "lexicalEntries": [
56
- {
57
- "entries": [
58
- {
59
- "grammaticalFeatures": [
60
- {
61
- "id": "masculine",
62
- "text": "Masculine",
63
- "type": "Gender"
64
- }
65
- ],
66
- "notes": [
67
- {
68
- "text": "Se pronuncia 'eis'",
69
- "type": "editorialNote"
70
- },
71
- {
72
- "text": "El plural es aces (pronunciado 'eises')",
73
- "type": "grammaticalNote"
74
- }
75
- ],
76
- "senses": [
77
- {
78
- "definitions": [
79
- "Jugada de tenis en la que el jugador obtiene directamente un tanto al efectuar un saque sin que el adversario consiga tocar la pelota"
80
- ],
81
- "domains": [
82
- {
83
- "id": "sport",
84
- "text": "Sport"
85
- }
86
- ],
87
- "id": "id5d20fa17-6641-44d4-ac73-41220aa62a81"
88
- }
89
- ]
90
- }
91
- ],
92
- "language": "es",
93
- "lexicalCategory": {
94
- "id": "noun",
95
- "text": "Noun"
96
- },
97
- "text": "ace"
98
- }
99
- ],
100
- "type": "headword",
101
- "word": "ace"
102
- }
103
- ],
104
- "word": "ace"
105
- }
106
- http_version:
107
- recorded_at: Sun, 30 Jun 2019 01:14:00 GMT
108
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_examples.yml DELETED
@@ -1,242 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/ace?fields=examples
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 01:14:01 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '8008'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: UTF-8
43
- string: |-
44
- {
45
- "id": "ace",
46
- "metadata": {
47
- "operation": "retrieve",
48
- "provider": "Oxford University Press",
49
- "schema": "RetrieveEntry"
50
- },
51
- "results": [
52
- {
53
- "id": "ace",
54
- "language": "en-gb",
55
- "lexicalEntries": [
56
- {
57
- "entries": [
58
- {
59
- "homographNumber": "100",
60
- "senses": [
61
- {
62
- "examples": [
63
- {
64
- "text": "the ace of diamonds"
65
- },
66
- {
67
- "registers": [
68
- {
69
- "id": "figurative",
70
- "text": "Figurative"
71
- }
72
- ],
73
- "text": "life had started dealing him aces again"
74
- }
75
- ],
76
- "id": "m_en_gbus0005680.006"
77
- },
78
- {
79
- "id": "m_en_gbus0005680.010",
80
- "subsenses": [
81
- {
82
- "examples": [
83
- {
84
- "text": "a Battle of Britain ace"
85
- }
86
- ],
87
- "id": "m_en_gbus0005680.011"
88
- }
89
- ]
90
- },
91
- {
92
- "examples": [
93
- {
94
- "text": "Nadal banged down eight aces in the set"
95
- }
96
- ],
97
- "id": "m_en_gbus0005680.013",
98
- "subsenses": [
99
- {
100
- "examples": [
101
- {
102
- "text": "his hole in one at the 15th was Senior's second ace as a professional"
103
- }
104
- ],
105
- "id": "m_en_gbus0005680.014"
106
- }
107
- ]
108
- }
109
- ]
110
- }
111
- ],
112
- "language": "en-gb",
113
- "lexicalCategory": {
114
- "id": "noun",
115
- "text": "Noun"
116
- },
117
- "text": "ace"
118
- },
119
- {
120
- "entries": [
121
- {
122
- "homographNumber": "101",
123
- "senses": [
124
- {
125
- "examples": [
126
- {
127
- "text": "an ace swimmer"
128
- },
129
- {
130
- "notes": [
131
- {
132
- "text": "as exclamation",
133
- "type": "grammaticalNote"
134
- }
135
- ],
136
- "text": "Ace! You've done it!"
137
- }
138
- ],
139
- "id": "m_en_gbus0005680.016"
140
- }
141
- ]
142
- }
143
- ],
144
- "language": "en-gb",
145
- "lexicalCategory": {
146
- "id": "adjective",
147
- "text": "Adjective"
148
- },
149
- "text": "ace"
150
- },
151
- {
152
- "entries": [
153
- {
154
- "homographNumber": "102",
155
- "senses": [
156
- {
157
- "id": "m_en_gbus0005680.020",
158
- "subsenses": [
159
- {
160
- "examples": [
161
- {
162
- "text": "there was a prize for the first player to ace the hole"
163
- }
164
- ],
165
- "id": "m_en_gbus0005680.026"
166
- }
167
- ]
168
- }
169
- ]
170
- }
171
- ],
172
- "language": "en-gb",
173
- "lexicalCategory": {
174
- "id": "verb",
175
- "text": "Verb"
176
- },
177
- "text": "ace"
178
- }
179
- ],
180
- "type": "headword",
181
- "word": "ace"
182
- },
183
- {
184
- "id": "ace",
185
- "language": "en-gb",
186
- "lexicalEntries": [
187
- {
188
- "entries": [
189
- {
190
- "homographNumber": "200",
191
- "senses": [
192
- {
193
- "examples": [
194
- {
195
- "text": "both asexual, they have managed to connect with other aces offline"
196
- }
197
- ],
198
- "id": "m_en_gbus1190638.004"
199
- }
200
- ]
201
- }
202
- ],
203
- "language": "en-gb",
204
- "lexicalCategory": {
205
- "id": "noun",
206
- "text": "Noun"
207
- },
208
- "text": "ace"
209
- },
210
- {
211
- "entries": [
212
- {
213
- "homographNumber": "201",
214
- "senses": [
215
- {
216
- "examples": [
217
- {
218
- "text": "I didn't realize that I was ace for a long time"
219
- }
220
- ],
221
- "id": "m_en_gbus1190638.006"
222
- }
223
- ]
224
- }
225
- ],
226
- "language": "en-gb",
227
- "lexicalCategory": {
228
- "id": "adjective",
229
- "text": "Adjective"
230
- },
231
- "text": "ace"
232
- }
233
- ],
234
- "type": "headword",
235
- "word": "ace"
236
- }
237
- ],
238
- "word": "ace"
239
- }
240
- http_version:
241
- recorded_at: Sun, 30 Jun 2019 01:14:01 GMT
242
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_past_nouns.yml DELETED
@@ -1,49 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/ace?grammaticalFeatures=singular,past&lexicalCategory=noun
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 404
25
- message: NOT FOUND
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 05:08:44 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '90'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: UTF-8
43
- string: |-
44
- {
45
- "error": "No entry found matching supplied source_lang, word and provided filters"
46
- }
47
- http_version:
48
- recorded_at: Sun, 30 Jun 2019 05:08:44 GMT
49
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_pronunciations.yml DELETED
@@ -1,156 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/ace?fields=pronunciations
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 01:14:02 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '4931'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: ASCII-8BIT
43
- string: !binary |-
44
- ewogICAgImlkIjogImFjZSIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAg
45
- Im9wZXJhdGlvbiI6ICJyZXRyaWV2ZSIsCiAgICAgICAgInByb3ZpZGVyIjog
46
- Ik94Zm9yZCBVbml2ZXJzaXR5IFByZXNzIiwKICAgICAgICAic2NoZW1hIjog
47
- IlJldHJpZXZlRW50cnkiCiAgICB9LAogICAgInJlc3VsdHMiOiBbCiAgICAg
48
- ICAgewogICAgICAgICAgICAiaWQiOiAiYWNlIiwKICAgICAgICAgICAgImxh
49
- bmd1YWdlIjogImVuLWdiIiwKICAgICAgICAgICAgImxleGljYWxFbnRyaWVz
50
- IjogWwogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICJl
51
- bnRyaWVzIjogWwogICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAg
52
- ICAgICAgICAgICAgICAgICAgICAiaG9tb2dyYXBoTnVtYmVyIjogIjEwMCIK
53
- ICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAg
54
- IF0sCiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlIjogImVuLWdiIiwK
55
- ICAgICAgICAgICAgICAgICAgICAibGV4aWNhbENhdGVnb3J5IjogewogICAg
56
- ICAgICAgICAgICAgICAgICAgICAiaWQiOiAibm91biIsCiAgICAgICAgICAg
57
- ICAgICAgICAgICAgICJ0ZXh0IjogIk5vdW4iCiAgICAgICAgICAgICAgICAg
58
- ICAgfSwKICAgICAgICAgICAgICAgICAgICAicHJvbnVuY2lhdGlvbnMiOiBb
59
- CiAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAg
60
- ICAgICAgICAgICJhdWRpb0ZpbGUiOiAiaHR0cDovL2F1ZGlvLm94Zm9yZGRp
61
- Y3Rpb25hcmllcy5jb20vZW4vbXAzL2FjZV8xX2diXzFfYWJici5tcDMiLAog
62
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgImRpYWxlY3RzIjogWwogICAg
63
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICJCcml0aXNoIEVuZ2xpc2gi
64
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAg
65
- ICAgICAgICAgICAgICAgInBob25ldGljTm90YXRpb24iOiAiSVBBIiwKICAg
66
- ICAgICAgICAgICAgICAgICAgICAgICAgICJwaG9uZXRpY1NwZWxsaW5nIjog
67
- ImXJqnMiCiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAg
68
- ICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogImFjZSIK
69
- ICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICB7CiAgICAgICAg
70
- ICAgICAgICAgICAgImVudHJpZXMiOiBbCiAgICAgICAgICAgICAgICAgICAg
71
- ICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJob21vZ3JhcGhO
72
- dW1iZXIiOiAiMTAxIgogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAg
73
- ICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAibGFuZ3Vh
74
- Z2UiOiAiZW4tZ2IiLAogICAgICAgICAgICAgICAgICAgICJsZXhpY2FsQ2F0
75
- ZWdvcnkiOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJhZGpl
76
- Y3RpdmUiLAogICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJBZGpl
77
- Y3RpdmUiCiAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAg
78
- ICAgICAicHJvbnVuY2lhdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAg
79
- ICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJhdWRpb0ZpbGUi
80
- OiAiaHR0cDovL2F1ZGlvLm94Zm9yZGRpY3Rpb25hcmllcy5jb20vZW4vbXAz
81
- L2FjZV8xX2diXzFfYWJici5tcDMiLAogICAgICAgICAgICAgICAgICAgICAg
82
- ICAgICAgImRpYWxlY3RzIjogWwogICAgICAgICAgICAgICAgICAgICAgICAg
83
- ICAgICAgICJCcml0aXNoIEVuZ2xpc2giCiAgICAgICAgICAgICAgICAgICAg
84
- ICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgInBob25l
85
- dGljTm90YXRpb24iOiAiSVBBIiwKICAgICAgICAgICAgICAgICAgICAgICAg
86
- ICAgICJwaG9uZXRpY1NwZWxsaW5nIjogImXJqnMiCiAgICAgICAgICAgICAg
87
- ICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICBdLAogICAgICAgICAg
88
- ICAgICAgICAgICJ0ZXh0IjogImFjZSIKICAgICAgICAgICAgICAgIH0sCiAg
89
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgImVudHJpZXMi
90
- OiBbCiAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAg
91
- ICAgICAgICAgICAgICJob21vZ3JhcGhOdW1iZXIiOiAiMTAyIgogICAgICAg
92
- ICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgXSwKICAg
93
- ICAgICAgICAgICAgICAgICAibGFuZ3VhZ2UiOiAiZW4tZ2IiLAogICAgICAg
94
- ICAgICAgICAgICAgICJsZXhpY2FsQ2F0ZWdvcnkiOiB7CiAgICAgICAgICAg
95
- ICAgICAgICAgICAgICJpZCI6ICJ2ZXJiIiwKICAgICAgICAgICAgICAgICAg
96
- ICAgICAgInRleHQiOiAiVmVyYiIKICAgICAgICAgICAgICAgICAgICB9LAog
97
- ICAgICAgICAgICAgICAgICAgICJwcm9udW5jaWF0aW9ucyI6IFsKICAgICAg
98
- ICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAg
99
- ICAgImF1ZGlvRmlsZSI6ICJodHRwOi8vYXVkaW8ub3hmb3JkZGljdGlvbmFy
100
- aWVzLmNvbS9lbi9tcDMvYWNlXzFfZ2JfMV9hYmJyLm1wMyIsCiAgICAgICAg
101
- ICAgICAgICAgICAgICAgICAgICAiZGlhbGVjdHMiOiBbCiAgICAgICAgICAg
102
- ICAgICAgICAgICAgICAgICAgICAgIkJyaXRpc2ggRW5nbGlzaCIKICAgICAg
103
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
104
- ICAgICAgICAicGhvbmV0aWNOb3RhdGlvbiI6ICJJUEEiLAogICAgICAgICAg
105
- ICAgICAgICAgICAgICAgICAgInBob25ldGljU3BlbGxpbmciOiAiZcmqcyIK
106
- ICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAg
107
- IF0sCiAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiYWNlIgogICAgICAg
108
- ICAgICAgICAgfQogICAgICAgICAgICBdLAogICAgICAgICAgICAidHlwZSI6
109
- ICJoZWFkd29yZCIsCiAgICAgICAgICAgICJ3b3JkIjogImFjZSIKICAgICAg
110
- ICB9LAogICAgICAgIHsKICAgICAgICAgICAgImlkIjogImFjZSIsCiAgICAg
111
- ICAgICAgICJsYW5ndWFnZSI6ICJlbi1nYiIsCiAgICAgICAgICAgICJsZXhp
112
- Y2FsRW50cmllcyI6IFsKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAg
113
- ICAgICAgICAiZW50cmllcyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAg
114
- ewogICAgICAgICAgICAgICAgICAgICAgICAgICAgImhvbW9ncmFwaE51bWJl
115
- ciI6ICIyMDAiCiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAg
116
- ICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICJsYW5ndWFnZSI6
117
- ICJlbi1nYiIsCiAgICAgICAgICAgICAgICAgICAgImxleGljYWxDYXRlZ29y
118
- eSI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogIm5vdW4iLAog
119
- ICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJOb3VuIgogICAgICAg
120
- ICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgInByb251bmNp
121
- YXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAg
122
- ICAgICAgICAgICAgICAgICAgICAiYXVkaW9GaWxlIjogImh0dHA6Ly9hdWRp
123
- by5veGZvcmRkaWN0aW9uYXJpZXMuY29tL2VuL21wMy9hY2VfMV9nYl8xX2Fi
124
- YnIubXAzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJkaWFsZWN0
125
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiQnJpdGlz
126
- aCBFbmdsaXNoIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgXSwKICAg
127
- ICAgICAgICAgICAgICAgICAgICAgICAgICJwaG9uZXRpY05vdGF0aW9uIjog
128
- IklQQSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhvbmV0aWNT
129
- cGVsbGluZyI6ICJlyapzIgogICAgICAgICAgICAgICAgICAgICAgICB9CiAg
130
- ICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAidGV4
131
- dCI6ICJhY2UiCiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAg
132
- ewogICAgICAgICAgICAgICAgICAgICJlbnRyaWVzIjogWwogICAgICAgICAg
133
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
134
- aG9tb2dyYXBoTnVtYmVyIjogIjIwMSIKICAgICAgICAgICAgICAgICAgICAg
135
- ICAgfQogICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAg
136
- ICAgImxhbmd1YWdlIjogImVuLWdiIiwKICAgICAgICAgICAgICAgICAgICAi
137
- bGV4aWNhbENhdGVnb3J5IjogewogICAgICAgICAgICAgICAgICAgICAgICAi
138
- aWQiOiAiYWRqZWN0aXZlIiwKICAgICAgICAgICAgICAgICAgICAgICAgInRl
139
- eHQiOiAiQWRqZWN0aXZlIgogICAgICAgICAgICAgICAgICAgIH0sCiAgICAg
140
- ICAgICAgICAgICAgICAgInByb251bmNpYXRpb25zIjogWwogICAgICAgICAg
141
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
142
- YXVkaW9GaWxlIjogImh0dHA6Ly9hdWRpby5veGZvcmRkaWN0aW9uYXJpZXMu
143
- Y29tL2VuL21wMy9hY2VfMV9nYl8xX2FiYnIubXAzIiwKICAgICAgICAgICAg
144
- ICAgICAgICAgICAgICAgICJkaWFsZWN0cyI6IFsKICAgICAgICAgICAgICAg
145
- ICAgICAgICAgICAgICAgICAiQnJpdGlzaCBFbmdsaXNoIgogICAgICAgICAg
146
- ICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAg
147
- ICAgICJwaG9uZXRpY05vdGF0aW9uIjogIklQQSIsCiAgICAgICAgICAgICAg
148
- ICAgICAgICAgICAgICAicGhvbmV0aWNTcGVsbGluZyI6ICJlyapzIgogICAg
149
- ICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgXSwK
150
- ICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJhY2UiCiAgICAgICAgICAg
151
- ICAgICB9CiAgICAgICAgICAgIF0sCiAgICAgICAgICAgICJ0eXBlIjogImhl
152
- YWR3b3JkIiwKICAgICAgICAgICAgIndvcmQiOiAiYWNlIgogICAgICAgIH0K
153
- ICAgIF0sCiAgICAid29yZCI6ICJhY2UiCn0=
154
- http_version:
155
- recorded_at: Sun, 30 Jun 2019 01:14:02 GMT
156
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_synonyms.yml DELETED
@@ -1,42 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/thesaurus/en/vapid?fields=synonyms
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 403
25
- message: Forbidden
26
- headers:
27
- Content-Type:
28
- - text/plain; charset=us-ascii
29
- Date:
30
- - Sun, 30 Jun 2019 01:14:05 GMT
31
- Server:
32
- - openresty/1.13.6.2
33
- Content-Length:
34
- - '21'
35
- Connection:
36
- - keep-alive
37
- body:
38
- encoding: UTF-8
39
- string: Authentication failed
40
- http_version:
41
- recorded_at: Sun, 30 Jun 2019 01:14:05 GMT
42
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_entry_us.yml DELETED
@@ -1,526 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/ace
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 01:22:25 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '21569'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: ASCII-8BIT
43
- string: !binary |-
44
- ewogICAgImlkIjogImFjZSIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAg
45
- Im9wZXJhdGlvbiI6ICJyZXRyaWV2ZSIsCiAgICAgICAgInByb3ZpZGVyIjog
46
- Ik94Zm9yZCBVbml2ZXJzaXR5IFByZXNzIiwKICAgICAgICAic2NoZW1hIjog
47
- IlJldHJpZXZlRW50cnkiCiAgICB9LAogICAgInJlc3VsdHMiOiBbCiAgICAg
48
- ICAgewogICAgICAgICAgICAiaWQiOiAiYWNlIiwKICAgICAgICAgICAgImxh
49
- bmd1YWdlIjogImVuLWdiIiwKICAgICAgICAgICAgImxleGljYWxFbnRyaWVz
50
- IjogWwogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICJl
51
- bnRyaWVzIjogWwogICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAg
52
- ICAgICAgICAgICAgICAgICAgICAiZXR5bW9sb2dpZXMiOiBbCiAgICAgICAg
53
- ICAgICAgICAgICAgICAgICAgICAgICAgIk1pZGRsZSBFbmdsaXNoIChkZW5v
54
- dGluZyB0aGUg4oCYb25l4oCZIG9uIGRpY2UpOiB2aWEgT2xkIEZyZW5jaCBm
55
- cm9tIExhdGluYXPigJh1bml0eSwgYSB1bml04oCZIgogICAgICAgICAgICAg
56
- ICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAg
57
- ICJob21vZ3JhcGhOdW1iZXIiOiAiMTAwIiwKICAgICAgICAgICAgICAgICAg
58
- ICAgICAgICAgICJzZW5zZXMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAg
59
- ICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
60
- ICAiZGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAg
61
- ICAgICAgICAgICAgICAiYSBwbGF5aW5nIGNhcmQgd2l0aCBhIHNpbmdsZSBz
62
- cG90IG9uIGl0LCByYW5rZWQgYXMgdGhlIGhpZ2hlc3QgY2FyZCBpbiBpdHMg
63
- c3VpdCBpbiBtb3N0IGNhcmQgZ2FtZXMiCiAgICAgICAgICAgICAgICAgICAg
64
- ICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAg
65
- ICAgICAgICAgICJkb21haW5zIjogWwogICAgICAgICAgICAgICAgICAgICAg
66
- ICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAg
67
- ICAgICAgICAgICAgICAgICAgICJpZCI6ICJjYXJkcyIsCiAgICAgICAgICAg
68
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiQ2Fy
69
- ZHMiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9
70
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAg
71
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJleGFtcGxlcyI6IFsK
72
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAg
73
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4
74
- dCI6ICJ0aGUgYWNlIG9mIGRpYW1vbmRzIgogICAgICAgICAgICAgICAgICAg
75
- ICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICAg
76
- ICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAg
77
- ICAgICAgICAgICAgICAgICAgICAicmVnaXN0ZXJzIjogWwogICAgICAgICAg
78
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAg
79
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
80
- ICAiaWQiOiAiZmlndXJhdGl2ZSIsCiAgICAgICAgICAgICAgICAgICAgICAg
81
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJGaWd1cmF0
82
- aXZlIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
83
- ICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
84
- ICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
85
- ICAgICAgICAgICAidGV4dCI6ICJsaWZlIGhhZCBzdGFydGVkIGRlYWxpbmcg
86
- aGltIGFjZXMgYWdhaW4iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
87
- ICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
88
- ICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJp
89
- ZCI6ICJtX2VuX2didXMwMDA1NjgwLjAwNiIsCiAgICAgICAgICAgICAgICAg
90
- ICAgICAgICAgICAgICAgICAgICJzaG9ydERlZmluaXRpb25zIjogWwogICAg
91
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInBsYXlpbmcg
92
- Y2FyZCB3aXRoIHNpbmdsZSBzcG90IG9uIGl0LCByYW5rZWQgYXMgaGlnaGVz
93
- dCBjYXJkIGluIGl0cyBzdWl0IGluIG1vc3QgY2FyZCBnYW1lcyIKICAgICAg
94
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAgICAgICAg
95
- ICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgICAg
96
- ICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
97
- ICAiZGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAg
98
- ICAgICAgICAgICAgICAiYSBwZXJzb24gd2hvIGV4Y2VscyBhdCBhIHBhcnRp
99
- Y3VsYXIgc3BvcnQgb3Igb3RoZXIgYWN0aXZpdHkiCiAgICAgICAgICAgICAg
100
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
101
- ICAgICAgICAgICAgICAgICJkb21haW5zIjogWwogICAgICAgICAgICAgICAg
102
- ICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAg
103
- ICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJzcG9ydCIsCiAgICAg
104
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInRleHQi
105
- OiAiU3BvcnQiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
106
- ICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0s
107
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJt
108
- X2VuX2didXMwMDA1NjgwLjAxMCIsCiAgICAgICAgICAgICAgICAgICAgICAg
109
- ICAgICAgICAgICAgICJyZWdpc3RlcnMiOiBbCiAgICAgICAgICAgICAgICAg
110
- ICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAg
111
- ICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogImluZm9ybWFsIiwKICAg
112
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4
113
- dCI6ICJJbmZvcm1hbCIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
114
- ICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
115
- ICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInNo
116
- b3J0RGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAg
117
- ICAgICAgICAgICAgICAicGVyc29uIHdobyBleGNlbHMgYXQgcGFydGljdWxh
118
- ciBzcG9ydCBvciBvdGhlciBhY3Rpdml0eSIKICAgICAgICAgICAgICAgICAg
119
- ICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAg
120
- ICAgICAgICAgICAgInN1YnNlbnNlcyI6IFsKICAgICAgICAgICAgICAgICAg
121
- ICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAg
122
- ICAgICAgICAgICAgICAgICAgICAgICAiZGVmaW5pdGlvbnMiOiBbCiAgICAg
123
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJh
124
- IHBpbG90IHdobyBoYXMgc2hvdCBkb3duIG1hbnkgZW5lbXkgYWlyY3JhZnQi
125
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
126
- XSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
127
- ICAiZG9tYWlucyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
128
- ICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAg
129
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogImFpcl9mb3JjZSIs
130
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
131
- ICAgICAgICAidGV4dCI6ICJBaXJfRm9yY2UiCiAgICAgICAgICAgICAgICAg
132
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAg
133
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAgICAgICAg
134
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJleGFtcGxlcyI6
135
- IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
136
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
137
- ICAgICAgICAgICAgICAgInRleHQiOiAiYSBCYXR0bGUgb2YgQnJpdGFpbiBh
138
- Y2UiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
139
- ICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
140
- ICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
141
- ICAgICAgICAgICJpZCI6ICJtX2VuX2didXMwMDA1NjgwLjAxMSIsCiAgICAg
142
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInNob3J0
143
- RGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
144
- ICAgICAgICAgICAgICAgICAgICJwaWxvdCB3aG8gaGFzIHNob3QgZG93biBt
145
- YW55IGVuZW15IGFpcmNyYWZ0IgogICAgICAgICAgICAgICAgICAgICAgICAg
146
- ICAgICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgICAgICAgICAgICAg
147
- ICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAg
148
- ICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
149
- ICAgInRoZXNhdXJ1c0xpbmtzIjogWwogICAgICAgICAgICAgICAgICAgICAg
150
- ICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAg
151
- ICAgICAgICAgICAgICAgICAgICJlbnRyeV9pZCI6ICJhY2UiLAogICAgICAg
152
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzZW5zZV9p
153
- ZCI6ICJ0X2VuX2diMDAwMDE3My4wMDEiCiAgICAgICAgICAgICAgICAgICAg
154
- ICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAg
155
- ICAgICAgICAgICAgIF0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
156
- ICB9LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAg
157
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImRlZmluaXRpb25zIjog
158
- WwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIihp
159
- biB0ZW5uaXMgYW5kIHNpbWlsYXIgZ2FtZXMpIGEgc2VydmljZSB0aGF0IGFu
160
- IG9wcG9uZW50IGlzIHVuYWJsZSB0byByZXR1cm4gYW5kIHRodXMgd2lucyBh
161
- IHBvaW50IgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBd
162
- LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiZG9tYWlu
163
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
164
- IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
165
- ICAiaWQiOiAidGVubmlzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAg
166
- ICAgICAgICAgICAgICAgICAidGV4dCI6ICJUZW5uaXMiCiAgICAgICAgICAg
167
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
168
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
169
- ICAgICAgICAgICAgICAgICJleGFtcGxlcyI6IFsKICAgICAgICAgICAgICAg
170
- ICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAg
171
- ICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJOYWRhbCBiYW5n
172
- ZWQgZG93biBlaWdodCBhY2VzIGluIHRoZSBzZXQiCiAgICAgICAgICAgICAg
173
- ICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAg
174
- ICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAg
175
- ICAgICAgICAgICAgICJpZCI6ICJtX2VuX2didXMwMDA1NjgwLjAxMyIsCiAg
176
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzaG9ydERlZmlu
177
- aXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
178
- ICAgICAgIihpbiB0ZW5uaXMgYW5kIHNpbWlsYXIgZ2FtZXMpIHNlcnZpY2Ug
179
- dGhhdCBvcHBvbmVudCBpcyB1bmFibGUgdG8gcmV0dXJuIGFuZCB0aHVzIHdp
180
- bnMgcG9pbnQiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
181
- IF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzdWJz
182
- ZW5zZXMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
183
- ICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
184
- ICAgICAgImRlZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAg
185
- ICAgICAgICAgICAgICAgICAgICAgICAgICAiYSBob2xlIGluIG9uZSIKICAg
186
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAog
187
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJk
188
- b21haW5zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
189
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
190
- ICAgICAgICAgICAgICAgICAgICAgICAiaWQiOiAiZ29sZiIsCiAgICAgICAg
191
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
192
- dGV4dCI6ICJHb2xmIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
193
- ICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAg
194
- ICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAg
195
- ICAgICAgICAgICAgICAgICAgICAiZXhhbXBsZXMiOiBbCiAgICAgICAgICAg
196
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAg
197
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
198
- ICJ0ZXh0IjogImhpcyBob2xlIGluIG9uZSBhdCB0aGUgMTV0aCB3YXMgU2Vu
199
- aW9yJ3Mgc2Vjb25kIGFjZSBhcyBhIHByb2Zlc3Npb25hbCIKICAgICAgICAg
200
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAg
201
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0sCiAg
202
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImlk
203
- IjogIm1fZW5fZ2J1czAwMDU2ODAuMDE0IiwKICAgICAgICAgICAgICAgICAg
204
- ICAgICAgICAgICAgICAgICAgICAgICAgICAicmVnaXN0ZXJzIjogWwogICAg
205
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7
206
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
207
- ICAgICAgICAiaWQiOiAiaW5mb3JtYWwiLAogICAgICAgICAgICAgICAgICAg
208
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiSW5m
209
- b3JtYWwiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
210
- ICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
211
- ICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
212
- ICAgICAgICAgICAgICJzaG9ydERlZmluaXRpb25zIjogWwogICAgICAgICAg
213
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiaG9sZSBp
214
- biBvbmUiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
215
- ICAgICAgXQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
216
- ICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdCiAg
217
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAg
218
- ICAgICAgICAgICAgICAgXQogICAgICAgICAgICAgICAgICAgICAgICB9CiAg
219
- ICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAibGFu
220
- Z3VhZ2UiOiAiZW4tZ2IiLAogICAgICAgICAgICAgICAgICAgICJsZXhpY2Fs
221
- Q2F0ZWdvcnkiOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJu
222
- b3VuIiwKICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiTm91biIK
223
- ICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgICJw
224
- cm9udW5jaWF0aW9ucyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgewog
225
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgImF1ZGlvRmlsZSI6ICJodHRw
226
- Oi8vYXVkaW8ub3hmb3JkZGljdGlvbmFyaWVzLmNvbS9lbi9tcDMvYWNlXzFf
227
- Z2JfMV9hYmJyLm1wMyIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
228
- ZGlhbGVjdHMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
229
- IkJyaXRpc2ggRW5nbGlzaCIKICAgICAgICAgICAgICAgICAgICAgICAgICAg
230
- IF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhvbmV0aWNOb3Rh
231
- dGlvbiI6ICJJUEEiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgInBo
232
- b25ldGljU3BlbGxpbmciOiAiZcmqcyIKICAgICAgICAgICAgICAgICAgICAg
233
- ICAgfQogICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAg
234
- ICAgInRleHQiOiAiYWNlIgogICAgICAgICAgICAgICAgfSwKICAgICAgICAg
235
- ICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAiZW50cmllcyI6IFsKICAg
236
- ICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAg
237
- ICAgICAgImhvbW9ncmFwaE51bWJlciI6ICIxMDEiLAogICAgICAgICAgICAg
238
- ICAgICAgICAgICAgICAgInNlbnNlcyI6IFsKICAgICAgICAgICAgICAgICAg
239
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
240
- ICAgICAgICJkZWZpbml0aW9ucyI6IFsKICAgICAgICAgICAgICAgICAgICAg
241
- ICAgICAgICAgICAgICAgICAgICJ2ZXJ5IGdvb2QiCiAgICAgICAgICAgICAg
242
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
243
- ICAgICAgICAgICAgICAgICJleGFtcGxlcyI6IFsKICAgICAgICAgICAgICAg
244
- ICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAg
245
- ICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJhbiBhY2Ugc3dp
246
- bW1lciIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
247
- IH0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7
248
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
249
- Im5vdGVzIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
250
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
251
- ICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJhcyBleGNsYW1hdGlv
252
- biIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
253
- ICAgICAgICAgICAidHlwZSI6ICJncmFtbWF0aWNhbE5vdGUiCiAgICAgICAg
254
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAg
255
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAog
256
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJ0
257
- ZXh0IjogIkFjZSEgWW91J3ZlIGRvbmUgaXQhIgogICAgICAgICAgICAgICAg
258
- ICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAg
259
- ICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAg
260
- ICAgICAgICAgICAiaWQiOiAibV9lbl9nYnVzMDAwNTY4MC4wMTYiLAogICAg
261
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAicmVnaXN0ZXJzIjog
262
- WwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewog
263
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJp
264
- ZCI6ICJpbmZvcm1hbCIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
265
- ICAgICAgICAgICAgICAgInRleHQiOiAiSW5mb3JtYWwiCiAgICAgICAgICAg
266
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
267
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
268
- ICAgICAgICAgICAgICAgICJzaG9ydERlZmluaXRpb25zIjogWwogICAgICAg
269
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInZlcnkgZ29vZCIK
270
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXSwKICAgICAg
271
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInRoZXNhdXJ1c0xpbmtz
272
- IjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
273
- ewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
274
- ICJlbnRyeV9pZCI6ICJhY2UiLAogICAgICAgICAgICAgICAgICAgICAgICAg
275
- ICAgICAgICAgICAgICAgICAgICJzZW5zZV9pZCI6ICJ0X2VuX2diMDAwMDE3
276
- My4wMDIiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
277
- ICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0KICAg
278
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
279
- ICAgICAgICAgICAgICBdCiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAg
280
- ICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICJsYW5n
281
- dWFnZSI6ICJlbi1nYiIsCiAgICAgICAgICAgICAgICAgICAgImxleGljYWxD
282
- YXRlZ29yeSI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogImFk
283
- amVjdGl2ZSIsCiAgICAgICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogIkFk
284
- amVjdGl2ZSIKICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAg
285
- ICAgICAgICJwcm9udW5jaWF0aW9ucyI6IFsKICAgICAgICAgICAgICAgICAg
286
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgImF1ZGlvRmls
287
- ZSI6ICJodHRwOi8vYXVkaW8ub3hmb3JkZGljdGlvbmFyaWVzLmNvbS9lbi9t
288
- cDMvYWNlXzFfZ2JfMV9hYmJyLm1wMyIsCiAgICAgICAgICAgICAgICAgICAg
289
- ICAgICAgICAiZGlhbGVjdHMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAg
290
- ICAgICAgICAgIkJyaXRpc2ggRW5nbGlzaCIKICAgICAgICAgICAgICAgICAg
291
- ICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhv
292
- bmV0aWNOb3RhdGlvbiI6ICJJUEEiLAogICAgICAgICAgICAgICAgICAgICAg
293
- ICAgICAgInBob25ldGljU3BlbGxpbmciOiAiZcmqcyIKICAgICAgICAgICAg
294
- ICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAg
295
- ICAgICAgICAgICAgInRleHQiOiAiYWNlIgogICAgICAgICAgICAgICAgfSwK
296
- ICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAiZW50cmll
297
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAg
298
- ICAgICAgICAgICAgICAgImdyYW1tYXRpY2FsRmVhdHVyZXMiOiBbCiAgICAg
299
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAg
300
- ICAgICAgICAgICAgICAgICAgICAiaWQiOiAidHJhbnNpdGl2ZSIsCiAgICAg
301
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogIlRyYW5z
302
- aXRpdmUiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
303
- dHlwZSI6ICJTdWJjYXRlZ29yaXphdGlvbiIKICAgICAgICAgICAgICAgICAg
304
- ICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBd
305
- LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgImhvbW9ncmFwaE51bWJl
306
- ciI6ICIxMDIiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgInNlbnNl
307
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAg
308
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJkZWZpbml0aW9ucyI6
309
- IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIo
310
- aW4gdGVubmlzIGFuZCBzaW1pbGFyIGdhbWVzKSBzZXJ2ZSBhbiBhY2UgYWdh
311
- aW5zdCAoYW4gb3Bwb25lbnQpIgogICAgICAgICAgICAgICAgICAgICAgICAg
312
- ICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
313
- ICAgICAiZG9tYWlucyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAg
314
- ICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
315
- ICAgICAgICAgICAgICAiaWQiOiAidGVubmlzIiwKICAgICAgICAgICAgICAg
316
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJUZW5uaXMi
317
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAg
318
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAg
319
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJtX2VuX2didXMw
320
- MDA1NjgwLjAyMCIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
321
- ICAgICJyZWdpc3RlcnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAg
322
- ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
323
- ICAgICAgICAgICAgICAgImlkIjogImluZm9ybWFsIiwKICAgICAgICAgICAg
324
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJJbmZv
325
- cm1hbCIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
326
- IH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXSwKICAg
327
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInNob3J0RGVmaW5p
328
- dGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
329
- ICAgICAiKGluIHRlbm5pcyBhbmQgc2ltaWxhciBnYW1lcykgc2VydmUgYWNl
330
- IGFnYWluc3QiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
331
- IF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzdWJz
332
- ZW5zZXMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
333
- ICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
334
- ICAgICAgImRlZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAg
335
- ICAgICAgICAgICAgICAgICAgICAgICAgICAic2NvcmUgYW4gYWNlIG9uIChh
336
- IGhvbGUpIG9yIHdpdGggKGEgc2hvdCkiCiAgICAgICAgICAgICAgICAgICAg
337
- ICAgICAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAg
338
- ICAgICAgICAgICAgICAgICAgICAgICAgICAiZG9tYWlucyI6IFsKICAgICAg
339
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewog
340
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
341
- ICAgICAgImlkIjogImdvbGYiLAogICAgICAgICAgICAgICAgICAgICAgICAg
342
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiR29sZiIKICAg
343
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
344
- fQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
345
- IF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
346
- ICAgImV4YW1wbGVzIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAg
347
- ICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAg
348
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJ0aGVyZSB3
349
- YXMgYSBwcml6ZSBmb3IgdGhlIGZpcnN0IHBsYXllciB0byBhY2UgdGhlIGhv
350
- bGUiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
351
- ICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
352
- ICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
353
- ICAgICAgICAgICJpZCI6ICJtX2VuX2didXMwMDA1NjgwLjAyNiIsCiAgICAg
354
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInNob3J0
355
- RGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
356
- ICAgICAgICAgICAgICAgICAgICJzY29yZSBhY2Ugb24gaG9sZSBvciB3aXRo
357
- IgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
358
- IF0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0K
359
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAg
360
- ICAgICAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAg
361
- ICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAg
362
- ICAgICAgICAiZGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAg
363
- ICAgICAgICAgICAgICAgICAgICAiYWNoaWV2ZSBoaWdoIG1hcmtzIGluIChh
364
- IHRlc3Qgb3IgZXhhbSkiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
365
- ICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
366
- ICJpZCI6ICJtX2VuX2didXMwMDA1NjgwLjAyOCIsCiAgICAgICAgICAgICAg
367
- ICAgICAgICAgICAgICAgICAgICAgICJyZWdpb25zIjogWwogICAgICAgICAg
368
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAg
369
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6ICJub3J0aF9h
370
- bWVyaWNhbiIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
371
- ICAgICAgICAgInRleHQiOiAiTm9ydGhfQW1lcmljYW4iCiAgICAgICAgICAg
372
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
373
- ICAgICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAg
374
- ICAgICAgICAgICAgICAgICJyZWdpc3RlcnMiOiBbCiAgICAgICAgICAgICAg
375
- ICAgICAgICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAg
376
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogImluZm9ybWFsIiwK
377
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
378
- dGV4dCI6ICJJbmZvcm1hbCIKICAgICAgICAgICAgICAgICAgICAgICAgICAg
379
- ICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
380
- ICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
381
- InNob3J0RGVmaW5pdGlvbnMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAg
382
- ICAgICAgICAgICAgICAgICAiYWNoaWV2ZSBoaWdoIG1hcmtzIGluIgogICAg
383
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAgICAgICAg
384
- ICAgICAgICAgICAgICAgICAgICAgICAgICAic3Vic2Vuc2VzIjogWwogICAg
385
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAg
386
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJkZWZpbml0
387
- aW9ucyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
388
- ICAgICAgICAgICAgIm91dGRvIHNvbWVvbmUgaW4gYSBjb21wZXRpdGl2ZSBz
389
- aXR1YXRpb24iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
390
- ICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
391
- ICAgICAgICAgICAiaWQiOiAibV9lbl9nYnVzMDAwNTY4MC4wMjkiLAogICAg
392
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJub3Rl
393
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
394
- ICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
395
- ICAgICAgICAgICAgICAgICAgInRleHQiOiAiXCJhY2Ugc29tZW9uZSBvdXRc
396
- IiIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
397
- ICAgICAgICAgICAidHlwZSI6ICJ3b3JkRm9ybU5vdGUiCiAgICAgICAgICAg
398
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAg
399
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAg
400
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzaG9y
401
- dERlZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAg
402
- ICAgICAgICAgICAgICAgICAgICAib3V0ZG8gc29tZW9uZSBpbiBjb21wZXRp
403
- dGl2ZSBzaXR1YXRpb24iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
404
- ICAgICAgICAgICAgICAgXQogICAgICAgICAgICAgICAgICAgICAgICAgICAg
405
- ICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
406
- ICAgICBdCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAg
407
- ICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAgICAgICAgICAgICAg
408
- ICAgICB9CiAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAg
409
- ICAgICAibGFuZ3VhZ2UiOiAiZW4tZ2IiLAogICAgICAgICAgICAgICAgICAg
410
- ICJsZXhpY2FsQ2F0ZWdvcnkiOiB7CiAgICAgICAgICAgICAgICAgICAgICAg
411
- ICJpZCI6ICJ2ZXJiIiwKICAgICAgICAgICAgICAgICAgICAgICAgInRleHQi
412
- OiAiVmVyYiIKICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAg
413
- ICAgICAgICJwcm9udW5jaWF0aW9ucyI6IFsKICAgICAgICAgICAgICAgICAg
414
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgImF1ZGlvRmls
415
- ZSI6ICJodHRwOi8vYXVkaW8ub3hmb3JkZGljdGlvbmFyaWVzLmNvbS9lbi9t
416
- cDMvYWNlXzFfZ2JfMV9hYmJyLm1wMyIsCiAgICAgICAgICAgICAgICAgICAg
417
- ICAgICAgICAiZGlhbGVjdHMiOiBbCiAgICAgICAgICAgICAgICAgICAgICAg
418
- ICAgICAgICAgIkJyaXRpc2ggRW5nbGlzaCIKICAgICAgICAgICAgICAgICAg
419
- ICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhv
420
- bmV0aWNOb3RhdGlvbiI6ICJJUEEiLAogICAgICAgICAgICAgICAgICAgICAg
421
- ICAgICAgInBob25ldGljU3BlbGxpbmciOiAiZcmqcyIKICAgICAgICAgICAg
422
- ICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIF0sCiAgICAgICAg
423
- ICAgICAgICAgICAgInRleHQiOiAiYWNlIgogICAgICAgICAgICAgICAgfQog
424
- ICAgICAgICAgICBdLAogICAgICAgICAgICAidHlwZSI6ICJoZWFkd29yZCIs
425
- CiAgICAgICAgICAgICJ3b3JkIjogImFjZSIKICAgICAgICB9LAogICAgICAg
426
- IHsKICAgICAgICAgICAgImlkIjogImFjZSIsCiAgICAgICAgICAgICJsYW5n
427
- dWFnZSI6ICJlbi1nYiIsCiAgICAgICAgICAgICJsZXhpY2FsRW50cmllcyI6
428
- IFsKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAiZW50
429
- cmllcyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAg
430
- ICAgICAgICAgICAgICAgICAgImV0eW1vbG9naWVzIjogWwogICAgICAgICAg
431
- ICAgICAgICAgICAgICAgICAgICAgICJlYXJseSAyMXN0IGNlbnR1cnk6IGFi
432
- YnJldmlhdGlvbiBvZiBhc2V4dWFsLCB3aXRoIGFsdGVyYXRpb24gb2Ygc3Bl
433
- bGxpbmcgb24gdGhlIG1vZGVsIG9mIGFjZSIKICAgICAgICAgICAgICAgICAg
434
- ICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAiaG9t
435
- b2dyYXBoTnVtYmVyIjogIjIwMCIsCiAgICAgICAgICAgICAgICAgICAgICAg
436
- ICAgICAic2Vuc2VzIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAg
437
- ICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImRl
438
- ZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
439
- ICAgICAgICAgImEgcGVyc29uIHdobyBoYXMgbm8gc2V4dWFsIGZlZWxpbmdz
440
- IG9yIGRlc2lyZXMiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
441
- ICAgIF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJk
442
- b21haW5zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
443
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
444
- ICAgICAgICJpZCI6ICJzZXgiLAogICAgICAgICAgICAgICAgICAgICAgICAg
445
- ICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogIlNleCIKICAgICAgICAgICAg
446
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAg
447
- ICAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAg
448
- ICAgICAgICAgICAgICAgImV4YW1wbGVzIjogWwogICAgICAgICAgICAgICAg
449
- ICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAg
450
- ICAgICAgICAgICAgICAgICAgICAgICAgICJ0ZXh0IjogImJvdGggYXNleHVh
451
- bCwgdGhleSBoYXZlIG1hbmFnZWQgdG8gY29ubmVjdCB3aXRoIG90aGVyIGFj
452
- ZXMgb2ZmbGluZSIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
453
- ICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
454
- XSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImlkIjog
455
- Im1fZW5fZ2J1czExOTA2MzguMDA0IiwKICAgICAgICAgICAgICAgICAgICAg
456
- ICAgICAgICAgICAgICAgInNob3J0RGVmaW5pdGlvbnMiOiBbCiAgICAgICAg
457
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiYXNleHVhbCBwZXJz
458
- b24iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0KICAg
459
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
460
- ICAgICAgICAgICAgICBdCiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAg
461
- ICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgICAgICJsYW5n
462
- dWFnZSI6ICJlbi1nYiIsCiAgICAgICAgICAgICAgICAgICAgImxleGljYWxD
463
- YXRlZ29yeSI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgImlkIjogIm5v
464
- dW4iLAogICAgICAgICAgICAgICAgICAgICAgICAidGV4dCI6ICJOb3VuIgog
465
- ICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgInBy
466
- b251bmNpYXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAgICB7CiAg
467
- ICAgICAgICAgICAgICAgICAgICAgICAgICAiYXVkaW9GaWxlIjogImh0dHA6
468
- Ly9hdWRpby5veGZvcmRkaWN0aW9uYXJpZXMuY29tL2VuL21wMy9hY2VfMV9n
469
- Yl8xX2FiYnIubXAzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJk
470
- aWFsZWN0cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
471
- QnJpdGlzaCBFbmdsaXNoIgogICAgICAgICAgICAgICAgICAgICAgICAgICAg
472
- XSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJwaG9uZXRpY05vdGF0
473
- aW9uIjogIklQQSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGhv
474
- bmV0aWNTcGVsbGluZyI6ICJlyapzIgogICAgICAgICAgICAgICAgICAgICAg
475
- ICB9CiAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICAg
476
- ICAidGV4dCI6ICJhY2UiCiAgICAgICAgICAgICAgICB9LAogICAgICAgICAg
477
- ICAgICAgewogICAgICAgICAgICAgICAgICAgICJlbnRyaWVzIjogWwogICAg
478
- ICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAg
479
- ICAgICAiaG9tb2dyYXBoTnVtYmVyIjogIjIwMSIsCiAgICAgICAgICAgICAg
480
- ICAgICAgICAgICAgICAic2Vuc2VzIjogWwogICAgICAgICAgICAgICAgICAg
481
- ICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
482
- ICAgICAgImRlZmluaXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAg
483
- ICAgICAgICAgICAgICAgICAgIihvZiBhIHBlcnNvbikgaGF2aW5nIG5vIHNl
484
- eHVhbCBmZWVsaW5ncyBvciBkZXNpcmVzOyBhc2V4dWFsIgogICAgICAgICAg
485
- ICAgICAgICAgICAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAg
486
- ICAgICAgICAgICAgICAgICAgICAiZG9tYWlucyI6IFsKICAgICAgICAgICAg
487
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAg
488
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiaWQiOiAic2V4IiwKICAg
489
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidGV4
490
- dCI6ICJTZXgiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
491
- ICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0s
492
- CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJleGFtcGxl
493
- cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
494
- IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
495
- ICAidGV4dCI6ICJJIGRpZG4ndCByZWFsaXplIHRoYXQgSSB3YXMgYWNlIGZv
496
- ciBhIGxvbmcgdGltZSIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
497
- ICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
498
- ICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImlk
499
- IjogIm1fZW5fZ2J1czExOTA2MzguMDA2IiwKICAgICAgICAgICAgICAgICAg
500
- ICAgICAgICAgICAgICAgICAgInNob3J0RGVmaW5pdGlvbnMiOiBbCiAgICAg
501
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiYXNleHVhbCIK
502
- ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAg
503
- ICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAg
504
- ICAgICAgICAgIF0KICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAg
505
- ICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdl
506
- IjogImVuLWdiIiwKICAgICAgICAgICAgICAgICAgICAibGV4aWNhbENhdGVn
507
- b3J5IjogewogICAgICAgICAgICAgICAgICAgICAgICAiaWQiOiAiYWRqZWN0
508
- aXZlIiwKICAgICAgICAgICAgICAgICAgICAgICAgInRleHQiOiAiQWRqZWN0
509
- aXZlIgogICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAg
510
- ICAgInByb251bmNpYXRpb25zIjogWwogICAgICAgICAgICAgICAgICAgICAg
511
- ICB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAiYXVkaW9GaWxlIjog
512
- Imh0dHA6Ly9hdWRpby5veGZvcmRkaWN0aW9uYXJpZXMuY29tL2VuL21wMy9h
513
- Y2VfMV9nYl8xX2FiYnIubXAzIiwKICAgICAgICAgICAgICAgICAgICAgICAg
514
- ICAgICJkaWFsZWN0cyI6IFsKICAgICAgICAgICAgICAgICAgICAgICAgICAg
515
- ICAgICAiQnJpdGlzaCBFbmdsaXNoIgogICAgICAgICAgICAgICAgICAgICAg
516
- ICAgICAgXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJwaG9uZXRp
517
- Y05vdGF0aW9uIjogIklQQSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAg
518
- ICAicGhvbmV0aWNTcGVsbGluZyI6ICJlyapzIgogICAgICAgICAgICAgICAg
519
- ICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAg
520
- ICAgICAgICAidGV4dCI6ICJhY2UiCiAgICAgICAgICAgICAgICB9CiAgICAg
521
- ICAgICAgIF0sCiAgICAgICAgICAgICJ0eXBlIjogImhlYWR3b3JkIiwKICAg
522
- ICAgICAgICAgIndvcmQiOiAiYWNlIgogICAgICAgIH0KICAgIF0sCiAgICAi
523
- d29yZCI6ICJhY2UiCn0=
524
- http_version:
525
- recorded_at: Sun, 30 Jun 2019 01:22:26 GMT
526
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_inflection.yml DELETED
@@ -1,74 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/lemmas/en/changed
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 04:24:14 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '708'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: UTF-8
43
- string: |-
44
- {
45
- "metadata": {
46
- "provider": "Oxford University Press"
47
- },
48
- "results": [
49
- {
50
- "id": "changed",
51
- "language": "en",
52
- "lexicalEntries": [
53
- {
54
- "inflectionOf": [
55
- {
56
- "id": "change",
57
- "text": "change"
58
- }
59
- ],
60
- "language": "en",
61
- "lexicalCategory": {
62
- "id": "verb",
63
- "text": "Verb"
64
- },
65
- "text": "changed"
66
- }
67
- ],
68
- "word": "changed"
69
- }
70
- ]
71
- }
72
- http_version:
73
- recorded_at: Sun, 30 Jun 2019 04:24:14 GMT
74
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_inflection_filters.yml DELETED
@@ -1,52 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v2/lemmas/en/changed?grammaticalFeatures=singular,past&lexicalCategory=noun
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Api-Version:
28
- - v2
29
- Code-Version:
30
- - v2.3.2-g02aa52c
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Date:
34
- - Sun, 30 Jun 2019 04:24:48 GMT
35
- Server:
36
- - openresty/1.13.6.2
37
- Content-Length:
38
- - '92'
39
- Connection:
40
- - keep-alive
41
- body:
42
- encoding: UTF-8
43
- string: |-
44
- {
45
- "metadata": {
46
- "provider": "Oxford University Press"
47
- },
48
- "results": []
49
- }
50
- http_version:
51
- recorded_at: Sun, 30 Jun 2019 04:24:47 GMT
52
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_search.yml DELETED
@@ -1,42 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v1/search/en?prefix=false&q=vapid
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 403
25
- message: Forbidden
26
- headers:
27
- Content-Type:
28
- - text/plain; charset=us-ascii
29
- Date:
30
- - Sun, 30 Jun 2019 04:42:49 GMT
31
- Server:
32
- - openresty/1.9.7.4
33
- Content-Length:
34
- - '21'
35
- Connection:
36
- - keep-alive
37
- body:
38
- encoding: UTF-8
39
- string: Authentication failed
40
- http_version:
41
- recorded_at: Sun, 30 Jun 2019 04:42:49 GMT
42
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_search_prefix.yml DELETED
@@ -1,42 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v1/search/en?prefix=true&q=condition
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 403
25
- message: Forbidden
26
- headers:
27
- Content-Type:
28
- - text/plain; charset=us-ascii
29
- Date:
30
- - Sun, 30 Jun 2019 04:42:49 GMT
31
- Server:
32
- - openresty/1.9.7.4
33
- Content-Length:
34
- - '21'
35
- Connection:
36
- - keep-alive
37
- body:
38
- encoding: UTF-8
39
- string: Authentication failed
40
- http_version:
41
- recorded_at: Sun, 30 Jun 2019 04:42:49 GMT
42
- recorded_with: VCR 4.0.0
data/fixtures/vcr_cassettes/v1_search_translation.yml DELETED
@@ -1,42 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://od-api.oxforddictionaries.com/api/v1/search/en/translations=id?prefix=false&q=eye
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - od-api.oxforddictionaries.com
18
- App-Id:
19
- - APP_ID
20
- App-Key:
21
- - APP_KEY
22
- response:
23
- status:
24
- code: 403
25
- message: Forbidden
26
- headers:
27
- Content-Type:
28
- - text/plain; charset=us-ascii
29
- Date:
30
- - Sun, 30 Jun 2019 04:42:50 GMT
31
- Server:
32
- - openresty/1.9.7.4
33
- Content-Length:
34
- - '21'
35
- Connection:
36
- - keep-alive
37
- body:
38
- encoding: UTF-8
39
- string: Authentication failed
40
- http_version:
41
- recorded_at: Sun, 30 Jun 2019 04:42:50 GMT
42
- recorded_with: VCR 4.0.0
data/lib/oxford_dictionary/client.rb CHANGED
@@ -8,7 +8,10 @@ require 'oxford_dictionary/endpoints/search'
8
8
require 'oxford_dictionary/request'
9
9
10
10
module OxfordDictionary
11
- # The client object to interact with
11
+ # Our client class to interface with the different API endpoints
12
+ # This should be, in general, the only touchpoint for library use
13
+ #
14
+ # OxfordDictionary::Client.new is also aliased to OxfordDictionary.new
12
15
class Client
13
16
attr_reader :app_id, :app_key
14
17
@@ -21,183 +24,8 @@ module OxfordDictionary
21
24
end
22
25
end
23
26
24
- def entry(*args)
25
- if args.first.is_a?(Hash)
27
+ def entry(word:, dataset:, params:)
28
+ entry_endpoint.entry(word: word, dataset: dataset, params: params)
26
- args = args.first
27
- entry_endpoint.entry(
28
- word: args[:word],
29
- dataset: args[:dataset],
30
- params: args[:params]
31
- )
32
- else
33
- warn '''
34
- The V1 interface for this library is DEPRECATED.
35
- Use the new V2 interface for this
36
- method instead. Reference github.com/swcraig/oxford-dictionary/pull/8
37
- for more information. Specifically check out
38
- OxfordDictionary::Endpoints::Entries#entry for the new interface.
39
- '''
40
- # Try our best
41
- dataset = args[1].is_a?(Hash) && args[1][:lang] || 'en-gb'
42
- has_lang = args[1].is_a?(Hash) && args[1][:lang]
43
- args[1].delete(:lang) if has_lang
44
-
45
- params = args[1]&.map do |key, value|
46
- if value.is_a?(Array)
47
- [key, value.join(',')]
48
- else
49
- [key, value]
50
- end
51
- end.to_h
52
- parameters = params || {}
53
- entry(word: args.first, dataset: dataset, params: parameters)
54
- end
55
- end
56
-
57
- def entry_definitions(*args)
58
- warn '''
59
- Client#entry_defintions is DEPRECATED.
60
- Use Client#entry instead. Reference
61
- https://github.com/swcraig/oxford-dictionary/pull/8 for more
62
- information. Check out OxfordDictionary::Endpoints::Entries for the
63
- interface to use. Specifically use it with
64
- params: { fields: \'definitions\' }
65
- '''
66
-
67
- dataset = args[1].is_a?(Hash) && args[1][:lang] || 'en-gb'
68
- entry(
69
- word: args.first,
70
- dataset: dataset,
71
- params: { fields: 'definitions' }
72
- )
73
- end
74
-
75
- def entry_examples(*args)
76
- warn '''
77
- Client#entry_examples is DEPRECATED. Use Client#entry instead. Reference
78
- https://github.com/swcraig/oxford-dictionary/pull/8 for more
79
- information. Check out OxfordDictionary::Endpoints::Entries for the
80
- interface to use. Specifically use it with
81
- params: { fields: \'examples\' }
82
- '''
83
-
84
- dataset = args[1].is_a?(Hash) && args[1][:lang] || 'en-gb'
85
- entry(
86
- word: args.first,
87
- dataset: dataset,
88
- params: { fields: 'examples' }
89
- )
90
- end
91
-
92
- def entry_pronunciations(*args)
93
- warn '''
94
- Client#entry_pronunciations is DEPRECATED.
95
- Use Client#entry instead. Reference
96
- https://github.com/swcraig/oxford-dictionary/pull/8 for more
97
- information. Check out OxfordDictionary::Endpoints::Entries for the
98
- interface to use. Specifically use it with
99
- params: { fields: \'pronunciations\' }
100
- '''
101
-
102
- dataset = args[1].is_a?(Hash) && args[1][:lang] || 'en-gb'
103
- entry(
104
- word: args.first,
105
- dataset: dataset,
106
- params: { fields: 'pronunciations' }
107
- )
108
- end
109
-
110
- def entry_sentences(*args)
111
- warn '''
112
- Client#entry_sentences is DEPRECATED.
113
- Use Client#sentence instead. Reference
114
- https://github.com/swcraig/oxford-dictionary/pull/13 for more
115
- information. Check out OxfordDictionary::Endpoints::Sentences for the
116
- interface to use.
117
- '''
118
-
119
- dataset = args[1].is_a?(Hash) && args[1][:lang] || 'en'
120
- sentence(
121
- word: args.first,
122
- language: dataset,
123
- params: {}
124
- )
125
- end
126
-
127
- def entry_antonyms(*args)
128
- warn '''
129
- Client#entry_antonyms is DEPRECATED.
130
- Use Client#thesaurus instead. Reference
131
- https://github.com/swcraig/oxford-dictionary/pull/13 for more
132
- information. Check out OxfordDictionary::Endpoints::Thesaurus for the
133
- interface to use. Specifically use it with
134
- params: { fields: \'antonyms\' }
135
- '''
136
-
137
- thesaurus(
138
- word: args.first,
139
- language: 'en',
140
- params: { fields: 'antonyms' }
141
- )
142
- end
143
-
144
- def entry_synonyms(*args)
145
- warn '''
146
- Client#entry_synonyms is DEPRECATED.
147
- Use Client#thesaurus instead. Reference
148
- https://github.com/swcraig/oxford-dictionary/pull/13 for more
149
- information. Check out OxfordDictionary::Endpoints::Thesaurus for the
150
- interface to use. Specifically use it with
151
- params: { fields: \'synonyms\' }
152
- '''
153
-
154
- thesaurus(
155
- word: args.first,
156
- language: 'en',
157
- params: { fields: 'synonyms' }
158
- )
159
- end
160
-
161
- def entry_antonyms_synonyms(*args)
162
- warn '''
163
- Client#entry_antonyms_synonyms is DEPRECATED.
164
- Use Client#thesaurus instead. Reference
165
- https://github.com/swcraig/oxford-dictionary/pull/14 for more
166
- information. Check out OxfordDictionary::Endpoints::Thesaurus for the
167
- interface to use. Specifically use it with
168
- params: { fields: \'synonyms,antonyms\' }
169
- '''
170
-
171
- thesaurus(
172
- word: args.first,
173
- language: 'en',
174
- params: { fields: 'antonyms,synonyms' }
175
- )
176
- end
177
-
178
- def entry_translations(*args)
179
- warn '''
180
- Client#entry_translations is DEPRECATED.
181
- Use Client#translation instead. Reference
182
- https://github.com/swcraig/oxford-dictionary/pull/12 for more
183
- information. Check out OxfordDictionary::Endpoints::Translations for the
184
- interface to use.
185
- '''
186
-
187
- language = args[1] && args[1][:translations] || 'es'
188
- translation(
189
- word: args.first,
190
- source_language: 'en-us',
191
- target_language: language,
192
- params: {}
193
- )
194
- end
195
-
196
- def entry_snake_case(word:, dataset:, params: {})
197
- warn 'Client#entry_snake_case is DEPRECATED. Use Client#entry instead.'
198
-
199
- entry_endpoint.
200
- entry_snake_case(word: word, dataset: dataset, params: params)
201
29
end
202
30
203
31
def lemma(word:, language:, params: {})
@@ -225,52 +53,8 @@ module OxfordDictionary
225
53
)
226
54
end
227
55
228
- def search(*args)
229
- if args.first.is_a?(Hash)
56
+ def search(language:, params:)
57
+ search_endpoint.search(language: language, params: params)
230
- args = args.first
231
- search_endpoint.search(language: args[:language], params: args[:params])
232
- else
233
- warn '''
234
- Client#search without parameters is DEPRECATED.
235
- Use the new V2 interface for this
236
- method instead. Reference github.com/swcraig/oxford-dictionary/pull/15
237
- for more information. Specifically check out
238
- OxfordDictionary::Endpoints::Search#search for the new interface.
239
- '''
240
-
241
- language_parameter = args[1].is_a?(Hash) && args[1][:lang]
242
- language = language_parameter || 'en-gb'
243
- args[1].delete(:lang) if language_parameter
244
-
245
- if args[1].is_a?(Hash) && args[1][:translations]
246
- target_language = args[1][:translations]
247
- args[1].delete(:translations)
248
-
249
- params = args[1]&.map do |key, value|
250
- if value.is_a?(Array)
251
- [key, value.join(',')]
252
- else
253
- [key, value]
254
- end
255
- end.to_h
256
- parameters = params&.merge(q: args[0]) || {}
257
- search_translation(
258
- source_language: language,
259
- target_language: target_language,
260
- params: parameters
261
- )
262
- else
263
- params = args[1]&.map do |key, value|
264
- if value.is_a?(Array)
265
- [key, value.join(',')]
266
- else
267
- [key, value]
268
- end
269
- end.to_h
270
- parameters = params&.merge(q: args[0]) || {}
271
- search_endpoint.search(language: language, params: parameters)
272
- end
273
- end
274
58
end
275
59
276
60
def search_translation(source_language:, target_language:, params: {})
@@ -281,31 +65,6 @@ module OxfordDictionary
281
65
)
282
66
end
283
67
284
- def inflection(*args)
285
- warn '''
286
- Client#inflection is DEPRECATED.
287
- Use Client#lemma instead. Reference
288
- github.com/swcraig/oxford-dictionary/pull/10 for for more information.
289
- Check out OxfordDictionary::Endpoints::Lemmas#lemma for the interface
290
- to use.
291
- '''
292
-
293
- language_parameter = args[1].is_a?(Hash) && args[1][:lang]
294
- language = language_parameter || 'en'
295
- args[1].delete(:lang) if language_parameter
296
-
297
- params = args[1]&.map do |key, value|
298
- if value.is_a?(Array)
299
- [key, value.join(',')]
300
- else
301
- [key, value]
302
- end
303
- end.to_h
304
- parameters = params || {}
305
-
306
- lemma(word: args.first, language: language, params: parameters)
307
- end
308
-
309
68
private
310
69
311
70
def lemma_endpoint
data/lib/oxford_dictionary/deserialize.rb CHANGED
@@ -1,7 +1,17 @@
1
1
require 'json'
2
2
3
3
module OxfordDictionary
4
+ # A small service object that parses a JSON payload into
5
+ # an OpenStruct recursively. The keys of the OpenStruct
6
+ # are in camelCase, not snake_case. This keeps the struct
7
+ # more representative of the JSON in the response.
4
8
class Deserialize
9
+ # Parses a JSON payload into an OpenStruct
10
+ # Nested objects are also parsed into OpenStructs
11
+ #
12
+ # @param [String] payload a JSON string
13
+ #
14
+ # @return [OpenStruct] the JSON parsed into OpenStructs recursively
5
15
def call(payload)
6
16
JSON.parse(payload, object_class: OpenStruct)
7
17
end
data/lib/oxford_dictionary/endpoints/endpoint.rb