swiftype 0.0.5 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/.gitignore +5 -0
  2. data/.travis.yml +6 -0
  3. data/Gemfile +1 -1
  4. data/README.md +202 -283
  5. data/lib/data/ca-bundle.crt +3554 -0
  6. data/lib/swiftype.rb +7 -31
  7. data/lib/swiftype/client.rb +439 -11
  8. data/lib/swiftype/configuration.rb +29 -4
  9. data/lib/swiftype/exceptions.rb +2 -0
  10. data/lib/swiftype/ext/backport-uri.rb +33 -0
  11. data/lib/swiftype/request.rb +88 -20
  12. data/lib/swiftype/result_set.rb +43 -6
  13. data/lib/swiftype/sso.rb +20 -0
  14. data/lib/swiftype/version.rb +1 -1
  15. data/spec/client_spec.rb +576 -0
  16. data/spec/configuration_spec.rb +36 -0
  17. data/spec/deprecated_spec.rb +20 -0
  18. data/spec/fixtures/vcr/analytics_autoselects.yml +55 -0
  19. data/spec/fixtures/vcr/analytics_autoselects_with_document_type.yml +55 -0
  20. data/spec/fixtures/vcr/analytics_autoselects_with_document_type_and_time_range.yml +55 -0
  21. data/spec/fixtures/vcr/analytics_autoselects_with_time_range.yml +55 -0
  22. data/spec/fixtures/vcr/analytics_clicks.yml +55 -0
  23. data/spec/fixtures/vcr/analytics_clicks_with_document_type.yml +55 -0
  24. data/spec/fixtures/vcr/analytics_clicks_with_document_type_and_time_range.yml +55 -0
  25. data/spec/fixtures/vcr/analytics_clicks_with_time_range.yml +55 -0
  26. data/spec/fixtures/vcr/analytics_searches.yml +55 -0
  27. data/spec/fixtures/vcr/analytics_searches_with_document_type_and_time_range.yml +55 -0
  28. data/spec/fixtures/vcr/analytics_searches_with_time_range.yml +55 -0
  29. data/spec/fixtures/vcr/analytics_searchs_with_document_type.yml +55 -0
  30. data/spec/fixtures/vcr/analytics_top_no_result_queries.yml +55 -0
  31. data/spec/fixtures/vcr/analytics_top_no_result_queries_paginated.yml +55 -0
  32. data/spec/fixtures/vcr/analytics_top_queries.yml +55 -0
  33. data/spec/fixtures/vcr/analytics_top_queries_paginated.yml +55 -0
  34. data/spec/fixtures/vcr/analytics_top_queries_too_large.yml +51 -0
  35. data/spec/fixtures/vcr/bulk_create_documents.yml +49 -0
  36. data/spec/fixtures/vcr/bulk_create_or_update_documents_failure.yml +45 -0
  37. data/spec/fixtures/vcr/bulk_create_or_update_documents_success.yml +49 -0
  38. data/spec/fixtures/vcr/bulk_destroy_documents.yml +45 -0
  39. data/spec/fixtures/vcr/crawl_url.yml +45 -0
  40. data/spec/fixtures/vcr/create_document.yml +48 -0
  41. data/spec/fixtures/vcr/create_document_type.yml +45 -0
  42. data/spec/fixtures/vcr/create_domain.yml +45 -0
  43. data/spec/fixtures/vcr/create_engine.yml +45 -0
  44. data/spec/fixtures/vcr/create_or_update_document_create.yml +47 -0
  45. data/spec/fixtures/vcr/create_or_update_document_update.yml +47 -0
  46. data/spec/fixtures/vcr/create_user.yml +45 -0
  47. data/spec/fixtures/vcr/destroy_document.yml +41 -0
  48. data/spec/fixtures/vcr/destroy_document_type.yml +41 -0
  49. data/spec/fixtures/vcr/destroy_domain.yml +41 -0
  50. data/spec/fixtures/vcr/destroy_engine.yml +41 -0
  51. data/spec/fixtures/vcr/destroy_non_existent_document_type.yml +43 -0
  52. data/spec/fixtures/vcr/document_type_search.yml +60 -0
  53. data/spec/fixtures/vcr/document_type_search_pagination.yml +45 -0
  54. data/spec/fixtures/vcr/document_type_suggest.yml +50 -0
  55. data/spec/fixtures/vcr/document_type_suggest_pagination.yml +45 -0
  56. data/spec/fixtures/vcr/engine_search.yml +64 -0
  57. data/spec/fixtures/vcr/engine_search_facets.yml +162 -0
  58. data/spec/fixtures/vcr/engine_search_pagination.yml +45 -0
  59. data/spec/fixtures/vcr/engine_suggest.yml +52 -0
  60. data/spec/fixtures/vcr/engine_suggest_pagination.yml +45 -0
  61. data/spec/fixtures/vcr/find_document.yml +47 -0
  62. data/spec/fixtures/vcr/find_document_type.yml +45 -0
  63. data/spec/fixtures/vcr/find_domain.yml +45 -0
  64. data/spec/fixtures/vcr/find_domain_failure.yml +43 -0
  65. data/spec/fixtures/vcr/find_engine.yml +45 -0
  66. data/spec/fixtures/vcr/list_document_type.yml +45 -0
  67. data/spec/fixtures/vcr/list_documents.yml +68 -0
  68. data/spec/fixtures/vcr/list_documents_with_pagination.yml +68 -0
  69. data/spec/fixtures/vcr/list_domains.yml +45 -0
  70. data/spec/fixtures/vcr/list_engines.yml +46 -0
  71. data/spec/fixtures/vcr/list_users.yml +45 -0
  72. data/spec/fixtures/vcr/list_users_with_pagination.yml +45 -0
  73. data/spec/fixtures/vcr/log_clickthrough_failure.yml +43 -0
  74. data/spec/fixtures/vcr/log_clickthrough_success.yml +45 -0
  75. data/spec/fixtures/vcr/recrawl_domain_failure.yml +44 -0
  76. data/spec/fixtures/vcr/recrawl_domain_success.yml +45 -0
  77. data/spec/fixtures/vcr/show_user.yml +45 -0
  78. data/spec/fixtures/vcr/update_document.yml +47 -0
  79. data/spec/fixtures/vcr/update_document_unknown_field_failure.yml +45 -0
  80. data/spec/fixtures/vcr/update_documents_failure_non_existent_document.yml +45 -0
  81. data/spec/fixtures/vcr/update_documents_success.yml +45 -0
  82. data/spec/fixtures/vcr/users_client_secret_incorrect.yml +42 -0
  83. data/spec/fixtures/vcr/users_no_api_key.yml +42 -0
  84. data/spec/fixtures/vcr/users_no_client_id_or_secret.yml +43 -0
  85. data/spec/platform_spec.rb +95 -0
  86. data/spec/spec_helper.rb +26 -0
  87. data/spec/ssl_spec.rb +34 -0
  88. data/spec/sso_spec.rb +24 -0
  89. data/swiftype.gemspec +10 -11
  90. metadata +183 -52
  91. data/lib/swiftype/base_model.rb +0 -89
  92. data/lib/swiftype/connection.rb +0 -47
  93. data/lib/swiftype/document.rb +0 -17
  94. data/lib/swiftype/document_type.rb +0 -69
  95. data/lib/swiftype/easy.rb +0 -77
  96. data/lib/swiftype/engine.rb +0 -33
  97. data/lib/swiftype/search.rb +0 -23
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://hello:@localhost:3000/api/v1/engines/swiftype-api-example/document_types/videos/search.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"q":"cat","page":2}'
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Swiftype-Ruby/1.0.0
14
+ Content-Type:
15
+ - application/json
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ X-Ua-Compatible:
24
+ - IE=Edge
25
+ Etag:
26
+ - ! '"9528fba428e2b9d1022bb008a2c456fe"'
27
+ Cache-Control:
28
+ - max-age=0, private, must-revalidate
29
+ Set-Cookie:
30
+ - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTk5ZTIyZTY3NWQ1MWQyNjM4MmYyMTU5YTk0MDJjMGZmBjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--b78f791deb3c0dc6b7c708eda2acfc66dac2b2ba;
31
+ path=/; HttpOnly
32
+ X-Request-Id:
33
+ - 0dce53b3129013f5973696d8478290c5
34
+ X-Runtime:
35
+ - '0.070520'
36
+ Connection:
37
+ - close
38
+ Server:
39
+ - thin 1.5.0 codename Knife
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"records":{"videos":[]},"info":{"videos":{"query":"cat","current_page":2,"num_pages":1,"per_page":20,"total_result_count":2,"facets":{}}},"errors":{}}'
43
+ http_version:
44
+ recorded_at: Thu, 12 Sep 2013 21:30:20 GMT
45
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://hello:@localhost:3000/api/v1/engines/swiftype-api-example/document_types/videos/suggest.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"q":"goo"}'
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Swiftype-Ruby/1.0.0
14
+ Content-Type:
15
+ - application/json
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ X-Ua-Compatible:
24
+ - IE=Edge
25
+ Etag:
26
+ - ! '"607083a79aa0f63bd8b935c2403590ed"'
27
+ Cache-Control:
28
+ - max-age=0, private, must-revalidate
29
+ Set-Cookie:
30
+ - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTVmNDE4MDM5MmZkMGJjYjM1MzIzMDFiODU2ZTY0NmQzBjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--600df89d2f25ff8398120c82f79483230994a841;
31
+ path=/; HttpOnly
32
+ X-Request-Id:
33
+ - b00e75b9a8ab0709884acc92ff8003a2
34
+ X-Runtime:
35
+ - '0.209337'
36
+ Connection:
37
+ - close
38
+ Server:
39
+ - thin 1.5.0 codename Knife
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"record_count":1,"records":{"videos":[{"tags":["Glass","Google Glass","Project
43
+ Glass","Glass video","google","glassesgoogle","goggles","if i had glass","Glass
44
+ Explorer","Glass Explorers","glass vid","glass video","ok ..."],"external_id":"v1uyQZNg2vE","category_id":"28","url":"http://www.youtube.com/watch?v=v1uyQZNg2vE","channel_id":"UCK8sQmJBp8GCxrOtXWBpyEA","published_at":"2013-02-20T10:47:18Z","thumbnail_url":"https://i.ytimg.com/vi/v1uyQZNg2vE/mqdefault.jpg","title":"How
45
+ It Feels [through Glass]","duration":136,"updated_at":"2013-09-12T21:28:17Z","category_name":"Science
46
+ &amp; Technology","like_count":75952,"view_count":14599202,"id":"523231f12ed960589800002e","_score":0.6250393,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{"tags":"<em>Google</em>
47
+ Glass"},"_explanation":null}]},"info":{"videos":{"query":"goo","current_page":1,"num_pages":1,"per_page":10,"total_result_count":1}},"errors":{}}'
48
+ http_version:
49
+ recorded_at: Thu, 12 Sep 2013 21:30:20 GMT
50
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://hello:@localhost:3000/api/v1/engines/swiftype-api-example/document_types/videos/suggest.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"q":"goo","page":2}'
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Swiftype-Ruby/1.0.0
14
+ Content-Type:
15
+ - application/json
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ X-Ua-Compatible:
24
+ - IE=Edge
25
+ Etag:
26
+ - ! '"0d6dd112254e507485d54fc519daf383"'
27
+ Cache-Control:
28
+ - max-age=0, private, must-revalidate
29
+ Set-Cookie:
30
+ - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTVlMmM1ODE1ZmUwM2ZjNmZlNGVhMGJjNmMwNzRjNDE1BjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--b61980207cb5f39287c0043c7dc826fdcae252d6;
31
+ path=/; HttpOnly
32
+ X-Request-Id:
33
+ - a5116c1d36bc44ae70dbeb2549174d3c
34
+ X-Runtime:
35
+ - '0.200517'
36
+ Connection:
37
+ - close
38
+ Server:
39
+ - thin 1.5.0 codename Knife
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"record_count":0,"records":{"videos":[]},"info":{"videos":{"query":"goo","current_page":2,"num_pages":1,"per_page":10,"total_result_count":1}},"errors":{}}'
43
+ http_version:
44
+ recorded_at: Thu, 12 Sep 2013 21:30:20 GMT
45
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,64 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://hello:@localhost:3000/api/v1/engines/swiftype-api-example/search.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"q":"cat"}'
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Swiftype-Ruby/1.0.0
14
+ Content-Type:
15
+ - application/json
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ X-Ua-Compatible:
24
+ - IE=Edge
25
+ Etag:
26
+ - ! '"a456a5ea8dfad98108c0006d7487af40"'
27
+ Cache-Control:
28
+ - max-age=0, private, must-revalidate
29
+ Set-Cookie:
30
+ - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTA5YmQxYjE1YTQ2ZDkzZTM1MDZkYzJhNzA3NDg1NzFmBjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--58027e7ada6b13641007cd961c34df4ed196db48;
31
+ path=/; HttpOnly
32
+ X-Request-Id:
33
+ - ea4c09e7dbf6712aa9db1d795e577c38
34
+ X-Runtime:
35
+ - '0.220203'
36
+ Connection:
37
+ - close
38
+ Server:
39
+ - thin 1.5.0 codename Knife
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"records":{"videos":[{"external_id":"QH2-TGUlwu4","category_id":"23","caption":"For
43
+ PJ.\n\nCheck out Nyan Cat at http://nyan.cat/\nOfficial Nyan Cat Facebook:
44
+ http://www.facebook.com/NyanCatWorld\nNyan Cat on Twitter: https://twitter.com/nyannyancat\n\nNyan
45
+ Cat Store: http://nyancat.cat/store.html\n\nGIF by PRguitarman http://www.prguitarman.com/index.php?id=348\nSong
46
+ by Daniwell-P/Momone Momo UTAU http://momolabo.lolipop.jp/nyancatsong/Nyan/\n***used
47
+ with permission; I own neither***","channel_id":"UC3VHfy8e1jbDnT5TG2pjP1w","url":"http://www.youtube.com/watch?v=QH2-TGUlwu4","published_at":"2011-04-06T03:21:59Z","thumbnail_url":"https://i.ytimg.com/vi/QH2-TGUlwu4/mqdefault.jpg","title":"Nyan
48
+ Cat [original]","duration":217,"updated_at":"2013-09-12T21:28:13Z","category_name":"Comedy","like_count":711548,"view_count":93258193,"id":"523231ed2ed9605898000028","_score":1.1538672,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{"title":"Nyan
49
+ <em>Cat</em> [original]","caption":"For PJ.\n\nCheck out Nyan <em>Cat</em>
50
+ at http://nyan.<em>cat</em>/\nOfficial Nyan <em>Cat</em> Facebook: http://www.facebook.com/Nyan<em>Cat</em>World\nNyan
51
+ <em>Cat</em> on Twitter: https://twitter.com/nyannyancat\n\nNyan <em>Cat</em>
52
+ Store: http://nyancat.<em>cat</em>/store.html\n\nGIF by PRguitarman http://www.prguitarman.com/index.php?id=348\nSong
53
+ by Daniwell-P/Momone"},"_explanation":null},{"external_id":"ik5sdwYZ01Q","category_id":"15","caption":"Best
54
+ Harlem Shake Ever. No Ads.","channel_id":"UCiTvufmbsDlYeZ9JOVtiYYQ","url":"http://www.youtube.com/watch?v=ik5sdwYZ01Q","published_at":"2013-02-20T02:37:53Z","thumbnail_url":"https://i.ytimg.com/vi/FHtvDA0W34I/mqdefault.jpg","title":"Grumpy
55
+ Cat Does The Harlem Shake (Ad Free)","duration":18,"updated_at":"2013-09-12T21:28:16Z","category_name":"Pets
56
+ & Animals","like_count":1014,"view_count":125939,"id":"523231f02ed960589800002c","_score":0.86540043,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{"title":"Grumpy
57
+ <em>Cat</em> Does The Harlem Shake (Ad Free)"},"_explanation":null}],"channels":[{"external_id":"UC3VHfy8e1jbDnT5TG2pjP1w","title":"saraj00n","thumbnail_url":"http://i.ytimg.com/i/3VHfy8e1jbDnT5TG2pjP1w/mq1.jpg","updated_at":"2013-09-12T21:28:17Z","description":"Sara
58
+ Reihani/Slobs comedy. slobs.productions@gmail.com\n\nFor Nyan Cat inquiries,
59
+ contact: pr@prguitarman.com","subscriber_count":25729,"view_count":727472,"video_count":41,"url":"http://www.youtube.com/user/saraj00n","published_at":"2011-01-03T00:27:56Z","id":"51b92fa52ed960a84400025a","_score":0.8814321,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{"description":"Sara
60
+ Reihani/Slobs comedy. slobs.productions@gmail.com\n\nFor Nyan <em>Cat</em>
61
+ inquiries, contact: pr@prguitarman.com"},"_explanation":null}]},"info":{"videos":{"query":"cat","current_page":1,"num_pages":1,"per_page":20,"total_result_count":2,"facets":{}},"channels":{"query":"cat","current_page":1,"num_pages":1,"per_page":20,"total_result_count":1,"facets":{}}},"errors":{}}'
62
+ http_version:
63
+ recorded_at: Thu, 12 Sep 2013 21:30:21 GMT
64
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,162 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://hello:@localhost:3000/api/v1/engines/swiftype-api-example/search.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"q":null,"facets":{"videos":["category_id"]}}'
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Swiftype-Ruby/1.0.0
14
+ Content-Type:
15
+ - application/json
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ X-Ua-Compatible:
24
+ - IE=Edge
25
+ Etag:
26
+ - ! '"dc400de000085e97fdc8431f44f133a9"'
27
+ Cache-Control:
28
+ - max-age=0, private, must-revalidate
29
+ Set-Cookie:
30
+ - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTVkODUyZGQ4NzRkZjBiNDM5ZjE3YWQ2NjRlMTkwZTQzBjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--ef8207cbe7f92dfdb111a016c904b4e990a2bb1a;
31
+ path=/; HttpOnly
32
+ X-Request-Id:
33
+ - 9cb566ebf56f822f8bf3e0313e945d00
34
+ X-Runtime:
35
+ - '0.495633'
36
+ Connection:
37
+ - close
38
+ Server:
39
+ - thin 1.5.0 codename Knife
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"records":{"videos":[{"external_id":"foobar","title":"new document","updated_at":"2013-09-12T22:27:53Z","id":"52323fe92ed960589800003a","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"4r7wHMg5Yjg","category_id":"23","caption":"The
43
+ Crazy Nastyass Honey Badger (original narration by Randall)\n\nEnter the Honey
44
+ Badger Doll Contest for a chance to win fabulous crazyass prizes: https://www.facebook.com/randallshoneybadger/app_228910107186452
45
+ !!!\n\n*GET THE TALKING NASTYASS HONEY BADGER DOLL, STUPID: http://randallshoneybadger.com/honey-badger-products/\n\n*Get
46
+ Randall''s book now!: http://bit.ly/wW79nq ***VOTE HONEY BADGER to learn more
47
+ visit: http://bit.ly/PiuHIi \n\n*VISIT: http://bit.ly/wkrWiY *FOR THE HOT
48
+ APP\n\n\nSpecial thanks to Colleen and Keith Begg for their extensive work
49
+ and care--to find out more about the filmmakers and what they do, please visit:
50
+ http://bit.ly/JSgPWr\n\nThere is no other animal in the kingdom of all animals,
51
+ as fearless as the crazyass Honey Badger. Nasty as hell, it eats practically
52
+ whatever it wants. Randall is disgusted. To learn more about the Honey Badger,
53
+ please visit. \nwork: http://www.nationalgeographic.com/\n\nThere is no other
54
+ animal in the kingdom of all animals, as fearless as the crazyass Honey Badger. Nasty
55
+ as hell, it eats whatever it wants and don''t give a shit. \n\nGet the Talking
56
+ Nastyass Honey Badger Doll, stupid: http://randallshoneybadger.com/honey-badger-products\n\nLike
57
+ the Honey Badger on Facebook: https://www.facebook.com/randallshoneybadger\n\nFollow
58
+ me on Twitter: https://twitter.com/randallsanimals\n\nRead the Honey Badger
59
+ book now: http://tinyurl.com/afo92xv\n\nVisit http://bit.ly/wkrWiY for the
60
+ honey badger app","channel_id":"UCdYazIu26zP1VlU7vcwb-5g","url":"http://www.youtube.com/watch?v=4r7wHMg5Yjg","published_at":"2011-01-18T11:51:47Z","thumbnail_url":"https://i.ytimg.com/vi/4r7wHMg5Yjg/mqdefault.jpg","title":"The
61
+ Crazy Nastyass Honey Badger (original narration by Randall)","duration":201,"updated_at":"2013-09-12T22:42:45Z","category_name":"Comedy","like_count":265458,"view_count":57549733,"id":"523231e72ed9605898000023","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"tags":["PSY","\uc2f8\uc774","\uac15\ub0a8\uc2a4\ud0c0\uc77c","\ubba4\uc9c1\ube44\ub514\uc624","Music
62
+ Video","Gangnam Style","KOREAN SINGER","KPOP","KOERAN WAVE","PSY 6\u7532","6th
63
+ Studio Album","\uc2f8\uc7746\uc9d1","\uc721\uac11","YG Family","YG Entertainment"],"external_id":"9bZkp7q19f0","category_id":"10","caption":"PSY
64
+ - Gangnam Style (\uac15\ub0a8\uc2a4\ud0c0\uc77c) \n\u25b6 NOW available on
65
+ iTunes: http://Smarturl.it/psygangnam\n\u25b6 Official PSY Online Store US
66
+ & International : http://psy.shop.bravadousa.com/\n\u25b6 About PSY from YG
67
+ Ent.: http://smarturl.it/YGfamilyAboutPSY\n\u25b6 PSY''s Products on eBay:
68
+ http://stores.ebay.com/ygentertainment\n\u25b6 YG-eShop: http://www.ygeshop.com\n
69
+ \nFor More Information @\nhttp://www.facebook.com/officialpsy\nhttp://twitter.com/psy_oppa\nhttp://twitter.com/ygent_official\nhttp://me2day.net/psyfive\nhttp://www.psypark.com\nApp
70
+ Store: http://goo.gl/l9TU6\nGoogle Play: http://goo.gl/UiEn1\n\n\u00a9 YG
71
+ Entertainment Inc. All rights reserved.","url":"http://www.youtube.com/watch?v=9bZkp7q19f0","channel_id":"UCrDkAvwZum-UTjHmzDI2iIw","published_at":"2012-07-15T07:46:32Z","thumbnail_url":"https://i.ytimg.com/vi/9bZkp7q19f0/mqdefault.jpg","title":"PSY
72
+ - GANGNAM STYLE (\uac15\ub0a8\uc2a4\ud0c0\uc77c) M/V","duration":253,"updated_at":"2013-09-12T22:42:47Z","category_name":"Music","like_count":7095431,"view_count":1360426986,"id":"523231e82ed9605898000024","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"C8Wu3Bps9ic","category_id":"23","caption":"Swedish
73
+ Meatballs. They are good for you.\r\n\r\nLingonsylt are for Swedish nationalists.
74
+ WE DONT LIKE THAT\r\n\r\n\r\nEnjoy.\r\n\r\n\r\n( Greyish sometimes to compensate
75
+ for bad lighting, deal with it haters )\r\n\r\nLove us on Facebook http://www.facebook.com/pages/Regular-Ordinary-Swedish-Meal-Time/166173596761030
76
+ \r\nand Twitter: http://twitter.com/SwedishMealTime","channel_id":"UCfLGZs8bSDbkNJjCRIE7NSg","url":"http://www.youtube.com/watch?v=C8Wu3Bps9ic","published_at":"2011-01-13T21:48:04Z","thumbnail_url":"https://i.ytimg.com/vi/C8Wu3Bps9ic/mqdefault.jpg","title":"Meatball
77
+ Massacre - Regular Ordinary Swedish Meal Time","duration":199,"updated_at":"2013-09-12T22:42:48Z","category_name":"Comedy","like_count":30139,"view_count":5565896,"id":"523231ea2ed9605898000025","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"dFs9WO2B8uI","category_id":"25","caption":"In
78
+ this new RSA Animate, renowned psychiatrist and writer Iain McGilchrist explains
79
+ how our ''divided brain'' has profoundly altered human behaviour, culture
80
+ and society. \n\nTaken from a lecture given by Iain McGilchrist as part of
81
+ the RSA''s free public events programme. To view the full lecture, go to http://www.youtube.com/watch?v=SbUHxC4wiWk.
82
+ The RSA is a charity dedicated to driving social progress and spreading world-changing
83
+ ideas. For more information about our varied work, visit http://www.thersa.org.
84
+ \n\nLike the RSA on Facebook: http://www.facebook.com/thersaorg\nBecome a
85
+ Fellow: http://www.thersa.org/fellowship \nAttend a live event: http://www.thersa.org/events\nSupport
86
+ us: http://www.thersa.org/support-the-rsa","channel_id":"UCvhsiQGy_zcNCiSbeXEjhLg","url":"http://www.youtube.com/watch?v=dFs9WO2B8uI","published_at":"2012-07-15T07:46:32Z","thumbnail_url":"https://i.ytimg.com/vi/dFs9WO2B8uI/mqdefault.jpg","title":"RSA
87
+ Animate - The Divided Brain","duration":708,"updated_at":"2013-09-12T22:42:55Z","category_name":"News
88
+ & Politics","like_count":11993,"view_count":1118857,"id":"523231ef2ed9605898000029","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"dMH0bHeiRNg","category_id":"23","caption":"For
89
+ more visit http://www.mightaswelldance.com","channel_id":"UC5B9H4l2vtgo7cAoExcFh-w","url":"http://www.youtube.com/watch?v=dMH0bHeiRNg","published_at":"2006-04-06T21:30:53Z","thumbnail_url":"https://i.ytimg.com/vi/dMH0bHeiRNg/mqdefault.jpg","title":"Evolution
90
+ of Dance - By Judson Laipply","duration":360,"updated_at":"2013-09-12T22:42:55Z","category_name":"Comedy","like_count":927235,"view_count":210433484,"id":"523231ef2ed960589800002a","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"dWGc8JAWWj0","category_id":"2","caption":"SP
91
+ 4449 #1 most viewed train video Daylight Steam Engine with Casper Mountain
92
+ passenger car coming from Albany, Oregon going to Portland, Oregon The World''s
93
+ Most Famous Steam Train Southern Pacific steam locomotive no. 4449 known as
94
+ the \"Daylight\" Nikon L5 (If you like my videos, rate, comment and subscribe
95
+ to my channel)\nDon''t forget to SUBSCRIBE!\nErvans Trains http://www.youtube.com/user/ervans","channel_id":"UCQdo-z5pPkAjJONxsvXESXA","url":"http://www.youtube.com/watch?v=dWGc8JAWWj0","published_at":"2007-04-18T00:49:21Z","thumbnail_url":"https://i.ytimg.com/vi/dWGc8JAWWj0/mqdefault.jpg","title":"(#1
96
+ most viewed train) SP 4449 crossing at Roberts, Oregon","duration":50,"updated_at":"2013-09-12T22:42:57Z","category_name":"Autos
97
+ & Vehicles","like_count":7117,"view_count":22213068,"id":"523231f02ed960589800002b","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"FHtvDA0W34I","category_id":"28","caption":"Song:
98
+ http://smarturl.it/tafreespacedout\n\nAfter flying to an altitude of 39,045
99
+ meters (128,100 feet) in a helium-filled balloon, Felix Baumgartner completed
100
+ a record breaking jump for the ages from the edge of space, exactly 65 years
101
+ after Chuck Yeager first broke the sound barrier flying in an experimental
102
+ rocket-powered airplane. Felix reached a maximum of speed of 1,357.6 km/h
103
+ or 843.6 mph(Mach 1.25) through the near vacuum of the stratosphere before
104
+ being slowed by the atmosphere later during his 4:20 minute long freefall.
105
+ The 43-year-old Austrian skydiving expert also broke two other world records
106
+ (highest freefall, highest manned balloon flight), leaving the one for the
107
+ longest freefall to project mentor Col. Joe Kittinger.\n\nWatch the Full Recap:
108
+ http://www.youtube.com/watch?v=dOoHArAzdug\n\nhttp://www.redbullstratos.com\n___________________________________________________________\n\nExperience
109
+ the world of Red Bull like you have never seen it before. With the best action
110
+ sports clips on the web and YouTube exclusive series, prepare for your \"stoke
111
+ factor\" to be at an all time high.\n\nRed Bull on Facebook: http://win.gs/redbullfb\n\nRed
112
+ Bull on Twitter: http://win.gs/redbulltwitter\n\nSubscribe to Red Bull on
113
+ Youtube: http://www.youtube.com/subscription_center?add_user=redbull","channel_id":"UCblfuW_4rakIf2h6aqANefA","url":"http://www.youtube.com/watch?v=FHtvDA0W34I","published_at":"2012-10-15T00:06:53Z","thumbnail_url":"https://i.ytimg.com/vi/FHtvDA0W34I/mqdefault.jpg","title":"Felix
114
+ Baumgartner''s supersonic freefall from 128k'' - Mission Highlights","duration":91,"updated_at":"2013-09-12T22:42:50Z","category_name":"Science
115
+ & Technology","like_count":127463,"view_count":32874417,"id":"523231eb2ed9605898000026","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"FtX8nswnUKU","category_id":"15","caption":"http://www.facebook.com/pages/Kittens-Inspired-by-Kittens/49930012799","channel_id":"UC0c2TaeQY5VRMltq5Z2TQMA","url":"http://www.youtube.com/watch?v=FtX8nswnUKU","published_at":"2008-09-01T14:25:17Z","thumbnail_url":"https://i.ytimg.com/vi/FtX8nswnUKU/mqdefault.jpg","title":"kittens
116
+ inspired by kittens","duration":92,"updated_at":"2013-09-12T22:42:51Z","category_name":"Pets
117
+ & Animals","like_count":47388,"view_count":17228767,"id":"523231eb2ed9605898000027","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"QH2-TGUlwu4","category_id":"23","caption":"For
118
+ PJ.\n\nCheck out Nyan Cat at http://nyan.cat/\nOfficial Nyan Cat Facebook:
119
+ http://www.facebook.com/NyanCatWorld\nNyan Cat on Twitter: https://twitter.com/nyannyancat\n\nNyan
120
+ Cat Store: http://nyancat.cat/store.html\n\nGIF by PRguitarman http://www.prguitarman.com/index.php?id=348\nSong
121
+ by Daniwell-P/Momone Momo UTAU http://momolabo.lolipop.jp/nyancatsong/Nyan/\n***used
122
+ with permission; I own neither***","channel_id":"UC3VHfy8e1jbDnT5TG2pjP1w","url":"http://www.youtube.com/watch?v=QH2-TGUlwu4","published_at":"2011-04-06T03:21:59Z","thumbnail_url":"https://i.ytimg.com/vi/QH2-TGUlwu4/mqdefault.jpg","title":"Nyan
123
+ Cat [original]","duration":217,"updated_at":"2013-09-12T22:42:53Z","category_name":"Comedy","like_count":711548,"view_count":93258193,"id":"523231ed2ed9605898000028","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"tags":["Glass","Google
124
+ Glass","Project Glass","Glass video","google","glassesgoogle","goggles","if
125
+ i had glass","Glass Explorer","Glass Explorers","glass vid","glass video","ok
126
+ ..."],"external_id":"v1uyQZNg2vE","category_id":"28","caption":"Want to see
127
+ how Glass actually feels?...","url":"http://www.youtube.com/watch?v=v1uyQZNg2vE","channel_id":"UCK8sQmJBp8GCxrOtXWBpyEA","published_at":"2013-02-20T10:47:18Z","thumbnail_url":"https://i.ytimg.com/vi/v1uyQZNg2vE/mqdefault.jpg","title":"How
128
+ It Feels [through Glass]","duration":136,"updated_at":"2013-09-12T22:42:58Z","category_name":"Science
129
+ &amp; Technology","like_count":75952,"view_count":14599202,"id":"523231f12ed960589800002e","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"ik5sdwYZ01Q","category_id":"15","caption":"Best
130
+ Harlem Shake Ever. No Ads.","channel_id":"UCiTvufmbsDlYeZ9JOVtiYYQ","url":"http://www.youtube.com/watch?v=ik5sdwYZ01Q","published_at":"2013-02-20T02:37:53Z","thumbnail_url":"https://i.ytimg.com/vi/FHtvDA0W34I/mqdefault.jpg","title":"Grumpy
131
+ Cat Does The Harlem Shake (Ad Free)","duration":18,"updated_at":"2013-09-12T22:42:57Z","category_name":"Pets
132
+ & Animals","like_count":1014,"view_count":125939,"id":"523231f02ed960589800002c","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"pITuOcGgpBs","category_id":"22","caption":"","channel_id":"UCPrFOf5ObdBHfNs5BuO-vPQ","url":"http://www.youtube.com/watch?v=pITuOcGgpBs","published_at":"2012-05-08T09:03:17Z","thumbnail_url":"https://i.ytimg.com/vi/pITuOcGgpBs/mqdefault.jpg","title":"Swiftype
133
+ Demo","duration":110,"updated_at":"2013-09-12T22:42:57Z","category_name":"People
134
+ & Blogs","like_count":27,"view_count":12865,"id":"523231f02ed960589800002d","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"INscMGmhmX4","title":"hi","thumbnail_url":"https://i.ytimg.com/vi/INscMGmhmX4/mqdefault.jpg","updated_at":"2013-09-12T22:57:05Z","category_name":"Pets
135
+ &amp; Animals","url":"http://www.youtube.com/watch?v=v1uyQZNg2vE","channel_id":"UCTzVrd9ExsI3Zgnlh3_btLg","id":"5232410d2ed960589800003c","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"XfY9Dsg_DZk","title":"bye","thumbnail_url":"https://i.ytimg.com/vi/XfY9Dsg_DZk/mqdefault.jpg","updated_at":"2013-09-12T22:57:05Z","category_name":"Pets
136
+ &amp; Animals","url":"http://www.youtube.com/watch?v=XfY9Dsg_DZk","channel_id":"UC5VA5j05FjETg-iLekcyiBw","id":"5232410d2ed960589800003d","_score":1.0,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null}],"channels":[{"external_id":"UC0c2TaeQY5VRMltq5Z2TQMA","title":"blakekelly0","thumbnail_url":"http://i.ytimg.com/i/0c2TaeQY5VRMltq5Z2TQMA/mq1.jpg","updated_at":"2013-09-12T22:42:58Z","description":"my
137
+ kids are awesome","subscriber_count":3371,"view_count":381741,"video_count":26,"url":"http://www.youtube.com/user/redbull","published_at":"2007-12-21T13:03:48Z","id":"51b92fa52ed960a844000259","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UC3VHfy8e1jbDnT5TG2pjP1w","title":"saraj00n","thumbnail_url":"http://i.ytimg.com/i/3VHfy8e1jbDnT5TG2pjP1w/mq1.jpg","updated_at":"2013-09-12T22:42:58Z","description":"Sara
138
+ Reihani/Slobs comedy. slobs.productions@gmail.com\n\nFor Nyan Cat inquiries,
139
+ contact: pr@prguitarman.com","subscriber_count":25729,"view_count":727472,"video_count":41,"url":"http://www.youtube.com/user/saraj00n","published_at":"2011-01-03T00:27:56Z","id":"51b92fa52ed960a84400025a","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCQdo-z5pPkAjJONxsvXESXA","title":"ervans","thumbnail_url":"http://i.ytimg.com/i/Qdo-z5pPkAjJONxsvXESXA/mq1.jpg","updated_at":"2013-09-12T22:42:59Z","description":"All
140
+ of my Videos are original short films I recorded, most are train videos. Very
141
+ little editing. If you like my videos. (Rate, Comment and Subscribe).","subscriber_count":41464,"view_count":1787374,"video_count":191,"url":"http://www.youtube.com/user/ervans","published_at":"2006-04-26T18:08:07Z","id":"51b92fa62ed960a84400025e","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCblfuW_4rakIf2h6aqANefA","title":"redbull","thumbnail_url":"http://i.ytimg.com/i/blfuW_4rakIf2h6aqANefA/mq1.jpg","updated_at":"2013-09-12T22:42:59Z","description":"Experience
142
+ the world of Red Bull like you have never seen it before. With the best action
143
+ sports clips on the web and YouTube exclusive series, prepare for your \"stoke
144
+ factor\" to be at an all time high.","subscriber_count":133455,"view_count":2211991,"video_count":201,"url":"http://www.youtube.com/user/redbull","published_at":"2006-09-23T03:44:21Z","id":"51b92fa62ed960a84400025f","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCdYazIu26zP1VlU7vcwb-5g","title":"czg123","thumbnail_url":"http://i.ytimg.com/i/dYazIu26zP1VlU7vcwb-5g/mq1.jpg","updated_at":"2013-09-12T22:42:59Z","description":"Welcome
145
+ to Randall''s Honey Badger Channel!\r\n\r\nSubscribe now for even more of
146
+ the Honey Badger''s Crazy Nastyass Animal videos, stupid!\r\n\r\nFor inquiries,
147
+ contact ThruLine Entertainment: danny@thrulinela.com","subscriber_count":133455,"view_count":2211991,"video_count":201,"url":"http://www.youtube.com/user/czg123","published_at":"2011-01-06T20:20:03Z","id":"51b92fa62ed960a844000260","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UC5B9H4l2vtgo7cAoExcFh-w","title":"judsonlaipply","thumbnail_url":"http://i.ytimg.com/i/5B9H4l2vtgo7cAoExcFh-w/mq1.jpg","updated_at":"2013-09-12T22:42:59Z","description":"The
148
+ Evolution of Dance is one of the most watched videos of all time on YouTube.
149
+ \n\nJudson Laipply, creator and performer of The Evolution of Dance, is an
150
+ inspirational comedian, author and professional speaker who makes people laugh
151
+ and think.\n\nLearn more at http://www.MightasWellDance.com","subscriber_count":64227,"view_count":3181464,"video_count":5,"url":"http://www.youtube.com/user/judsonlaipply","published_at":"2006-03-23T15:20:45Z","id":"51b92fa52ed960a84400025b","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCK8sQmJBp8GCxrOtXWBpyEA","title":"Google","thumbnail_url":"https://lh4.googleusercontent.com/-v0soe-ievYE/AAAAAAAAAAI/AAAAAAAAAAA/OixOH_h84Po/s88-c-k/photo.jpg","updated_at":"2013-09-12T22:42:59Z","description":"Google''s
152
+ official YouTube channel.","subscriber_count":1270202,"view_count":33428669,"video_count":1546,"url":"http://www.youtube.com/user/Google","published_at":"2005-09-18T22:37:10Z","id":"51b92fa62ed960a84400025c","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCPrFOf5ObdBHfNs5BuO-vPQ","title":"swiftype","thumbnail_url":"http://i.ytimg.com/i/PrFOf5ObdBHfNs5BuO-vPQ/mq1.jpg","updated_at":"2013-09-12T22:42:59Z","description":"","subscriber_count":5,"view_count":309,"video_count":6,"url":"http://www.youtube.com/user/swiftype","published_at":"2011-11-26T00:17:40Z","id":"51b92fa62ed960a84400025d","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCfLGZs8bSDbkNJjCRIE7NSg","title":"SwedishMealTime","thumbnail_url":"http://i.ytimg.com/i/fLGZs8bSDbkNJjCRIE7NSg/mq1.jpg","updated_at":"2013-09-12T22:42:59Z","description":"For
153
+ Mayo in time.","subscriber_count":455337,"view_count":6328566,"video_count":36,"url":"http://www.youtube.com/user/SwedishMealTime","published_at":"2011-01-06T20:20:03Z","id":"51b92fa72ed960a844000261","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCiTvufmbsDlYeZ9JOVtiYYQ","title":"Joel
154
+ Zimmerebner","thumbnail_url":"http://i.ytimg.com/i/blfuW_4rakIf2h6aqANefA/mq1.jpg","updated_at":"2013-09-12T22:42:59Z","description":"","subscriber_count":124,"view_count":350,"video_count":3,"url":"http://www.youtube.com/user/DwnWthVwls","published_at":"2006-10-20T04:21:40Z","id":"51b92fa72ed960a844000262","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCrDkAvwZum-UTjHmzDI2iIw","title":"officialpsy","thumbnail_url":"http://i.ytimg.com/i/rDkAvwZum-UTjHmzDI2iIw/mq1.jpg","updated_at":"2013-09-12T22:42:59Z","description":"PSY
155
+ Official YouTube Channel","subscriber_count":3060443,"view_count":35989504,"video_count":47,"url":"http://www.youtube.com/user/officialpsy","published_at":"2010-10-04T02:50:53Z","id":"51b92fa72ed960a844000263","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null},{"external_id":"UCvhsiQGy_zcNCiSbeXEjhLg","title":"theRSAorg","thumbnail_url":"http://i.ytimg.com/i/vhsiQGy_zcNCiSbeXEjhLg/mq1.jpg","updated_at":"2013-09-12T22:43:01Z","description":"The
156
+ RSA: meeting 21st century challenges by showcasing ideas, undertaking innovative
157
+ research and building civic capacity around the world.\r\n \r\nTo learn more
158
+ about the RSA, visit: thersa.org\r\n\r\nOur events are made possible with
159
+ the support of our Fellowship. Support us by donating or applying to bec","subscriber_count":243017,"view_count":2434953,"video_count":557,"url":"http://www.youtube.com/user/theRSAorg","published_at":"2009-08-06T10:21:23Z","id":"51b92fa92ed960a844000264","_score":1.0,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{},"_explanation":null}]},"info":{"videos":{"query":"","current_page":1,"num_pages":1,"per_page":20,"total_result_count":15,"facets":{"category_id":{"23":4,"28":2,"15":2,"25":1,"22":1,"2":1,"10":1}}},"channels":{"query":"","current_page":1,"num_pages":1,"per_page":20,"total_result_count":12,"facets":{}}},"errors":{}}'
160
+ http_version:
161
+ recorded_at: Fri, 13 Sep 2013 23:30:14 GMT
162
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://hello:@localhost:3000/api/v1/engines/swiftype-api-example/search.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"q":"cat","page":2}'
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Swiftype-Ruby/1.0.0
14
+ Content-Type:
15
+ - application/json
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ X-Ua-Compatible:
24
+ - IE=Edge
25
+ Etag:
26
+ - ! '"b812398f012ce5e89b43bdc9463d5d22"'
27
+ Cache-Control:
28
+ - max-age=0, private, must-revalidate
29
+ Set-Cookie:
30
+ - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWI0MmIwZDE1Yjk4NzBmMDQxZjc2Nzg4ZGZkMmIxMWJmBjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--66bff87ad0a7a13a5e8b9349a27325d99a76c475;
31
+ path=/; HttpOnly
32
+ X-Request-Id:
33
+ - 2342cdc2f23a5433ff1d7d0efbaad487
34
+ X-Runtime:
35
+ - '0.190687'
36
+ Connection:
37
+ - close
38
+ Server:
39
+ - thin 1.5.0 codename Knife
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"records":{"videos":[],"channels":[]},"info":{"videos":{"query":"cat","current_page":2,"num_pages":1,"per_page":20,"total_result_count":2,"facets":{}},"channels":{"query":"cat","current_page":2,"num_pages":1,"per_page":20,"total_result_count":1,"facets":{}}},"errors":{}}'
43
+ http_version:
44
+ recorded_at: Thu, 12 Sep 2013 21:30:20 GMT
45
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://hello:@localhost:3000/api/v1/engines/swiftype-api-example/suggest.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"q":"goo"}'
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ User-Agent:
13
+ - Swiftype-Ruby/1.0.0
14
+ Content-Type:
15
+ - application/json
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ X-Ua-Compatible:
24
+ - IE=Edge
25
+ Etag:
26
+ - ! '"2b5f9a0b62726b11d58fbf575b2bd091"'
27
+ Cache-Control:
28
+ - max-age=0, private, must-revalidate
29
+ Set-Cookie:
30
+ - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTk3OTA4YmM3OTZkYzY3ZGM0NjEyNzAzNDAwZDBhZjI0BjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--aafd35e3a59275e90d09834629db34abb630a0c0;
31
+ path=/; HttpOnly
32
+ X-Request-Id:
33
+ - 379ce36a1ff3192e2922fba8a45267b1
34
+ X-Runtime:
35
+ - '0.079746'
36
+ Connection:
37
+ - close
38
+ Server:
39
+ - thin 1.5.0 codename Knife
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"record_count":2,"records":{"videos":[{"tags":["Glass","Google Glass","Project
43
+ Glass","Glass video","google","glassesgoogle","goggles","if i had glass","Glass
44
+ Explorer","Glass Explorers","glass vid","glass video","ok ..."],"external_id":"v1uyQZNg2vE","category_id":"28","url":"http://www.youtube.com/watch?v=v1uyQZNg2vE","channel_id":"UCK8sQmJBp8GCxrOtXWBpyEA","published_at":"2013-02-20T10:47:18Z","thumbnail_url":"https://i.ytimg.com/vi/v1uyQZNg2vE/mqdefault.jpg","title":"How
45
+ It Feels [through Glass]","duration":136,"updated_at":"2013-09-12T21:28:17Z","category_name":"Science
46
+ &amp; Technology","like_count":75952,"view_count":14599202,"id":"523231f12ed960589800002e","_score":0.6250393,"_type":"523231e62ed9605898000020","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{"tags":"<em>Google</em>
47
+ Glass"},"_explanation":null}],"channels":[{"external_id":"UCK8sQmJBp8GCxrOtXWBpyEA","title":"Google","thumbnail_url":"https://lh4.googleusercontent.com/-v0soe-ievYE/AAAAAAAAAAI/AAAAAAAAAAA/OixOH_h84Po/s88-c-k/photo.jpg","updated_at":"2013-09-12T21:28:17Z","description":"Google''s
48
+ official YouTube channel.","subscriber_count":1270202,"view_count":33428669,"video_count":1546,"url":"http://www.youtube.com/user/Google","published_at":"2005-09-18T22:37:10Z","id":"51b92fa62ed960a84400025c","_score":2.3571708,"_type":"51b92f992ed960a84400024b","_index":"51b92f982ed960a844000248","_version":null,"sort":null,"highlight":{"title":"<em>Google</em>","description":"<em>Google''s</em>
49
+ official YouTube channel."},"_explanation":null}]},"info":{"videos":{"query":"goo","current_page":1,"num_pages":1,"per_page":10,"total_result_count":1},"channels":{"query":"goo","current_page":1,"num_pages":1,"per_page":10,"total_result_count":1}},"errors":{}}'
50
+ http_version:
51
+ recorded_at: Thu, 12 Sep 2013 21:30:21 GMT
52
+ recorded_with: VCR 2.5.0