datasift 3.7.2 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/datasift.gemspec +6 -3
- data/lib/api/api_resource.rb +1 -1
- data/lib/datasift.rb +53 -16
- data/lib/errors.rb +8 -0
- data/lib/live_stream.rb +7 -7
- data/lib/pylon.rb +59 -26
- data/lib/tasks.rb +51 -0
- data/lib/version.rb +3 -0
- metadata +5 -83
- data/.gitignore +0 -12
- data/.rubocop.yml +0 -12
- data/.rubocop_todo.yml +0 -497
- data/.travis.yml +0 -17
- data/Gemfile +0 -15
- data/LICENSE +0 -19
- data/MIGRATING_TO_V.3.0.0.md +0 -262
- data/Rakefile +0 -10
- data/VERSION +0 -1
- data/examples/account_eg.rb +0 -33
- data/examples/account_identity_eg.rb +0 -50
- data/examples/account_identity_limit_eg.rb +0 -72
- data/examples/account_identity_token_eg.rb +0 -73
- data/examples/auth.rb +0 -55
- data/examples/cli.sh +0 -155
- data/examples/core_api_eg.rb +0 -50
- data/examples/historics_eg.rb +0 -66
- data/examples/historics_preview_eg.rb +0 -31
- data/examples/ingestion/twitter_gnip_batch_eg.rb +0 -61
- data/examples/live_stream_eg.rb +0 -92
- data/examples/managed_source_fb_eg.rb +0 -129
- data/examples/managed_source_ig_eg.rb +0 -126
- data/examples/pull.rb +0 -47
- data/examples/push_eg.rb +0 -51
- data/examples/pylon/pylon_api_v1.2_eg.rb +0 -166
- data/examples/pylon/pylon_api_v1.3_eg.rb +0 -201
- data/test/datasift/account/account_api_test.rb +0 -35
- data/test/datasift/core_api_test.rb +0 -179
- data/test/datasift/historics_preview_api_test.rb +0 -56
- data/test/datasift/odp/batch_upload_test.rb +0 -52
- data/test/datasift/push_api_test.rb +0 -238
- data/test/fixtures/cassettes/account/usage/default.json +0 -1
- data/test/fixtures/cassettes/account/usage/invalid.json +0 -1
- data/test/fixtures/cassettes/account/usage/valid_params.json +0 -1
- data/test/fixtures/cassettes/core/after_historic_dpu.json +0 -1
- data/test/fixtures/cassettes/core/balance_get.json +0 -1
- data/test/fixtures/cassettes/core/before_dpu.json +0 -1
- data/test/fixtures/cassettes/core/before_historic_dpu.json +0 -1
- data/test/fixtures/cassettes/core/compile_success.json +0 -1
- data/test/fixtures/cassettes/core/dpu_get_cost.json +0 -1
- data/test/fixtures/cassettes/core/dpu_throw_badrequest.json +0 -1
- data/test/fixtures/cassettes/core/historic_dpu.json +0 -1
- data/test/fixtures/cassettes/core/usage_success.json +0 -1
- data/test/fixtures/cassettes/core/validate_invalid_hash.json +0 -1
- data/test/fixtures/cassettes/core/validate_success_bool.json +0 -1
- data/test/fixtures/cassettes/core/validate_success_hash.json +0 -1
- data/test/fixtures/cassettes/odp/batch/after_upload.json +0 -1
- data/test/fixtures/cassettes/odp/batch/before_upload.json +0 -1
- data/test/fixtures/cassettes/odp/batch/upload_failure_no_source.json +0 -1
- data/test/fixtures/cassettes/odp/batch/upload_success.json +0 -1
- data/test/fixtures/cassettes/preview/before_preview_create.json +0 -1
- data/test/fixtures/cassettes/preview/before_preview_get.json +0 -1
- data/test/fixtures/cassettes/preview/preview_create_success.json +0 -1
- data/test/fixtures/cassettes/preview/preview_get_success.json +0 -1
- data/test/fixtures/cassettes/push/after_push_create.json +0 -1
- data/test/fixtures/cassettes/push/after_push_get.json +0 -1
- data/test/fixtures/cassettes/push/after_push_log.json +0 -1
- data/test/fixtures/cassettes/push/after_push_pause.json +0 -1
- data/test/fixtures/cassettes/push/after_push_resume.json +0 -1
- data/test/fixtures/cassettes/push/after_push_stop.json +0 -1
- data/test/fixtures/cassettes/push/after_push_update.json +0 -1
- data/test/fixtures/cassettes/push/before_push_create.json +0 -1
- data/test/fixtures/cassettes/push/before_push_delete.json +0 -1
- data/test/fixtures/cassettes/push/before_push_get.json +0 -1
- data/test/fixtures/cassettes/push/before_push_log.json +0 -1
- data/test/fixtures/cassettes/push/before_push_pause.json +0 -1
- data/test/fixtures/cassettes/push/before_push_resume.json +0 -1
- data/test/fixtures/cassettes/push/before_push_stop.json +0 -1
- data/test/fixtures/cassettes/push/before_push_update.json +0 -1
- data/test/fixtures/cassettes/push/push_create.json +0 -1
- data/test/fixtures/cassettes/push/push_delete.json +0 -1
- data/test/fixtures/cassettes/push/push_get_by_id.json +0 -1
- data/test/fixtures/cassettes/push/push_log_with_id.json +0 -1
- data/test/fixtures/cassettes/push/push_pause.json +0 -1
- data/test/fixtures/cassettes/push/push_resume.json +0 -1
- data/test/fixtures/cassettes/push/push_stop.json +0 -1
- data/test/fixtures/cassettes/push/push_update.json +0 -1
- data/test/fixtures/cassettes/push/push_validate.json +0 -1
- data/test/fixtures/data/fake_gnip_tweets.json +0 -10
- data/test/test_helper.rb +0 -49
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/compile","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["48"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:53 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9290"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2970"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJoYXNoIjoiMTQ1ZWEyNGE0ZDgzYTE0ZWNiOTA3N2I4MzFmMTQ4MDkiLCJj\ncmVhdGVkX2F0IjoiMjAxNS0xMS0xMiAxMTowNDo1MyIsImRwdSI6IjAuMSJ9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:53 GMT"},{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/push/create","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["340"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:53 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9285"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2970"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjQzMzQzMzI4MjE4MGFkODYxNjhlODdmYzQ5OWMwNmQ0Iiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyOTMsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6ImFjdGl2ZSIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0IjoxNDQ3\nMzI2MjkzLCJlbmQiOjB9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:53 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/compile","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["48"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:49 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9327"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2974"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJoYXNoIjoiMTQ1ZWEyNGE0ZDgzYTE0ZWNiOTA3N2I4MzFmMTQ4MDkiLCJj\ncmVhdGVkX2F0IjoiMjAxNS0xMS0xMiAxMTowNDo0OSIsImRwdSI6IjAuMSJ9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:49 GMT"},{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/push/create","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["340"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:50 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9322"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2974"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6Ijg3YzNlMjExYmM1MTA2ZmY0MzBmZmNkM2ZiYzhhMmI3Iiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyOTAsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6ImFjdGl2ZSIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0IjoxNDQ3\nMzI2MjkwLCJlbmQiOjB9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:50 GMT"},{"request":{"method":"put","uri":"https://api.datasift.com/v1.2/push/pause","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["41"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:50 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9321"],"X-Ratelimit-Cost":["1"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2973"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6Ijg3YzNlMjExYmM1MTA2ZmY0MzBmZmNkM2ZiYzhhMmI3Iiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyOTAsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6InBhdXNlZCIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0IjoxNDQ3\nMzI2MjkwLCJlbmQiOm51bGx9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:50 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/compile","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["48"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:51 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9302"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2972"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJoYXNoIjoiMTQ1ZWEyNGE0ZDgzYTE0ZWNiOTA3N2I4MzFmMTQ4MDkiLCJj\ncmVhdGVkX2F0IjoiMjAxNS0xMS0xMiAxMTowNDo1MSIsImRwdSI6IjAuMSJ9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:51 GMT"},{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/push/create","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["340"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:52 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9297"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2971"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjkyY2YxMjkxYzQ2N2Q2ZjhmMTQ2MDIzZTBmNDNjZTFhIiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyOTIsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6ImFjdGl2ZSIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0IjoxNDQ3\nMzI2MjkyLCJlbmQiOjB9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:52 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/compile","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["48"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:42 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9387"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2981"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJoYXNoIjoiMTQ1ZWEyNGE0ZDgzYTE0ZWNiOTA3N2I4MzFmMTQ4MDkiLCJj\ncmVhdGVkX2F0IjoiMjAxNS0xMS0xMiAxMTowNDo0MiIsImRwdSI6IjAuMSJ9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:42 GMT"},{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/push/create","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["340"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:43 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9382"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2981"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjE0MDM0MThkOWY3NWNkNDYxMGZiNjExNWU5MjcyNzUwIiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyODMsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6ImFjdGl2ZSIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0IjoxNDQ3\nMzI2MjgzLCJlbmQiOjB9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:43 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/push/create","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["340"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:44 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9366"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2979"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjRkYWRkMGFhMTI0NGE1NGY4MDgxYjJlMTg5MjU0YTYyIiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyODQsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6ImFjdGl2ZSIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0IjoxNDQ3\nMzI2Mjg0LCJlbmQiOjB9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:45 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"delete","uri":"https://api.datasift.com/v1.2/push/delete?id=40621ca0a83b7bc1b70f97a9bf812dee","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"]}},"response":{"status":{"code":204,"message":"No Content"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:49 GMT"],"Content-Type":["text/html"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9332"],"X-Ratelimit-Cost":["1"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2974"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":""},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:49 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"get","uri":"https://api.datasift.com/v1.2/push/get?id=a2eabbaae6f8a8f116aa08f1f74b58ea","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:51 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9308"],"X-Ratelimit-Cost":["1"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2972"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6ImEyZWFiYmFhZTZmOGE4ZjExNmFhMDhmMWY3NGI1OGVhIiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyOTEsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6ImFjdGl2ZSIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOjAsImludGVyYWN0aW9uX2NvdW50IjowLCJsb3N0X2RhdGEi\nOmZhbHNlLCJzdGFydCI6MTQ0NzMyNjI5MSwiZW5kIjpudWxsfQ==\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:51 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"get","uri":"https://api.datasift.com/v1.2/push/log?id=06e34d5fb2159de8571f409de50e2978&order_by=request_time&order_dir=desc&page=1&per_page=20","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:48 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9344"],"X-Ratelimit-Cost":["1"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2975"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJzdWNjZXNzIjp0cnVlLCJjb3VudCI6MCwibG9nX2VudHJpZXMiOltdfQ==\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:48 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"put","uri":"https://api.datasift.com/v1.2/push/pause","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["41"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:53 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9284"],"X-Ratelimit-Cost":["1"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2970"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjQzMzQzMzI4MjE4MGFkODYxNjhlODdmYzQ5OWMwNmQ0Iiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyOTMsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6InBhdXNlZCIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0IjoxNDQ3\nMzI2MjkzLCJlbmQiOm51bGx9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:53 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"put","uri":"https://api.datasift.com/v1.2/push/resume","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["41"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:50 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9320"],"X-Ratelimit-Cost":["1"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2973"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6Ijg3YzNlMjExYmM1MTA2ZmY0MzBmZmNkM2ZiYzhhMmI3Iiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyOTAsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6ImFjdGl2ZSIsImxh\nc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1haW5p\nbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0IjoxNDQ3\nMzI2MjkwLCJlbmQiOm51bGx9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:50 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"put","uri":"https://api.datasift.com/v1.2/push/stop","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["41"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:52 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9296"],"X-Ratelimit-Cost":["1"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2971"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjkyY2YxMjkxYzQ2N2Q2ZjhmMTQ2MDIzZTBmNDNjZTFhIiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyOTIsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0In0sInN0YXR1cyI6ImZpbmlzaGluZyIs\nImxhc3RfcmVxdWVzdCI6bnVsbCwibGFzdF9zdWNjZXNzIjpudWxsLCJyZW1h\naW5pbmdfYnl0ZXMiOm51bGwsImxvc3RfZGF0YSI6ZmFsc2UsInN0YXJ0Ijox\nNDQ3MzI2MjkyLCJlbmQiOjE0NDczMjYyOTJ9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:52 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/push/update","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["320"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:44 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9377"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2980"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjE0MDM0MThkOWY3NWNkNDYxMGZiNjExNWU5MjcyNzUwIiwib3V0\ncHV0X3R5cGUiOiJzMyIsIm5hbWUiOiJSdWJ5IFB1c2ggRXhhbXBsZSIsImNy\nZWF0ZWRfYXQiOjE0NDczMjYyODMsInVzZXJfaWQiOjMwNDksImhhc2giOiIx\nNDVlYTI0YTRkODNhMTRlY2I5MDc3YjgzMWYxNDgwOSIsImhhc2hfdHlwZSI6\nInN0cmVhbSIsIm91dHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNp\nZnRqYXNvbiIsImRpcmVjdG9yeSI6InJ1YnkiLCJhY2wiOiJwcml2YXRlIiwi\nZGVsaXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJm\naWxlX3ByZWZpeCI6IkRhdGFTaWZ0Iiwib3V0cHV0X3R5cGUiOiJzMyIsIm91\ndHB1dF9wYXJhbXMiOnsiYnVja2V0IjoiY29tZGF0YXNpZnRqYXNvbiIsImRp\ncmVjdG9yeSI6Im5ld19kaXJlY3RvcnkiLCJhY2wiOiJwcml2YXRlIiwiZGVs\naXZlcnlfZnJlcXVlbmN5IjowLCJtYXhfc2l6ZSI6MTA0ODU3NjAwLCJmaWxl\nX3ByZWZpeCI6IkRhdGFTaWZ0IiwiYXV0aCI6eyJhY2Nlc3Nfa2V5IjoiQUtJ\nQUpTVDdZRjJFTlpYSUxLQlEiLCJzZWNyZXRfa2V5Ijoic3VuQmFoZ1YxOW5W\nQmtUT0JqYzd4RUZ5SkhJcG5zWW1icG15aWtISSJ9fSwiaWQiOiIxNDAzNDE4\nZDlmNzVjZDQ2MTBmYjYxMTVlOTI3Mjc1MCJ9LCJzdGF0dXMiOiJhY3RpdmUi\nLCJsYXN0X3JlcXVlc3QiOm51bGwsImxhc3Rfc3VjY2VzcyI6bnVsbCwicmVt\nYWluaW5nX2J5dGVzIjowLCJsb3N0X2RhdGEiOmZhbHNlLCJzdGFydCI6MTQ0\nNzMyNjI4MywiZW5kIjpudWxsfQ==\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:44 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/push/validate","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["271"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:46 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9360"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2978"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2587"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJzdWNjZXNzIjp0cnVlLCJtZXNzYWdlIjoiVmFsaWRhdGVkIHN1Y2Nlc3Nm\ndWxseSJ9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:46 GMT"},{"request":{"method":"post","uri":"https://api.datasift.com/v1.2/push/validate","body":{"encoding":"UTF-8","base64_string":"PEJBU0U2NF9TVFJJTkc+\n"},"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["DataSift/v1.2 Ruby/v3.5.0"],"Authorization":["<USERNAME:API_KEY>"],"Content-Type":["application/json"],"Content-Length":["271"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["nginx"],"Date":["Thu, 12 Nov 2015 11:04:46 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["close"],"X-Api-Version":["1.2"],"P3p":["CP=\"CAO PSA\""],"X-Ratelimit-Limit":["10000"],"X-Ratelimit-Remaining":["9355"],"X-Ratelimit-Cost":["5"],"X-Ratelimit-Reset":["1447329263"],"X-Ratelimit-Reset-Ttl":["2977"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Headers":["Authorization,Content-Type"],"Access-Control-Allow-Methods":["GET,POST,PUT,DELETE"],"X-Served-By":["ded2584"],"X-Frame-Options":["SAMEORIGIN"]},"body":{"encoding":"UTF-8","base64_string":"eyJzdWNjZXNzIjp0cnVlLCJtZXNzYWdlIjoiVmFsaWRhdGVkIHN1Y2Nlc3Nm\ndWxseSJ9\n"},"http_version":null},"recorded_at":"Thu, 12 Nov 2015 11:04:46 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
{"id":"tag:search.twitter.com,2005:587648815764746240","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:36136637","link":"http://www.twitter.com/davidmarkwales","displayName":"Dave Thomas","postedTime":"2009-04-28T18:14:12.000Z","image":"https://pbs.twimg.com/profile_images/1173129755/image_normal.jpg","summary":"Instagram: davidmarkwales","links":[{"href":null,"rel":"me"}],"friendsCount":340,"followersCount":122,"listedCount":3,"statusesCount":499,"twitterTimeZone":"London","verified":false,"utcOffset":"3600","preferredUsername":"davidmarkwales","languages":["en"],"location":{"objectType":"place","displayName":"Liverpool"},"favoritesCount":33},"verb":"post","postedTime":"2015-04-13T16:09:30.000Z","generator":{"displayName":"Twitter for Android","link":"http://twitter.com/download/android"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/davidmarkwales/statuses/587648815764746240","body":"@asda has cancelled my home delivery today, no reason given, not even a courtesy call or email to let me know. Any idea why they would?","object":{"objectType":"note","id":"object:search.twitter.com,2005:587648815764746240","summary":"@asda has cancelled my home delivery today, no reason given, not even a courtesy call or email to let me know. Any idea why they would?","link":"http://twitter.com/davidmarkwales/statuses/587648815764746240","postedTime":"2015-04-13T16:09:30.000Z"},"favoritesCount":0,"location":{"objectType":"place","displayName":"Garston, England","name":"Garston","country_code":"United Kingdom","twitter_country_code":"GB","link":"https://api.twitter.com/1.1/geo/id/12f69ad404352073.json","geo":{"type":"Polygon","coordinates":[[[-2.940659,53.331287],[-2.940659,53.38523],[-2.818002,53.38523],[-2.818002,53.331287]]]}},"geo":{"type":"Point","coordinates":[53.345841,-2.87278]},"twitter_entities":{"hashtags":[],"trends":[],"urls":[],"user_mentions":[{"screen_name":"asda","name":"Asda","id":20123366,"id_str":"20123366","indices":[0,5]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"BedBathBeyond\" OR to:\"WilliamsSonoma\" OR to:\"GAP\" OR to:\"Abercrombie\" OR to:\"hm\" OR to:\"VictoriasSecret\" OR to:\"LLBean\" OR to:\"LandsEnd\" OR to:\"eBay\" OR to:\"Overstock_help\" OR to:\"Overstock\" OR to:\"QVC\" OR to:\"BandQ\" OR to:\"asda\" OR to:\"waitrose\" OR to:\"LidlUK\" OR to:\"Ocado\" OR to:\"Burberry\" OR to:\"marksandspencer\" OR to:\"johnlewisretail\" OR to:\"nextofficial\" OR to:\"ASOS\" OR to:\"Topshop\" OR to:\"ZARA\" OR to:\"NewLookFashion\")","tag":"retailers"}],"language":{"value":"en"}}}
|
2
|
-
{"id":"tag:search.twitter.com,2005:587648834689445889","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:3157665856","link":"http://www.twitter.com/emilywlittle","displayName":"Emily ","postedTime":"2015-04-11T20:20:40.000Z","image":"https://pbs.twimg.com/profile_images/586987964225445912/ubKhVysy_normal.jpg","summary":null,"links":[{"href":null,"rel":"me"}],"friendsCount":61,"followersCount":20767,"listedCount":0,"statusesCount":128,"twitterTimeZone":"Amsterdam","verified":false,"utcOffset":"7200","preferredUsername":"emilywlittle","languages":["en"],"favoritesCount":0},"verb":"post","postedTime":"2015-04-13T16:09:34.000Z","generator":{"displayName":"Yappem","link":"http://www.yappem.com/"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/emilywlittle/statuses/587648834689445889","body":"@amazon online bookstore http://t.co/Cz3XUWDvva http://t.co/6lNnsbABii","object":{"objectType":"note","id":"object:search.twitter.com,2005:587648834689445889","summary":"@amazon online bookstore http://t.co/Cz3XUWDvva http://t.co/6lNnsbABii","link":"http://twitter.com/emilywlittle/statuses/587648834689445889","postedTime":"2015-04-13T16:09:34.000Z"},"favoritesCount":0,"twitter_entities":{"hashtags":[],"trends":[],"urls":[{"url":"http://t.co/Cz3XUWDvva","expanded_url":"http://goo.gl/iXPwB4","display_url":"goo.gl/iXPwB4","indices":[25,47]}],"user_mentions":[{"screen_name":"amazon","name":"Amazon","id":20793816,"id_str":"20793816","indices":[0,7]}],"symbols":[],"media":[{"id":587648834580455424,"id_str":"587648834580455424","indices":[48,70],"media_url":"http://pbs.twimg.com/media/CCe_gGXXIAAWYU6.jpg","media_url_https":"https://pbs.twimg.com/media/CCe_gGXXIAAWYU6.jpg","url":"http://t.co/6lNnsbABii","display_url":"pic.twitter.com/6lNnsbABii","expanded_url":"http://twitter.com/emilywlittle/status/587648834689445889/photo/1","type":"photo","sizes":{"small":{"w":340,"h":340,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"medium":{"w":600,"h":600,"resize":"fit"},"large":{"w":600,"h":600,"resize":"fit"}}}]},"twitter_extended_entities":{"media":[{"id":587648834580455424,"id_str":"587648834580455424","indices":[48,70],"media_url":"http://pbs.twimg.com/media/CCe_gGXXIAAWYU6.jpg","media_url_https":"https://pbs.twimg.com/media/CCe_gGXXIAAWYU6.jpg","url":"http://t.co/6lNnsbABii","display_url":"pic.twitter.com/6lNnsbABii","expanded_url":"http://twitter.com/emilywlittle/status/587648834689445889/photo/1","type":"photo","sizes":{"small":{"w":340,"h":340,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"medium":{"w":600,"h":600,"resize":"fit"},"large":{"w":600,"h":600,"resize":"fit"}}}]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"amazon\" OR to:\"amazonhelp\" OR to:\"BestBuy\" OR to:\"BestBuySupport\" OR to:\"jcpenney\" OR to:\"Kohls\" OR to:\"kroger\" OR to:\"Macys\" OR to:\"Sears\" OR to:\"searscares\" OR to:\"ToysRUs\" OR to:\"Walmart\" OR to:\"Target\" OR to:\"costco\" OR to:\"publix\" OR to:\"publixhelp\" OR to:\"Nordstrom\" OR to:\"neimanmarcus\" OR to:\"marksandspencer\" OR to:\"tesco\" OR to:\"AldiUK\" OR to:\"AldiUSA\" OR to:\"LoblawsON\" OR to:\"safeway\" OR to:\"WholeFoods\" OR to:\"sainsburys\" OR to:\"woolworths\" OR to:\"TrueValue\" OR to:\"IKEAUSA\")","tag":"retailers"}],"urls":[{"url":"http://t.co/Cz3XUWDvva","expanded_url":"https://www.yappem.com/redirect/?pid=782008","expanded_status":403},{"url":"http://t.co/6lNnsbABii","expanded_url":"http://twitter.com/emilywlittle/status/587648834689445889/photo/1","expanded_status":200}],"language":{"value":"en"}}}
|
3
|
-
{"id":"tag:search.twitter.com,2005:587648869485379585","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:265357386","link":"http://www.twitter.com/dr_acula365","displayName":"Andy","postedTime":"2011-03-13T12:16:17.000Z","image":"https://pbs.twimg.com/profile_images/2438808933/to47tp1pbrww1gqwbe9k_normal.jpeg","summary":"Just a guy who likes sport, music and food. You'll find me in the LGBT thread on f365 forum. Please don't follow me if you are under 18. You will be blocked.","links":[{"href":null,"rel":"me"}],"friendsCount":185,"followersCount":128,"listedCount":3,"statusesCount":916,"twitterTimeZone":"Casablanca","verified":false,"utcOffset":"3600","preferredUsername":"dr_acula365","languages":["en"],"location":{"objectType":"place","displayName":"Newcastle"},"favoritesCount":0},"verb":"post","postedTime":"2015-04-13T16:09:43.000Z","generator":{"displayName":"Tweetbot for iΟS","link":"http://tapbots.com/tweetbot"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/dr_acula365/statuses/587648869485379585","body":"@Tesco when your website says next day click and collect and the email says pick up from 3pm, when do you actually mean I can pick it up?","object":{"objectType":"note","id":"object:search.twitter.com,2005:587648869485379585","summary":"@Tesco when your website says next day click and collect and the email says pick up from 3pm, when do you actually mean I can pick it up?","link":"http://twitter.com/dr_acula365/statuses/587648869485379585","postedTime":"2015-04-13T16:09:43.000Z"},"favoritesCount":0,"twitter_entities":{"hashtags":[],"trends":[],"urls":[],"user_mentions":[{"screen_name":"Tesco","name":"Tesco","id":271986064,"id_str":"271986064","indices":[0,6]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"amazon\" OR to:\"amazonhelp\" OR to:\"BestBuy\" OR to:\"BestBuySupport\" OR to:\"jcpenney\" OR to:\"Kohls\" OR to:\"kroger\" OR to:\"Macys\" OR to:\"Sears\" OR to:\"searscares\" OR to:\"ToysRUs\" OR to:\"Walmart\" OR to:\"Target\" OR to:\"costco\" OR to:\"publix\" OR to:\"publixhelp\" OR to:\"Nordstrom\" OR to:\"neimanmarcus\" OR to:\"marksandspencer\" OR to:\"tesco\" OR to:\"AldiUK\" OR to:\"AldiUSA\" OR to:\"LoblawsON\" OR to:\"safeway\" OR to:\"WholeFoods\" OR to:\"sainsburys\" OR to:\"woolworths\" OR to:\"TrueValue\" OR to:\"IKEAUSA\")","tag":"retailers"}],"language":{"value":"en"}}}
|
4
|
-
{"id":"tag:search.twitter.com,2005:587648932337098752","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:2642049675","link":"http://www.twitter.com/michaeljohnmcr","displayName":"Michael Delaney","postedTime":"2014-06-25T22:59:21.000Z","image":"https://pbs.twimg.com/profile_images/544998090609291264/W-4vCwC7_normal.jpeg","summary":"邁克爾 ❌❌","links":[{"href":null,"rel":"me"}],"friendsCount":48,"followersCount":19,"listedCount":0,"statusesCount":302,"twitterTimeZone":"Azores","verified":false,"utcOffset":"0","preferredUsername":"michaeljohnmcr","languages":["en"],"favoritesCount":10},"verb":"post","postedTime":"2015-04-13T16:09:58.000Z","generator":{"displayName":"Twitter for iPhone","link":"http://twitter.com/download/iphone"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/michaeljohnmcr/statuses/587648932337098752","body":"@asda I need a number to make a complaint with in the uk can't find it online","object":{"objectType":"note","id":"object:search.twitter.com,2005:587648932337098752","summary":"@asda I need a number to make a complaint with in the uk can't find it online","link":"http://twitter.com/michaeljohnmcr/statuses/587648932337098752","postedTime":"2015-04-13T16:09:58.000Z"},"favoritesCount":0,"location":{"objectType":"place","displayName":"Manchester, England","name":"Manchester","country_code":"United Kingdom","twitter_country_code":"GB","link":"https://api.twitter.com/1.1/geo/id/315b740b108481f6.json","geo":{"type":"Polygon","coordinates":[[[-2.319934,53.343623],[-2.319934,53.5702824],[-2.147026,53.5702824],[-2.147026,53.343623]]]}},"geo":{"type":"Point","coordinates":[53.38604,-2.251666]},"twitter_entities":{"hashtags":[],"trends":[],"urls":[],"user_mentions":[{"screen_name":"asda","name":"Asda","id":20123366,"id_str":"20123366","indices":[0,5]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"BedBathBeyond\" OR to:\"WilliamsSonoma\" OR to:\"GAP\" OR to:\"Abercrombie\" OR to:\"hm\" OR to:\"VictoriasSecret\" OR to:\"LLBean\" OR to:\"LandsEnd\" OR to:\"eBay\" OR to:\"Overstock_help\" OR to:\"Overstock\" OR to:\"QVC\" OR to:\"BandQ\" OR to:\"asda\" OR to:\"waitrose\" OR to:\"LidlUK\" OR to:\"Ocado\" OR to:\"Burberry\" OR to:\"marksandspencer\" OR to:\"johnlewisretail\" OR to:\"nextofficial\" OR to:\"ASOS\" OR to:\"Topshop\" OR to:\"ZARA\" OR to:\"NewLookFashion\")","tag":"retailers"}],"language":{"value":"en"}}}
|
5
|
-
{"id":"tag:search.twitter.com,2005:587649014415278080","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:14577165","link":"http://www.twitter.com/marinmaven","displayName":"marinmaven","postedTime":"2008-04-28T23:11:01.000Z","image":"https://pbs.twimg.com/profile_images/489833602222661632/dKsJXZaX_normal.jpeg","summary":"I am a San Francisco native who grew up on the Peninsula. I muse about politics, economics, culture, and living in Marin and beyond.","links":[{"href":"http://www.marinmaven.com/","rel":"me"}],"friendsCount":2316,"followersCount":2360,"listedCount":123,"statusesCount":19661,"twitterTimeZone":"Pacific Time (US & Canada)","verified":false,"utcOffset":"-25200","preferredUsername":"marinmaven","languages":["en"],"location":{"objectType":"place","displayName":"ÜT: 38.006898,-122.531684"},"favoritesCount":355},"verb":"post","postedTime":"2015-04-13T16:10:17.000Z","generator":{"displayName":"Twitter for iPhone","link":"http://twitter.com/download/iphone"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/marinmaven/statuses/587649014415278080","body":"@Macys I have sent you an email detailing what has happened.","object":{"objectType":"note","id":"object:search.twitter.com,2005:587649014415278080","summary":"@Macys I have sent you an email detailing what has happened.","link":"http://twitter.com/marinmaven/statuses/587649014415278080","postedTime":"2015-04-13T16:10:17.000Z"},"inReplyTo":{"link":"http://twitter.com/Macys/statuses/587641764682403841"},"favoritesCount":0,"twitter_entities":{"hashtags":[],"trends":[],"urls":[],"user_mentions":[{"screen_name":"Macys","name":"Macy's","id":50687788,"id_str":"50687788","indices":[0,6]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"amazon\" OR to:\"amazonhelp\" OR to:\"BestBuy\" OR to:\"BestBuySupport\" OR to:\"jcpenney\" OR to:\"Kohls\" OR to:\"kroger\" OR to:\"Macys\" OR to:\"Sears\" OR to:\"searscares\" OR to:\"ToysRUs\" OR to:\"Walmart\" OR to:\"Target\" OR to:\"costco\" OR to:\"publix\" OR to:\"publixhelp\" OR to:\"Nordstrom\" OR to:\"neimanmarcus\" OR to:\"marksandspencer\" OR to:\"tesco\" OR to:\"AldiUK\" OR to:\"AldiUSA\" OR to:\"LoblawsON\" OR to:\"safeway\" OR to:\"WholeFoods\" OR to:\"sainsburys\" OR to:\"woolworths\" OR to:\"TrueValue\" OR to:\"IKEAUSA\")","tag":"retailers"}],"language":{"value":"en"}}}
|
6
|
-
{"id":"tag:search.twitter.com,2005:587649047697215488","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:265357386","link":"http://www.twitter.com/dr_acula365","displayName":"Andy","postedTime":"2011-03-13T12:16:17.000Z","image":"https://pbs.twimg.com/profile_images/2438808933/to47tp1pbrww1gqwbe9k_normal.jpeg","summary":"Just a guy who likes sport, music and food. You'll find me in the LGBT thread on f365 forum. Please don't follow me if you are under 18. You will be blocked.","links":[{"href":null,"rel":"me"}],"friendsCount":185,"followersCount":128,"listedCount":3,"statusesCount":917,"twitterTimeZone":"Casablanca","verified":false,"utcOffset":"3600","preferredUsername":"dr_acula365","languages":["en"],"location":{"objectType":"place","displayName":"Newcastle"},"favoritesCount":0},"verb":"post","postedTime":"2015-04-13T16:10:25.000Z","generator":{"displayName":"Tweetbot for iΟS","link":"http://tapbots.com/tweetbot"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/dr_acula365/statuses/587649047697215488","body":"@Tesco the store has no idea where my order will be and suggests I go back tomorrow as it \"might\" be with them by then.","object":{"objectType":"note","id":"object:search.twitter.com,2005:587649047697215488","summary":"@Tesco the store has no idea where my order will be and suggests I go back tomorrow as it \"might\" be with them by then.","link":"http://twitter.com/dr_acula365/statuses/587649047697215488","postedTime":"2015-04-13T16:10:25.000Z"},"favoritesCount":0,"twitter_entities":{"hashtags":[],"trends":[],"urls":[],"user_mentions":[{"screen_name":"Tesco","name":"Tesco","id":271986064,"id_str":"271986064","indices":[0,6]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"amazon\" OR to:\"amazonhelp\" OR to:\"BestBuy\" OR to:\"BestBuySupport\" OR to:\"jcpenney\" OR to:\"Kohls\" OR to:\"kroger\" OR to:\"Macys\" OR to:\"Sears\" OR to:\"searscares\" OR to:\"ToysRUs\" OR to:\"Walmart\" OR to:\"Target\" OR to:\"costco\" OR to:\"publix\" OR to:\"publixhelp\" OR to:\"Nordstrom\" OR to:\"neimanmarcus\" OR to:\"marksandspencer\" OR to:\"tesco\" OR to:\"AldiUK\" OR to:\"AldiUSA\" OR to:\"LoblawsON\" OR to:\"safeway\" OR to:\"WholeFoods\" OR to:\"sainsburys\" OR to:\"woolworths\" OR to:\"TrueValue\" OR to:\"IKEAUSA\")","tag":"retailers"}],"language":{"value":"en"}}}
|
7
|
-
{"id":"tag:search.twitter.com,2005:587649057914490880","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:509474447","link":"http://www.twitter.com/DebbieMeldrum","displayName":"Debstweeted","postedTime":"2012-03-01T00:24:28.000Z","image":"https://pbs.twimg.com/profile_images/483673950602682368/dsKmu4AK_normal.jpeg","summary":"Professional. Linguist. Fashion follower. Juice addict. Day dreamer. Number 11.","links":[{"href":null,"rel":"me"}],"friendsCount":677,"followersCount":132,"listedCount":3,"statusesCount":323,"twitterTimeZone":null,"verified":false,"utcOffset":null,"preferredUsername":"DebbieMeldrum","languages":["en"],"location":{"objectType":"place","displayName":"Aberdeen"},"favoritesCount":337},"verb":"post","postedTime":"2015-04-13T16:10:28.000Z","generator":{"displayName":"Twitter for iPad","link":"http://twitter.com/#!/download/ipad"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/DebbieMeldrum/statuses/587649057914490880","body":"@Topshop really want to but unfortunately my local Topshop in #Aberdeen doesn't stock it 😟","object":{"objectType":"note","id":"object:search.twitter.com,2005:587649057914490880","summary":"@Topshop really want to but unfortunately my local Topshop in #Aberdeen doesn't stock it 😟","link":"http://twitter.com/DebbieMeldrum/statuses/587649057914490880","postedTime":"2015-04-13T16:10:28.000Z"},"inReplyTo":{"link":"http://twitter.com/Topshop/statuses/587648638467366912"},"favoritesCount":0,"location":{"objectType":"place","displayName":"Aberdeen, Scotland","name":"Aberdeen","country_code":"United Kingdom","twitter_country_code":"GB","link":"https://api.twitter.com/1.1/geo/id/73cc26d418860ddd.json","geo":{"type":"Polygon","coordinates":[[[-2.1899763,57.107695],[-2.1899763,57.2134174],[-2.0641046,57.2134174],[-2.0641046,57.107695]]]}},"geo":{"type":"Point","coordinates":[57.170311,-2.094876]},"twitter_entities":{"hashtags":[{"text":"Aberdeen","indices":[62,71]}],"trends":[],"urls":[],"user_mentions":[{"screen_name":"Topshop","name":"Topshop","id":20908109,"id_str":"20908109","indices":[0,8]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"BedBathBeyond\" OR to:\"WilliamsSonoma\" OR to:\"GAP\" OR to:\"Abercrombie\" OR to:\"hm\" OR to:\"VictoriasSecret\" OR to:\"LLBean\" OR to:\"LandsEnd\" OR to:\"eBay\" OR to:\"Overstock_help\" OR to:\"Overstock\" OR to:\"QVC\" OR to:\"BandQ\" OR to:\"asda\" OR to:\"waitrose\" OR to:\"LidlUK\" OR to:\"Ocado\" OR to:\"Burberry\" OR to:\"marksandspencer\" OR to:\"johnlewisretail\" OR to:\"nextofficial\" OR to:\"ASOS\" OR to:\"Topshop\" OR to:\"ZARA\" OR to:\"NewLookFashion\")","tag":"retailers"}],"language":{"value":"en"}}}
|
8
|
-
{"id":"tag:search.twitter.com,2005:587649092089733120","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:274108611","link":"http://www.twitter.com/IAmKatieDevs","displayName":"Katie Devlin","postedTime":"2011-03-29T19:02:59.000Z","image":"https://pbs.twimg.com/profile_images/454566612080033793/du2a4BhY_normal.jpeg","summary":"Boston bred, fashion fanatic, music enthusiast, IBMer. {{MY tweets are MY own}}","links":[{"href":null,"rel":"me"}],"friendsCount":382,"followersCount":234,"listedCount":10,"statusesCount":1673,"twitterTimeZone":"Quito","verified":false,"utcOffset":"-18000","preferredUsername":"IAmKatieDevs","languages":["en"],"location":{"objectType":"place","displayName":"Boston, MA"},"favoritesCount":263},"verb":"post","postedTime":"2015-04-13T16:10:36.000Z","generator":{"displayName":"Hootsuite","link":"http://www.hootsuite.com"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/IAmKatieDevs/statuses/587649092089733120","body":"@BedBathBeyond marries wedding registry with augmented reality http://t.co/0bojF4HY12 #mobile #mcommerce","object":{"objectType":"note","id":"object:search.twitter.com,2005:587649092089733120","summary":"@BedBathBeyond marries wedding registry with augmented reality http://t.co/0bojF4HY12 #mobile #mcommerce","link":"http://twitter.com/IAmKatieDevs/statuses/587649092089733120","postedTime":"2015-04-13T16:10:36.000Z"},"favoritesCount":0,"twitter_entities":{"hashtags":[{"text":"mobile","indices":[86,93]},{"text":"mcommerce","indices":[94,104]}],"trends":[],"urls":[{"url":"http://t.co/0bojF4HY12","expanded_url":"http://www.mobilecommercedaily.com/bed-bath-and-beyond-marries-wedding-registry-with-augmented-reality","display_url":"mobilecommercedaily.com/bed-bath-and-b…","indices":[63,85]}],"user_mentions":[{"screen_name":"BedBathBeyond","name":"Bed Bath & Beyond","id":372817561,"id_str":"372817561","indices":[0,14]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"BedBathBeyond\" OR to:\"WilliamsSonoma\" OR to:\"GAP\" OR to:\"Abercrombie\" OR to:\"hm\" OR to:\"VictoriasSecret\" OR to:\"LLBean\" OR to:\"LandsEnd\" OR to:\"eBay\" OR to:\"Overstock_help\" OR to:\"Overstock\" OR to:\"QVC\" OR to:\"BandQ\" OR to:\"asda\" OR to:\"waitrose\" OR to:\"LidlUK\" OR to:\"Ocado\" OR to:\"Burberry\" OR to:\"marksandspencer\" OR to:\"johnlewisretail\" OR to:\"nextofficial\" OR to:\"ASOS\" OR to:\"Topshop\" OR to:\"ZARA\" OR to:\"NewLookFashion\")","tag":"retailers"}],"urls":[{"url":"http://t.co/0bojF4HY12","expanded_url":"http://www.mobilecommercedaily.com/bed-bath-and-beyond-marries-wedding-registry-with-augmented-reality","expanded_status":200}],"language":{"value":"en"}}}
|
9
|
-
{"id":"tag:search.twitter.com,2005:587649207844081664","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:944015658","link":"http://www.twitter.com/dianekendall716","displayName":"diane kendall","postedTime":"2012-11-12T16:59:18.000Z","image":"https://pbs.twimg.com/profile_images/534077775309975553/b0Z9SWCF_normal.jpeg","summary":null,"links":[{"href":null,"rel":"me"}],"friendsCount":24,"followersCount":10,"listedCount":0,"statusesCount":34,"twitterTimeZone":null,"verified":false,"utcOffset":null,"preferredUsername":"dianekendall716","languages":["en"],"favoritesCount":63},"verb":"post","postedTime":"2015-04-13T16:11:03.000Z","generator":{"displayName":"Mobile Web (M5)","link":"https://mobile.twitter.com"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/dianekendall716/statuses/587649207844081664","body":"@marksandspencer black please","object":{"objectType":"note","id":"object:search.twitter.com,2005:587649207844081664","summary":"@marksandspencer black please","link":"http://twitter.com/dianekendall716/statuses/587649207844081664","postedTime":"2015-04-13T16:11:03.000Z"},"inReplyTo":{"link":"http://twitter.com/marksandspencer/statuses/587541076187090944"},"favoritesCount":0,"twitter_entities":{"hashtags":[],"trends":[],"urls":[],"user_mentions":[{"screen_name":"marksandspencer","name":"M&S","id":37916167,"id_str":"37916167","indices":[0,16]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"BedBathBeyond\" OR to:\"WilliamsSonoma\" OR to:\"GAP\" OR to:\"Abercrombie\" OR to:\"hm\" OR to:\"VictoriasSecret\" OR to:\"LLBean\" OR to:\"LandsEnd\" OR to:\"eBay\" OR to:\"Overstock_help\" OR to:\"Overstock\" OR to:\"QVC\" OR to:\"BandQ\" OR to:\"asda\" OR to:\"waitrose\" OR to:\"LidlUK\" OR to:\"Ocado\" OR to:\"Burberry\" OR to:\"marksandspencer\" OR to:\"johnlewisretail\" OR to:\"nextofficial\" OR to:\"ASOS\" OR to:\"Topshop\" OR to:\"ZARA\" OR to:\"NewLookFashion\")","tag":"retailers"},{"value":"lang:en (to:\"amazon\" OR to:\"amazonhelp\" OR to:\"BestBuy\" OR to:\"BestBuySupport\" OR to:\"jcpenney\" OR to:\"Kohls\" OR to:\"kroger\" OR to:\"Macys\" OR to:\"Sears\" OR to:\"searscares\" OR to:\"ToysRUs\" OR to:\"Walmart\" OR to:\"Target\" OR to:\"costco\" OR to:\"publix\" OR to:\"publixhelp\" OR to:\"Nordstrom\" OR to:\"neimanmarcus\" OR to:\"marksandspencer\" OR to:\"tesco\" OR to:\"AldiUK\" OR to:\"AldiUSA\" OR to:\"LoblawsON\" OR to:\"safeway\" OR to:\"WholeFoods\" OR to:\"sainsburys\" OR to:\"woolworths\" OR to:\"TrueValue\" OR to:\"IKEAUSA\")","tag":"retailers"}],"language":{"value":"en"}}}
|
10
|
-
{"id":"tag:search.twitter.com,2005:587649264156811264","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:920532930","link":"http://www.twitter.com/karengodfrey06","displayName":"Karen Godfrey-Young","postedTime":"2012-11-02T07:26:39.000Z","image":"https://pbs.twimg.com/profile_images/579378574119051264/NutpKf5S_normal.jpg","summary":"Wife/ Mother / Grandma","links":[{"href":null,"rel":"me"}],"friendsCount":89,"followersCount":61,"listedCount":0,"statusesCount":1771,"twitterTimeZone":null,"verified":false,"utcOffset":null,"preferredUsername":"karengodfrey06","languages":["en"],"location":{"objectType":"place","displayName":" Oxfordshire"},"favoritesCount":1383},"verb":"post","postedTime":"2015-04-13T16:11:17.000Z","generator":{"displayName":"Twitter for Android","link":"http://twitter.com/download/android"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/karengodfrey06/statuses/587649264156811264","body":"@AldiUK nothing is happening. Opens to blank white page? \nI shop with you every week so would love to enter comp xx","object":{"objectType":"note","id":"object:search.twitter.com,2005:587649264156811264","summary":"@AldiUK nothing is happening. Opens to blank white page? \nI shop with you every week so would love to enter comp xx","link":"http://twitter.com/karengodfrey06/statuses/587649264156811264","postedTime":"2015-04-13T16:11:17.000Z"},"inReplyTo":{"link":"http://twitter.com/AldiUK/statuses/587623827787493376"},"favoritesCount":0,"twitter_entities":{"hashtags":[],"trends":[],"urls":[],"user_mentions":[{"screen_name":"AldiUK","name":"Aldi Stores UK","id":28596803,"id_str":"28596803","indices":[0,7]}],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"value":"lang:en (to:\"amazon\" OR to:\"amazonhelp\" OR to:\"BestBuy\" OR to:\"BestBuySupport\" OR to:\"jcpenney\" OR to:\"Kohls\" OR to:\"kroger\" OR to:\"Macys\" OR to:\"Sears\" OR to:\"searscares\" OR to:\"ToysRUs\" OR to:\"Walmart\" OR to:\"Target\" OR to:\"costco\" OR to:\"publix\" OR to:\"publixhelp\" OR to:\"Nordstrom\" OR to:\"neimanmarcus\" OR to:\"marksandspencer\" OR to:\"tesco\" OR to:\"AldiUK\" OR to:\"AldiUSA\" OR to:\"LoblawsON\" OR to:\"safeway\" OR to:\"WholeFoods\" OR to:\"sainsburys\" OR to:\"woolworths\" OR to:\"TrueValue\" OR to:\"IKEAUSA\")","tag":"retailers"}],"language":{"value":"en"}}}
|
data/test/test_helper.rb
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
require 'simplecov'
|
2
|
-
SimpleCov.start do
|
3
|
-
add_filter "/test/"
|
4
|
-
add_filter "/examples/"
|
5
|
-
end
|
6
|
-
|
7
|
-
require 'datasift'
|
8
|
-
require 'minitest'
|
9
|
-
|
10
|
-
require File.expand_path('./../../examples/auth', __FILE__)
|
11
|
-
require 'minitest/autorun'
|
12
|
-
require 'webmock/minitest'
|
13
|
-
require 'multi_json'
|
14
|
-
require 'ostruct'
|
15
|
-
require 'vcr'
|
16
|
-
|
17
|
-
STATUS = OpenStruct.new(
|
18
|
-
valid: 200,
|
19
|
-
created: 201,
|
20
|
-
accepted: 202,
|
21
|
-
no_content: 204,
|
22
|
-
bad_request: 400,
|
23
|
-
not_found: 404,
|
24
|
-
conflict: 409,
|
25
|
-
gone: 410
|
26
|
-
)
|
27
|
-
|
28
|
-
def fixture_path
|
29
|
-
File.expand_path('../fixtures', __FILE__)
|
30
|
-
end
|
31
|
-
|
32
|
-
def fixture(file)
|
33
|
-
File.new(fixture_path + '/' + file)
|
34
|
-
end
|
35
|
-
|
36
|
-
VCR.configure do |c|
|
37
|
-
c.cassette_library_dir = File.join(File.dirname(__FILE__), 'fixtures', 'cassettes')
|
38
|
-
c.default_cassette_options = {
|
39
|
-
record: :new_episodes,
|
40
|
-
decode_compressed_response: true,
|
41
|
-
serialize_with: :json,
|
42
|
-
preserve_exact_body_bytes: true
|
43
|
-
}
|
44
|
-
c.hook_into :webmock
|
45
|
-
c.filter_sensitive_data('<USERNAME:API_KEY>') { |interaction| interaction.request.headers['Authorization'].first }
|
46
|
-
c.filter_sensitive_data('<BASE64_STRING>') { |interaction| interaction.request.body }
|
47
|
-
end
|
48
|
-
|
49
|
-
include WebMock::API
|