semantria 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/semantria.rb +5 -0
- data/lib/semantria/version.rb +1 -1
- data/semantria.gemspec +2 -2
- data/spec/fixtures/dish_cassettes/base.yml +418 -0
- data/spec/fixtures/dish_cassettes/queueing.yml +650 -0
- data/spec/fixtures/dish_cassettes/retrieving-single.yml +222 -0
- data/spec/fixtures/dish_cassettes/retrieving.yml +56 -679
- data/spec/semantria_spec.rb +45 -19
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00536e714f803d5b657f96b4dfb4de31195d82a5
|
4
|
+
data.tar.gz: 969ce4d911de2219697bab547f5fa79ce76116cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc7e204d828f748d34e346bb3a7e6d20dc853b53323ca4268ce605b9715aa2772c8bd56b7a48279314641b0760fb5bb3d70c0cdb665622f9c5839c36e680bc2e
|
7
|
+
data.tar.gz: 1d14782beb4531219bd5c9b5f6310ad7af9353ffbca486211eeeee04f7ce387e82dfe50362cc45418f8908e7c6f25f140ec34336d49c77ecf2e089e53cb82bc1
|
data/lib/semantria.rb
CHANGED
@@ -42,5 +42,10 @@ module Semantria
|
|
42
42
|
auth.uri = URI.parse(self.class.base_uri + "/document/processed.json")
|
43
43
|
self.class.get("/document/processed.json", verify: false, headers: auth.headers, query: auth.parameters_hash, body: nil)
|
44
44
|
end
|
45
|
+
|
46
|
+
def get_document(id)
|
47
|
+
auth.uri = URI.parse(self.class.base_uri + "/document/#{id}.json")
|
48
|
+
self.class.get("/document/#{id}.json", verify: false, headers: auth.headers, query: auth.parameters_hash, body: nil)
|
49
|
+
end
|
45
50
|
end
|
46
51
|
end
|
data/lib/semantria/version.rb
CHANGED
data/semantria.gemspec
CHANGED
@@ -18,14 +18,14 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler"
|
21
|
+
spec.add_development_dependency "bundler"
|
22
22
|
spec.add_development_dependency "rake"
|
23
23
|
spec.add_development_dependency "rspec"
|
24
24
|
spec.add_development_dependency "guard"
|
25
25
|
spec.add_development_dependency "guard-rspec"
|
26
26
|
spec.add_development_dependency "pry"
|
27
27
|
spec.add_development_dependency "pry-remote"
|
28
|
-
spec.add_development_dependency "pry-
|
28
|
+
spec.add_development_dependency "pry-byebug"
|
29
29
|
spec.add_development_dependency "coveralls"
|
30
30
|
spec.add_development_dependency "httparty"
|
31
31
|
end
|
@@ -1146,4 +1146,422 @@ http_interactions:
|
|
1146
1146
|
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1147
1147
|
http_version:
|
1148
1148
|
recorded_at: Sun, 28 Sep 2014 19:31:47 GMT
|
1149
|
+
- request:
|
1150
|
+
method: get
|
1151
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=33840828881218125696&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412431589&oauth_version=1.0
|
1152
|
+
body:
|
1153
|
+
encoding: US-ASCII
|
1154
|
+
string: ''
|
1155
|
+
headers:
|
1156
|
+
Authorization:
|
1157
|
+
- oauth_version=1.0,oauth_timestamp=1412431589,oauth_nonce=33840828881218125696,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1158
|
+
realm=,oauth_signature=NVIWmw7KxgO5qdBHDsc1xnUnYAM%3D
|
1159
|
+
response:
|
1160
|
+
status:
|
1161
|
+
code: 200
|
1162
|
+
message: OK
|
1163
|
+
headers:
|
1164
|
+
Server:
|
1165
|
+
- nginx/1.4.7
|
1166
|
+
Date:
|
1167
|
+
- Sat, 04 Oct 2014 14:06:30 GMT
|
1168
|
+
Content-Type:
|
1169
|
+
- application/json;charset=UTF-8
|
1170
|
+
Connection:
|
1171
|
+
- close
|
1172
|
+
Access-Control-Allow-Origin:
|
1173
|
+
- "*"
|
1174
|
+
Pragma:
|
1175
|
+
- no-cache
|
1176
|
+
Cache-Control:
|
1177
|
+
- no-cache, no-store, max-age=0
|
1178
|
+
Expires:
|
1179
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1180
|
+
Content-Language:
|
1181
|
+
- en-US
|
1182
|
+
body:
|
1183
|
+
encoding: UTF-8
|
1184
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1185
|
+
http_version:
|
1186
|
+
recorded_at: Sat, 04 Oct 2014 14:06:30 GMT
|
1187
|
+
- request:
|
1188
|
+
method: get
|
1189
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=98371683884780903035&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412432165&oauth_version=1.0
|
1190
|
+
body:
|
1191
|
+
encoding: US-ASCII
|
1192
|
+
string: ''
|
1193
|
+
headers:
|
1194
|
+
Authorization:
|
1195
|
+
- oauth_version=1.0,oauth_timestamp=1412432165,oauth_nonce=98371683884780903035,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1196
|
+
realm=,oauth_signature=h4kD9pC1JjQ5QFRdPQL1vfLE12Y%3D
|
1197
|
+
response:
|
1198
|
+
status:
|
1199
|
+
code: 200
|
1200
|
+
message: OK
|
1201
|
+
headers:
|
1202
|
+
Server:
|
1203
|
+
- nginx/1.4.7
|
1204
|
+
Date:
|
1205
|
+
- Sat, 04 Oct 2014 14:16:07 GMT
|
1206
|
+
Content-Type:
|
1207
|
+
- application/json;charset=UTF-8
|
1208
|
+
Connection:
|
1209
|
+
- close
|
1210
|
+
Access-Control-Allow-Origin:
|
1211
|
+
- "*"
|
1212
|
+
Pragma:
|
1213
|
+
- no-cache
|
1214
|
+
Cache-Control:
|
1215
|
+
- no-cache, no-store, max-age=0
|
1216
|
+
Expires:
|
1217
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1218
|
+
Content-Language:
|
1219
|
+
- en-US
|
1220
|
+
body:
|
1221
|
+
encoding: UTF-8
|
1222
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1223
|
+
http_version:
|
1224
|
+
recorded_at: Sat, 04 Oct 2014 14:16:06 GMT
|
1225
|
+
- request:
|
1226
|
+
method: get
|
1227
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=88011531437221453133&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412432846&oauth_version=1.0
|
1228
|
+
body:
|
1229
|
+
encoding: US-ASCII
|
1230
|
+
string: ''
|
1231
|
+
headers:
|
1232
|
+
Authorization:
|
1233
|
+
- oauth_version=1.0,oauth_timestamp=1412432846,oauth_nonce=88011531437221453133,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1234
|
+
realm=,oauth_signature=uSfJBPGLNH3Sj5MB1fmfYozA7jA%3D
|
1235
|
+
response:
|
1236
|
+
status:
|
1237
|
+
code: 200
|
1238
|
+
message: OK
|
1239
|
+
headers:
|
1240
|
+
Server:
|
1241
|
+
- nginx/1.4.7
|
1242
|
+
Date:
|
1243
|
+
- Sat, 04 Oct 2014 14:27:27 GMT
|
1244
|
+
Content-Type:
|
1245
|
+
- application/json;charset=UTF-8
|
1246
|
+
Connection:
|
1247
|
+
- close
|
1248
|
+
Access-Control-Allow-Origin:
|
1249
|
+
- "*"
|
1250
|
+
Pragma:
|
1251
|
+
- no-cache
|
1252
|
+
Cache-Control:
|
1253
|
+
- no-cache, no-store, max-age=0
|
1254
|
+
Expires:
|
1255
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1256
|
+
Content-Language:
|
1257
|
+
- en-US
|
1258
|
+
body:
|
1259
|
+
encoding: UTF-8
|
1260
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1261
|
+
http_version:
|
1262
|
+
recorded_at: Sat, 04 Oct 2014 14:27:27 GMT
|
1263
|
+
- request:
|
1264
|
+
method: get
|
1265
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=39529443981053116854&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412433038&oauth_version=1.0
|
1266
|
+
body:
|
1267
|
+
encoding: US-ASCII
|
1268
|
+
string: ''
|
1269
|
+
headers:
|
1270
|
+
Authorization:
|
1271
|
+
- oauth_version=1.0,oauth_timestamp=1412433038,oauth_nonce=39529443981053116854,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1272
|
+
realm=,oauth_signature=u6XLmUr828wA7D4DcOsl%2FZd4mUg%3D
|
1273
|
+
response:
|
1274
|
+
status:
|
1275
|
+
code: 200
|
1276
|
+
message: OK
|
1277
|
+
headers:
|
1278
|
+
Server:
|
1279
|
+
- nginx/1.4.7
|
1280
|
+
Date:
|
1281
|
+
- Sat, 04 Oct 2014 14:30:42 GMT
|
1282
|
+
Content-Type:
|
1283
|
+
- application/json;charset=UTF-8
|
1284
|
+
Connection:
|
1285
|
+
- close
|
1286
|
+
Access-Control-Allow-Origin:
|
1287
|
+
- "*"
|
1288
|
+
Pragma:
|
1289
|
+
- no-cache
|
1290
|
+
Cache-Control:
|
1291
|
+
- no-cache, no-store, max-age=0
|
1292
|
+
Expires:
|
1293
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1294
|
+
Content-Language:
|
1295
|
+
- en-US
|
1296
|
+
body:
|
1297
|
+
encoding: UTF-8
|
1298
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1299
|
+
http_version:
|
1300
|
+
recorded_at: Sat, 04 Oct 2014 14:30:42 GMT
|
1301
|
+
- request:
|
1302
|
+
method: get
|
1303
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=75621339940402244206&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412433100&oauth_version=1.0
|
1304
|
+
body:
|
1305
|
+
encoding: US-ASCII
|
1306
|
+
string: ''
|
1307
|
+
headers:
|
1308
|
+
Authorization:
|
1309
|
+
- oauth_version=1.0,oauth_timestamp=1412433100,oauth_nonce=75621339940402244206,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1310
|
+
realm=,oauth_signature=1HZnQinSl%2FDnUPqNq6Yrc7cnFbk%3D
|
1311
|
+
response:
|
1312
|
+
status:
|
1313
|
+
code: 200
|
1314
|
+
message: OK
|
1315
|
+
headers:
|
1316
|
+
Server:
|
1317
|
+
- nginx/1.4.7
|
1318
|
+
Date:
|
1319
|
+
- Sat, 04 Oct 2014 14:31:41 GMT
|
1320
|
+
Content-Type:
|
1321
|
+
- application/json;charset=UTF-8
|
1322
|
+
Connection:
|
1323
|
+
- close
|
1324
|
+
Access-Control-Allow-Origin:
|
1325
|
+
- "*"
|
1326
|
+
Pragma:
|
1327
|
+
- no-cache
|
1328
|
+
Cache-Control:
|
1329
|
+
- no-cache, no-store, max-age=0
|
1330
|
+
Expires:
|
1331
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1332
|
+
Content-Language:
|
1333
|
+
- en-US
|
1334
|
+
body:
|
1335
|
+
encoding: UTF-8
|
1336
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1337
|
+
http_version:
|
1338
|
+
recorded_at: Sat, 04 Oct 2014 14:31:41 GMT
|
1339
|
+
- request:
|
1340
|
+
method: get
|
1341
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=03871372903677287853&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412433166&oauth_version=1.0
|
1342
|
+
body:
|
1343
|
+
encoding: US-ASCII
|
1344
|
+
string: ''
|
1345
|
+
headers:
|
1346
|
+
Authorization:
|
1347
|
+
- oauth_version=1.0,oauth_timestamp=1412433166,oauth_nonce=03871372903677287853,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1348
|
+
realm=,oauth_signature=kyF49TgErY2EkBaI5cUZoql5chY%3D
|
1349
|
+
response:
|
1350
|
+
status:
|
1351
|
+
code: 200
|
1352
|
+
message: OK
|
1353
|
+
headers:
|
1354
|
+
Server:
|
1355
|
+
- nginx/1.4.7
|
1356
|
+
Date:
|
1357
|
+
- Sat, 04 Oct 2014 14:32:47 GMT
|
1358
|
+
Content-Type:
|
1359
|
+
- application/json;charset=UTF-8
|
1360
|
+
Connection:
|
1361
|
+
- close
|
1362
|
+
Access-Control-Allow-Origin:
|
1363
|
+
- "*"
|
1364
|
+
Pragma:
|
1365
|
+
- no-cache
|
1366
|
+
Cache-Control:
|
1367
|
+
- no-cache, no-store, max-age=0
|
1368
|
+
Expires:
|
1369
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1370
|
+
Content-Language:
|
1371
|
+
- en-US
|
1372
|
+
body:
|
1373
|
+
encoding: UTF-8
|
1374
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1375
|
+
http_version:
|
1376
|
+
recorded_at: Sat, 04 Oct 2014 14:32:47 GMT
|
1377
|
+
- request:
|
1378
|
+
method: get
|
1379
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=12902407347072628914&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412441686&oauth_version=1.0
|
1380
|
+
body:
|
1381
|
+
encoding: US-ASCII
|
1382
|
+
string: ''
|
1383
|
+
headers:
|
1384
|
+
Authorization:
|
1385
|
+
- oauth_version=1.0,oauth_timestamp=1412441686,oauth_nonce=12902407347072628914,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1386
|
+
realm=,oauth_signature=IWEEqO%2Bkt5wD3ZZyalFfJPR%2BPKE%3D
|
1387
|
+
response:
|
1388
|
+
status:
|
1389
|
+
code: 200
|
1390
|
+
message: OK
|
1391
|
+
headers:
|
1392
|
+
Server:
|
1393
|
+
- nginx/1.4.7
|
1394
|
+
Date:
|
1395
|
+
- Sat, 04 Oct 2014 16:54:47 GMT
|
1396
|
+
Content-Type:
|
1397
|
+
- application/json;charset=UTF-8
|
1398
|
+
Connection:
|
1399
|
+
- close
|
1400
|
+
Access-Control-Allow-Origin:
|
1401
|
+
- "*"
|
1402
|
+
Pragma:
|
1403
|
+
- no-cache
|
1404
|
+
Cache-Control:
|
1405
|
+
- no-cache, no-store, max-age=0
|
1406
|
+
Expires:
|
1407
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1408
|
+
Content-Language:
|
1409
|
+
- en-US
|
1410
|
+
body:
|
1411
|
+
encoding: UTF-8
|
1412
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1413
|
+
http_version:
|
1414
|
+
recorded_at: Sat, 04 Oct 2014 16:54:46 GMT
|
1415
|
+
- request:
|
1416
|
+
method: get
|
1417
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=21212568722570195314&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412441732&oauth_version=1.0
|
1418
|
+
body:
|
1419
|
+
encoding: US-ASCII
|
1420
|
+
string: ''
|
1421
|
+
headers:
|
1422
|
+
Authorization:
|
1423
|
+
- oauth_version=1.0,oauth_timestamp=1412441732,oauth_nonce=21212568722570195314,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1424
|
+
realm=,oauth_signature=NC3YfjrCaDKUCM9oqPvRV5lpE3s%3D
|
1425
|
+
response:
|
1426
|
+
status:
|
1427
|
+
code: 200
|
1428
|
+
message: OK
|
1429
|
+
headers:
|
1430
|
+
Server:
|
1431
|
+
- nginx/1.4.7
|
1432
|
+
Date:
|
1433
|
+
- Sat, 04 Oct 2014 16:55:33 GMT
|
1434
|
+
Content-Type:
|
1435
|
+
- application/json;charset=UTF-8
|
1436
|
+
Connection:
|
1437
|
+
- close
|
1438
|
+
Access-Control-Allow-Origin:
|
1439
|
+
- "*"
|
1440
|
+
Pragma:
|
1441
|
+
- no-cache
|
1442
|
+
Cache-Control:
|
1443
|
+
- no-cache, no-store, max-age=0
|
1444
|
+
Expires:
|
1445
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1446
|
+
Content-Language:
|
1447
|
+
- en-US
|
1448
|
+
body:
|
1449
|
+
encoding: UTF-8
|
1450
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1451
|
+
http_version:
|
1452
|
+
recorded_at: Sat, 04 Oct 2014 16:55:32 GMT
|
1453
|
+
- request:
|
1454
|
+
method: get
|
1455
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=78969391224917271663&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412441837&oauth_version=1.0
|
1456
|
+
body:
|
1457
|
+
encoding: US-ASCII
|
1458
|
+
string: ''
|
1459
|
+
headers:
|
1460
|
+
Authorization:
|
1461
|
+
- oauth_version=1.0,oauth_timestamp=1412441837,oauth_nonce=78969391224917271663,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1462
|
+
realm=,oauth_signature=HyvMQFD5CKYJs4wvGRSsrR1dq0w%3D
|
1463
|
+
response:
|
1464
|
+
status:
|
1465
|
+
code: 200
|
1466
|
+
message: OK
|
1467
|
+
headers:
|
1468
|
+
Server:
|
1469
|
+
- nginx/1.4.7
|
1470
|
+
Date:
|
1471
|
+
- Sat, 04 Oct 2014 16:57:18 GMT
|
1472
|
+
Content-Type:
|
1473
|
+
- application/json;charset=UTF-8
|
1474
|
+
Connection:
|
1475
|
+
- close
|
1476
|
+
Access-Control-Allow-Origin:
|
1477
|
+
- "*"
|
1478
|
+
Pragma:
|
1479
|
+
- no-cache
|
1480
|
+
Cache-Control:
|
1481
|
+
- no-cache, no-store, max-age=0
|
1482
|
+
Expires:
|
1483
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1484
|
+
Content-Language:
|
1485
|
+
- en-US
|
1486
|
+
body:
|
1487
|
+
encoding: UTF-8
|
1488
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1489
|
+
http_version:
|
1490
|
+
recorded_at: Sat, 04 Oct 2014 16:57:18 GMT
|
1491
|
+
- request:
|
1492
|
+
method: get
|
1493
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=61110654199897651865&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412441907&oauth_version=1.0
|
1494
|
+
body:
|
1495
|
+
encoding: US-ASCII
|
1496
|
+
string: ''
|
1497
|
+
headers:
|
1498
|
+
Authorization:
|
1499
|
+
- oauth_version=1.0,oauth_timestamp=1412441907,oauth_nonce=61110654199897651865,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1500
|
+
realm=,oauth_signature=FKfJvmsfxHJtHmvb4KyBVBLmZ7U%3D
|
1501
|
+
response:
|
1502
|
+
status:
|
1503
|
+
code: 200
|
1504
|
+
message: OK
|
1505
|
+
headers:
|
1506
|
+
Server:
|
1507
|
+
- nginx/1.4.7
|
1508
|
+
Date:
|
1509
|
+
- Sat, 04 Oct 2014 16:58:28 GMT
|
1510
|
+
Content-Type:
|
1511
|
+
- application/json;charset=UTF-8
|
1512
|
+
Connection:
|
1513
|
+
- close
|
1514
|
+
Access-Control-Allow-Origin:
|
1515
|
+
- "*"
|
1516
|
+
Pragma:
|
1517
|
+
- no-cache
|
1518
|
+
Cache-Control:
|
1519
|
+
- no-cache, no-store, max-age=0
|
1520
|
+
Expires:
|
1521
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1522
|
+
Content-Language:
|
1523
|
+
- en-US
|
1524
|
+
body:
|
1525
|
+
encoding: UTF-8
|
1526
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1527
|
+
http_version:
|
1528
|
+
recorded_at: Sat, 04 Oct 2014 16:58:28 GMT
|
1529
|
+
- request:
|
1530
|
+
method: get
|
1531
|
+
uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=92395119812704970643&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1412442553&oauth_version=1.0
|
1532
|
+
body:
|
1533
|
+
encoding: US-ASCII
|
1534
|
+
string: ''
|
1535
|
+
headers:
|
1536
|
+
Authorization:
|
1537
|
+
- oauth_version=1.0,oauth_timestamp=1412442553,oauth_nonce=92395119812704970643,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
|
1538
|
+
realm=,oauth_signature=Ng77pfsq8V8Ad00ltp062GVJs1E%3D
|
1539
|
+
response:
|
1540
|
+
status:
|
1541
|
+
code: 200
|
1542
|
+
message: OK
|
1543
|
+
headers:
|
1544
|
+
Server:
|
1545
|
+
- nginx/1.4.7
|
1546
|
+
Date:
|
1547
|
+
- Sat, 04 Oct 2014 17:09:14 GMT
|
1548
|
+
Content-Type:
|
1549
|
+
- application/json;charset=UTF-8
|
1550
|
+
Connection:
|
1551
|
+
- close
|
1552
|
+
Access-Control-Allow-Origin:
|
1553
|
+
- "*"
|
1554
|
+
Pragma:
|
1555
|
+
- no-cache
|
1556
|
+
Cache-Control:
|
1557
|
+
- no-cache, no-store, max-age=0
|
1558
|
+
Expires:
|
1559
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
1560
|
+
Content-Language:
|
1561
|
+
- en-US
|
1562
|
+
body:
|
1563
|
+
encoding: UTF-8
|
1564
|
+
string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
|
1565
|
+
http_version:
|
1566
|
+
recorded_at: Sat, 04 Oct 2014 17:09:14 GMT
|
1149
1567
|
recorded_with: VCR 2.9.3
|