Wordniky 1.0.0.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,62 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.wordnik.com/v4/word.json/ruby/relatedWords?api_key=API_KEY&limitPerRelationshipType=10
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ date:
18
+ - Tue, 10 Sep 2024 19:16:46 GMT
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ connection:
24
+ - keep-alive
25
+ server:
26
+ - nginx/1.24.0
27
+ x-ratelimit-remaining-minute:
28
+ - '495'
29
+ x-ratelimit-limit-minute:
30
+ - '500'
31
+ x-ratelimit-limit-hour:
32
+ - '15000'
33
+ ratelimit-reset:
34
+ - '14'
35
+ ratelimit-remaining:
36
+ - '495'
37
+ ratelimit-limit:
38
+ - '500'
39
+ x-ratelimit-remaining-hour:
40
+ - '14995'
41
+ cache-control:
42
+ - no-cache
43
+ access-control-allow-origin:
44
+ - "*"
45
+ x-kong-upstream-latency:
46
+ - '5'
47
+ x-kong-proxy-latency:
48
+ - '0'
49
+ via:
50
+ - kong/3.4.1
51
+ content-encoding:
52
+ - gzip
53
+ body:
54
+ encoding: UTF-8
55
+ string: '[{"relationshipType":"cross-reference","words":["adelaide ruby","ancona
56
+ ruby","artificial ruby","brazilian ruby","cape ruby","cat''s-eye ruby","mont
57
+ blanc ruby","ruby arsenic","ruby of zinc","sulphur"]},{"relationshipType":"equivalent","words":["chromatic","ruby
58
+ of sulphur"]},{"relationshipType":"etymologically-related-term","words":["corundum"]},{"relationshipType":"form","words":["Colorado
59
+ ruby","balas ruby","rubasse","rubicund","rubied","rubious","rubying"]},{"relationshipType":"hypernym","words":["corundom","corundum","gem","jewel","precious
60
+ stone","red","redness","transparent gem"]},{"relationshipType":"rhyme","words":["Newby","Scooby","booby","looby"]},{"relationshipType":"same-context","words":["amber","azure","diamond","emerald","garnet","golden","ivory","jade","jeweled","opal"]},{"relationshipType":"synonym","words":["Titian","Titian-red","adamant","agate","agate","alexandrite","amethyst","aquamarine","beryl","bloodstone"]},{"relationshipType":"variant","words":["agate"]}]'
61
+ recorded_at: Tue, 10 Sep 2024 19:16:46 GMT
62
+ recorded_with: VCR 6.3.1
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.wordnik.com/v4/word.json/ruby/relatedWords?api_key=API_KEY&limitPerRelationshipType=10&relationshipTypes=rhyme
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ date:
18
+ - Thu, 03 Oct 2024 02:27:03 GMT
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ connection:
24
+ - keep-alive
25
+ server:
26
+ - nginx/1.24.0
27
+ x-ratelimit-limit-hour:
28
+ - '15000'
29
+ ratelimit-reset:
30
+ - '57'
31
+ ratelimit-remaining:
32
+ - '499'
33
+ ratelimit-limit:
34
+ - '500'
35
+ x-ratelimit-remaining-hour:
36
+ - '14993'
37
+ x-ratelimit-remaining-minute:
38
+ - '499'
39
+ x-ratelimit-limit-minute:
40
+ - '500'
41
+ cache-control:
42
+ - no-cache
43
+ access-control-allow-origin:
44
+ - "*"
45
+ x-kong-upstream-latency:
46
+ - '6'
47
+ x-kong-proxy-latency:
48
+ - '1'
49
+ via:
50
+ - kong/3.4.1
51
+ content-encoding:
52
+ - gzip
53
+ body:
54
+ encoding: UTF-8
55
+ string: '[{"relationshipType":"rhyme","words":["Newby","Scooby","booby","looby"]}]'
56
+ recorded_at: Thu, 03 Oct 2024 02:27:03 GMT
57
+ recorded_with: VCR 6.3.1
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.wordnik.com/v4/word.json/ruby/scrabbleScore?api_key=API_KEY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ date:
18
+ - Tue, 10 Sep 2024 19:16:47 GMT
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ content-length:
22
+ - '11'
23
+ connection:
24
+ - keep-alive
25
+ server:
26
+ - nginx/1.24.0
27
+ x-ratelimit-remaining-hour:
28
+ - '14995'
29
+ x-ratelimit-limit-hour:
30
+ - '15000'
31
+ ratelimit-reset:
32
+ - '13'
33
+ ratelimit-remaining:
34
+ - '495'
35
+ ratelimit-limit:
36
+ - '500'
37
+ x-ratelimit-limit-minute:
38
+ - '500'
39
+ x-ratelimit-remaining-minute:
40
+ - '495'
41
+ cache-control:
42
+ - no-cache
43
+ accept-ranges:
44
+ - bytes
45
+ access-control-allow-origin:
46
+ - "*"
47
+ x-kong-upstream-latency:
48
+ - '4'
49
+ x-kong-proxy-latency:
50
+ - '1'
51
+ via:
52
+ - kong/3.4.1
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"value":9}'
56
+ recorded_at: Tue, 10 Sep 2024 19:16:47 GMT
57
+ recorded_with: VCR 6.3.1
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.wordnik.com/v4/word.json/asdfasdfasdf/scrabbleScore?api_key=API_KEY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ response:
13
+ status:
14
+ code: 404
15
+ message: Not Found
16
+ headers:
17
+ date:
18
+ - Tue, 10 Sep 2024 19:16:47 GMT
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ connection:
24
+ - keep-alive
25
+ server:
26
+ - nginx/1.24.0
27
+ x-ratelimit-remaining-minute:
28
+ - '493'
29
+ x-ratelimit-limit-minute:
30
+ - '500'
31
+ x-ratelimit-limit-hour:
32
+ - '15000'
33
+ ratelimit-reset:
34
+ - '13'
35
+ ratelimit-remaining:
36
+ - '493'
37
+ ratelimit-limit:
38
+ - '500'
39
+ x-ratelimit-remaining-hour:
40
+ - '14993'
41
+ cache-control:
42
+ - no-cache
43
+ access-control-allow-origin:
44
+ - "*"
45
+ x-kong-upstream-latency:
46
+ - '9'
47
+ x-kong-proxy-latency:
48
+ - '1'
49
+ via:
50
+ - kong/3.4.1
51
+ content-encoding:
52
+ - gzip
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"statusCode":404,"error":"Not Found","message":"Not found"}'
56
+ recorded_at: Tue, 10 Sep 2024 19:16:47 GMT
57
+ recorded_with: VCR 6.3.1
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.wordnik.com/v4/word.json/ugly/relatedWords?api_key=API_KEY&limitPerRelationshipType=10&relationshipTypes=synonym
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ date:
18
+ - Tue, 10 Sep 2024 19:16:50 GMT
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ connection:
24
+ - keep-alive
25
+ server:
26
+ - nginx/1.24.0
27
+ x-ratelimit-remaining-minute:
28
+ - '490'
29
+ x-ratelimit-limit-minute:
30
+ - '500'
31
+ x-ratelimit-limit-hour:
32
+ - '15000'
33
+ ratelimit-reset:
34
+ - '10'
35
+ ratelimit-remaining:
36
+ - '490'
37
+ ratelimit-limit:
38
+ - '500'
39
+ x-ratelimit-remaining-hour:
40
+ - '14990'
41
+ cache-control:
42
+ - no-cache
43
+ access-control-allow-origin:
44
+ - "*"
45
+ x-kong-upstream-latency:
46
+ - '4'
47
+ x-kong-proxy-latency:
48
+ - '0'
49
+ via:
50
+ - kong/3.4.1
51
+ content-encoding:
52
+ - gzip
53
+ body:
54
+ encoding: UTF-8
55
+ string: '[{"relationshipType":"synonym","words":["abominable","alarming","awkward","bad","bad-tempered","base","bearish","beautiless","bitchy","bitter"]}]'
56
+ recorded_at: Tue, 10 Sep 2024 19:16:50 GMT
57
+ recorded_with: VCR 6.3.1
@@ -0,0 +1,60 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.wordnik.com/v4/word.json/ruby/topExample?api_key=API_KEY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ date:
18
+ - Tue, 10 Sep 2024 19:16:46 GMT
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ connection:
24
+ - keep-alive
25
+ server:
26
+ - nginx/1.24.0
27
+ x-ratelimit-remaining-hour:
28
+ - '14996'
29
+ x-ratelimit-limit-hour:
30
+ - '15000'
31
+ ratelimit-reset:
32
+ - '14'
33
+ ratelimit-remaining:
34
+ - '496'
35
+ ratelimit-limit:
36
+ - '500'
37
+ x-ratelimit-limit-minute:
38
+ - '500'
39
+ x-ratelimit-remaining-minute:
40
+ - '496'
41
+ cache-control:
42
+ - no-cache
43
+ access-control-allow-origin:
44
+ - "*"
45
+ x-kong-upstream-latency:
46
+ - '4'
47
+ x-kong-proxy-latency:
48
+ - '0'
49
+ via:
50
+ - kong/3.4.1
51
+ content-encoding:
52
+ - gzip
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"provider":{"id":712},"year":2009,"rating":585.8301,"url":"http://a3li.li/2009/12/ruby-the-next-generation","word":"ruby","text":"I
56
+ think he covered the motivation and implementation details of what we call
57
+ ruby-ng. eclass pretty well, so I''ll try to give a little end-user info.","documentId":21365504,"exampleId":468377826,"title":"Planet
58
+ Gentoo"}'
59
+ recorded_at: Tue, 10 Sep 2024 19:16:46 GMT
60
+ recorded_with: VCR 6.3.1
@@ -0,0 +1,76 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.wordnik.com/v4/words.json/wordOfTheDay?api_key=API_KEY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ date:
18
+ - Tue, 10 Sep 2024 19:16:44 GMT
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ connection:
24
+ - keep-alive
25
+ server:
26
+ - nginx/1.24.0
27
+ x-ratelimit-remaining-hour:
28
+ - '14999'
29
+ x-ratelimit-limit-hour:
30
+ - '15000'
31
+ ratelimit-reset:
32
+ - '16'
33
+ ratelimit-remaining:
34
+ - '499'
35
+ ratelimit-limit:
36
+ - '500'
37
+ x-ratelimit-limit-minute:
38
+ - '500'
39
+ x-ratelimit-remaining-minute:
40
+ - '499'
41
+ cache-control:
42
+ - no-cache
43
+ vary:
44
+ - accept-encoding
45
+ content-encoding:
46
+ - gzip
47
+ access-control-allow-origin:
48
+ - "*"
49
+ x-kong-upstream-latency:
50
+ - '4'
51
+ x-kong-proxy-latency:
52
+ - '1'
53
+ via:
54
+ - kong/3.4.1
55
+ body:
56
+ encoding: UTF-8
57
+ string: '{"_id":"66d34cd910816e928365f9db","word":"conte","publishDate":"2024-09-10T02:00:00.000Z","contentProvider":{"name":"wordnik","id":711},"note":"‘Conte’
58
+ comes from the Old French ‘conter,’ to relate, recount.","htmlExtra":null,"pdd":"2024-09-10","definitions":[{"text":"A
59
+ short narrative or tale, esp. one dealing with surprising or marvelous events.","partOfSpeech":"noun","source":"gcide","note":null}],"examples":[{"url":"http://books.google.com/books?id=T1QqAAAAMAAJ&dq=conte%20medieval%20tale&as_brr=4&pg=PA124#v=onepage&q=conte&f=false","text":"Merimee''s
60
+ compactness consists rather in reducing to a nouvelle most writers would have
61
+ made a roman than in focusing on a single situation in a conte.","title":"Charles
62
+ Sears Baldwin, Essays Out of Hours","id":0},{"url":"http://books.google.com/books?id=m1owAQAAMAAJ&dq=conte%20medieval%20tale&as_brr=4&pg=PA486#v=onepage&q=conte&f=false","text":"The
63
+ modern short story - as distinguished from the old conte and also from that
64
+ quite insignificant kind of brief lovetale which flourished in crude American
65
+ miscellanies before 1850 and came to its height of conspicuous immaturity
66
+ in T.S. Arthur''s stories - owed its existence to that artistic impulse which
67
+ had reshaped the novel, not only bringing all its parts into harmony with
68
+ a central motive but, in every part, working from within outward, for living
69
+ growth rather than for accretion, substituting expansion and radiant illumination
70
+ for mere extension.","title":"Harper''s Magazine (1908-1909)","id":0},{"url":"http://news.google.com/newspapers?id=4eZaAAAAIBAJ&sjid=PJIDAAAAIBAJ&dq=conte%20medieval%20tale&pg=6927%2C2582870","text":"The
71
+ third conte, evocative ode contrasting golden beauty and horror, is an almost
72
+ wordless sensuous fable about the original Hungarian vampires of the 17th
73
+ century.","title":"''Four collectors'' items from a Polish master of erotica,''
74
+ The Age, August 18, 1975","id":0}]}'
75
+ recorded_at: Tue, 10 Sep 2024 19:16:44 GMT
76
+ recorded_with: VCR 6.3.1
data/spec/vcr/wotd.yml ADDED
@@ -0,0 +1,76 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.wordnik.com/v4/words.json/wordOfTheDay?api_key=API_KEY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ date:
18
+ - Tue, 10 Sep 2024 19:16:44 GMT
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ connection:
24
+ - keep-alive
25
+ server:
26
+ - nginx/1.24.0
27
+ x-ratelimit-remaining-minute:
28
+ - '499'
29
+ x-ratelimit-limit-minute:
30
+ - '500'
31
+ x-ratelimit-limit-hour:
32
+ - '15000'
33
+ ratelimit-reset:
34
+ - '16'
35
+ ratelimit-remaining:
36
+ - '499'
37
+ ratelimit-limit:
38
+ - '500'
39
+ x-ratelimit-remaining-hour:
40
+ - '14999'
41
+ cache-control:
42
+ - no-cache
43
+ vary:
44
+ - accept-encoding
45
+ content-encoding:
46
+ - gzip
47
+ access-control-allow-origin:
48
+ - "*"
49
+ x-kong-upstream-latency:
50
+ - '9'
51
+ x-kong-proxy-latency:
52
+ - '0'
53
+ via:
54
+ - kong/3.4.1
55
+ body:
56
+ encoding: UTF-8
57
+ string: '{"_id":"66d34cd910816e928365f9db","word":"conte","publishDate":"2024-09-10T02:00:00.000Z","contentProvider":{"name":"wordnik","id":711},"note":"‘Conte’
58
+ comes from the Old French ‘conter,’ to relate, recount.","htmlExtra":null,"pdd":"2024-09-10","definitions":[{"text":"A
59
+ short narrative or tale, esp. one dealing with surprising or marvelous events.","partOfSpeech":"noun","source":"gcide","note":null}],"examples":[{"url":"http://books.google.com/books?id=T1QqAAAAMAAJ&dq=conte%20medieval%20tale&as_brr=4&pg=PA124#v=onepage&q=conte&f=false","text":"Merimee''s
60
+ compactness consists rather in reducing to a nouvelle most writers would have
61
+ made a roman than in focusing on a single situation in a conte.","title":"Charles
62
+ Sears Baldwin, Essays Out of Hours","id":0},{"url":"http://books.google.com/books?id=m1owAQAAMAAJ&dq=conte%20medieval%20tale&as_brr=4&pg=PA486#v=onepage&q=conte&f=false","text":"The
63
+ modern short story - as distinguished from the old conte and also from that
64
+ quite insignificant kind of brief lovetale which flourished in crude American
65
+ miscellanies before 1850 and came to its height of conspicuous immaturity
66
+ in T.S. Arthur''s stories - owed its existence to that artistic impulse which
67
+ had reshaped the novel, not only bringing all its parts into harmony with
68
+ a central motive but, in every part, working from within outward, for living
69
+ growth rather than for accretion, substituting expansion and radiant illumination
70
+ for mere extension.","title":"Harper''s Magazine (1908-1909)","id":0},{"url":"http://news.google.com/newspapers?id=4eZaAAAAIBAJ&sjid=PJIDAAAAIBAJ&dq=conte%20medieval%20tale&pg=6927%2C2582870","text":"The
71
+ third conte, evocative ode contrasting golden beauty and horror, is an almost
72
+ wordless sensuous fable about the original Hungarian vampires of the 17th
73
+ century.","title":"''Four collectors'' items from a Polish master of erotica,''
74
+ The Age, August 18, 1975","id":0}]}'
75
+ recorded_at: Tue, 10 Sep 2024 19:16:44 GMT
76
+ recorded_with: VCR 6.3.1