active_public_resources 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/.rspec +1 -0
  4. data/.travis.yml +3 -0
  5. data/Gemfile +24 -0
  6. data/Guardfile +9 -0
  7. data/LICENSE.txt +18 -0
  8. data/README.md +326 -0
  9. data/Rakefile +7 -0
  10. data/active_public_resources.gemspec +27 -0
  11. data/active_public_resources_config.yml.example +10 -0
  12. data/lib/active_public_resources/base_response_type.rb +11 -0
  13. data/lib/active_public_resources/base_return_type.rb +17 -0
  14. data/lib/active_public_resources/client.rb +22 -0
  15. data/lib/active_public_resources/driver.rb +21 -0
  16. data/lib/active_public_resources/driver_response.rb +15 -0
  17. data/lib/active_public_resources/drivers/khan_academy.rb +143 -0
  18. data/lib/active_public_resources/drivers/quizlet.rb +92 -0
  19. data/lib/active_public_resources/drivers/schooltube.rb +99 -0
  20. data/lib/active_public_resources/drivers/vimeo.rb +181 -0
  21. data/lib/active_public_resources/drivers/youtube.rb +113 -0
  22. data/lib/active_public_resources/request_criteria.rb +51 -0
  23. data/lib/active_public_resources/response_types/exercise.rb +11 -0
  24. data/lib/active_public_resources/response_types/folder.rb +18 -0
  25. data/lib/active_public_resources/response_types/image.rb +11 -0
  26. data/lib/active_public_resources/response_types/quiz.rb +11 -0
  27. data/lib/active_public_resources/response_types/video.rb +12 -0
  28. data/lib/active_public_resources/return_types/file.rb +11 -0
  29. data/lib/active_public_resources/return_types/iframe.rb +11 -0
  30. data/lib/active_public_resources/return_types/image_url.rb +11 -0
  31. data/lib/active_public_resources/return_types/oembed.rb +11 -0
  32. data/lib/active_public_resources/return_types/url.rb +11 -0
  33. data/lib/active_public_resources/version.rb +3 -0
  34. data/lib/active_public_resources.rb +55 -0
  35. data/spec/lib/active_public_resources/client_spec.rb +75 -0
  36. data/spec/lib/active_public_resources/driver_spec.rb +48 -0
  37. data/spec/lib/active_public_resources/drivers/khan_academy_spec.rb +106 -0
  38. data/spec/lib/active_public_resources/drivers/quizlet_spec.rb +50 -0
  39. data/spec/lib/active_public_resources/drivers/schooltube_spec.rb +50 -0
  40. data/spec/lib/active_public_resources/drivers/vimeo_spec.rb +71 -0
  41. data/spec/lib/active_public_resources/drivers/youtube_spec.rb +52 -0
  42. data/spec/lib/active_public_resources/live_client_spec.rb +91 -0
  43. data/spec/lib/active_public_resources/request_criteria_spec.rb +53 -0
  44. data/spec/spec_helper.rb +46 -0
  45. data/spec/vcr/active_public_resources/client/khan_academy_should_traverse_folders.yml +1039 -0
  46. data/spec/vcr/active_public_resources/client/quizlet_should_perform_request.yml +70 -0
  47. data/spec/vcr/active_public_resources/client/shooltube_should_perform_request.yml +815 -0
  48. data/spec/vcr/active_public_resources/client/vimeo_should_perform_request.yml +70 -0
  49. data/spec/vcr/active_public_resources/client/youtube_should_perform_request.yml +212 -0
  50. data/spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_cs/programming.yml +117 -0
  51. data/spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_cs.yml +72 -0
  52. data/spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_science/mcat/society_and_culture/social_structures.yml +578 -0
  53. data/spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_root_folders.yml +122 -0
  54. data/spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_cs/programming.yml +120 -0
  55. data/spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_cs.yml +73 -0
  56. data/spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_science/mcat/society_and_culture/social_structures.yml +577 -0
  57. data/spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_root_folders.yml +119 -0
  58. data/spec/vcr/active_public_resources/drivers/quizlet_driver_perform_request/should_perform_request.yml +75 -0
  59. data/spec/vcr/active_public_resources/drivers/quizlet_perform_request/should_perform_request.yml +72 -0
  60. data/spec/vcr/active_public_resources/drivers/schooltube_driver_perform_request/should_perform_request.yml +815 -0
  61. data/spec/vcr/active_public_resources/drivers/schooltube_perform_request/should_perform_request.yml +810 -0
  62. data/spec/vcr/active_public_resources/drivers/vimeo_driver_perform_request/should_perform_request.yml +279 -0
  63. data/spec/vcr/active_public_resources/drivers/vimeo_perform_request/should_perform_request.yml +70 -0
  64. data/spec/vcr/active_public_resources/drivers/youtube_driver_perform_request/should_perform_request.yml +212 -0
  65. data/spec/vcr/active_public_resources/drivers/youtube_perform_request/should_perform_request.yml +209 -0
  66. metadata +182 -0
@@ -0,0 +1,119 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.khanacademy.org/api/v1/topic/root
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - www.khanacademy.org
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Access-Control-Allow-Origin:
26
+ - '*'
27
+ Access-Control-Allow-Credentials:
28
+ - 'true'
29
+ X-Ka-Api-Response:
30
+ - 'true'
31
+ Cache-Control:
32
+ - no-cache
33
+ Set-Cookie:
34
+ - gae_b_id=X2dhZV9iaW5nb19yYW5kb206N1ZJQmFkc3VXeW44UXVVRU04SkxHcm9HOHBLUmJrZk5LQ250UWNiaQ==;
35
+ expires=Tue, 02 Dec 2014 20:22:13 GMT; Max-Age=31536000; Path=/
36
+ Vary:
37
+ - Accept-Encoding
38
+ Date:
39
+ - Mon, 02 Dec 2013 20:22:13 GMT
40
+ Server:
41
+ - Google Frontend
42
+ Expires:
43
+ - Mon, 02 Dec 2013 20:22:13 GMT
44
+ Transfer-Encoding:
45
+ - chunked
46
+ body:
47
+ encoding: UTF-8
48
+ string: '{"icon_src": "", "domain_slug": null, "relative_url": null, "web_url":
49
+ "", "ka_url": "http://www.khanacademy.orgNone", "translated_standalone_title":
50
+ "Khan Academy", "translated_title": "Khan Academy", "gplus_url": "", "id":
51
+ "x00000000", "old_key_name": "7SATIJAdRLq1gMbKcjtTmLAbeMSrfYZjJOnqUmQu", "hide":
52
+ true, "title": "Khan Academy", "child_data": [{"kind": "Topic", "id": "x29232c6b"},
53
+ {"kind": "Topic", "id": "x7a488390"}, {"kind": "Topic", "id": "xb92336a2"},
54
+ {"kind": "Topic", "id": "x5ca94af1"}, {"kind": "Topic", "id": "x905db83d"},
55
+ {"kind": "Topic", "id": "x54390c7e"}, {"kind": "Topic", "id": "xffde7c31"},
56
+ {"kind": "Topic", "id": "xd1039e22"}, {"kind": "Topic", "id": "x6a4a5e33"},
57
+ {"kind": "Topic", "id": "xf48da0d3"}, {"kind": "Topic", "id": "xcc477d6b"},
58
+ {"kind": "Topic", "id": "xfbfcb2c7"}, {"kind": "Topic", "id": "x68f6d0db"},
59
+ {"kind": "Topic", "id": "x54f76d4b"}], "children": [{"kind": "Topic", "hide":
60
+ false, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXgyOTIzMmM2Ygw", "internal_id":
61
+ "x29232c6b", "title": "New and noteworthy", "url": "http://www.khanacademy.org/new-and-noteworthy",
62
+ "translated_title": "New and noteworthy", "node_slug": "new-and-noteworthy",
63
+ "id": "new-and-noteworthy", "edit_slug": ""}, {"kind": "Topic", "hide": false,
64
+ "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg3YTQ4ODM5MAw", "internal_id":
65
+ "x7a488390", "title": "Math", "url": "http://www.khanacademy.orgNone", "translated_title":
66
+ "Math", "node_slug": "math", "id": "math", "edit_slug": ""}, {"kind": "Topic",
67
+ "hide": false, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXhiOTIzMzZhMgw",
68
+ "internal_id": "xb92336a2", "title": "Science ", "url": "http://www.khanacademy.orgNone",
69
+ "translated_title": "Science ", "node_slug": "science", "id": "science", "edit_slug":
70
+ ""}, {"kind": "Topic", "hide": false, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg1Y2E5NGFmMQw",
71
+ "internal_id": "x5ca94af1", "title": "Economics and finance", "url": "http://www.khanacademy.orgNone",
72
+ "translated_title": "Economics and finance", "node_slug": "economics-finance-domain",
73
+ "id": "economics-finance-domain", "edit_slug": ""}, {"kind": "Topic", "hide":
74
+ false, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg5MDVkYjgzZAw", "internal_id":
75
+ "x905db83d", "title": "Humanities", "url": "http://www.khanacademy.orgNone",
76
+ "translated_title": "Humanities", "node_slug": "humanities", "id": "humanities",
77
+ "edit_slug": ""}, {"kind": "Topic", "hide": false, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg1NDM5MGM3ZQw",
78
+ "internal_id": "x54390c7e", "title": "Partner content", "url": "http://www.khanacademy.orgNone",
79
+ "translated_title": "Partner content", "node_slug": "partner-content", "id":
80
+ "partner-content", "edit_slug": ""}, {"kind": "Topic", "hide": false, "key":
81
+ "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXhmZmRlN2MzMQw", "internal_id": "xffde7c31",
82
+ "title": "Computer programming", "url": "http://www.khanacademy.org/cs", "translated_title":
83
+ "Computer programming", "node_slug": "cs", "id": "cs", "edit_slug": ""}, {"kind":
84
+ "Topic", "hide": false, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXhkMTAzOWUyMgw",
85
+ "internal_id": "xd1039e22", "title": "Talks and interviews", "url": "http://www.khanacademy.org/talks-and-interviews",
86
+ "translated_title": "Talks and interviews", "node_slug": "talks-and-interviews",
87
+ "id": "talks-and-interviews", "edit_slug": ""}, {"kind": "Topic", "hide":
88
+ false, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg2YTRhNWUzMww", "internal_id":
89
+ "x6a4a5e33", "title": "Coach resources", "url": "http://www.khanacademy.org/coach-res",
90
+ "translated_title": "Coach resources", "node_slug": "coach-res", "id": "coach-res",
91
+ "edit_slug": ""}, {"kind": "Topic", "hide": true, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXhmNDhkYTBkMww",
92
+ "internal_id": "xf48da0d3", "title": "Removed videos (hidden)", "url": "http://www.khanacademy.orgNone",
93
+ "translated_title": "Removed videos (hidden)", "node_slug": "removed-videos",
94
+ "id": "removed-videos", "edit_slug": ""}, {"kind": "Topic", "hide": true,
95
+ "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXhjYzQ3N2Q2Ygw", "internal_id":
96
+ "xcc477d6b", "title": "Uncategorized exercises", "url": "http://www.khanacademy.org/None",
97
+ "translated_title": "Uncategorized exercises", "node_slug": "uncategorized-exercises",
98
+ "id": "uncategorized-exercises", "edit_slug": ""}, {"kind": "Topic", "hide":
99
+ true, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXhmYmZjYjJjNww", "internal_id":
100
+ "xfbfcb2c7", "title": "Private content", "url": "http://www.khanacademy.org/None",
101
+ "translated_title": "Private content", "node_slug": "private", "id": "private",
102
+ "edit_slug": ""}, {"kind": "Topic", "hide": true, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg2OGY2ZDBkYgw",
103
+ "internal_id": "x68f6d0db", "title": "Common Core math", "url": "http://www.khanacademy.orgNone",
104
+ "translated_title": "Common Core math", "node_slug": "common-core", "id":
105
+ "common-core", "edit_slug": ""}, {"kind": "Topic", "hide": false, "key": "ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg1NGY3NmQ0Ygw",
106
+ "internal_id": "x54f76d4b", "title": "Hour of Code", "url": "http://www.khanacademy.org/hour-of-code",
107
+ "translated_title": "Hour of Code", "node_slug": "hour-of-code", "id": "hour-of-code",
108
+ "edit_slug": ""}], "twitter_url": "", "translated_description": "", "deleted_mod_time":
109
+ "2013-07-13T00:03:08Z", "logo_image_url": "", "in_knowledge_map": false, "description":
110
+ "", "x_pos": 0.0, "node_slug": "root", "deleted": false, "facebook_url": "",
111
+ "backup_timestamp": "2013-09-30T18:25:08Z", "render_type": "Root", "background_image_url":
112
+ "", "background_image_caption": "", "assessment_progress_key": "ax00000000",
113
+ "topic_page_url": null, "extended_slug": null, "slug": "root", "tags": [],
114
+ "kind": "Topic", "in_topic_browser": true, "sha": "cd292393092733892a8b6d924ce40d9c7e86e35a",
115
+ "standalone_title": "Khan Academy", "y_pos": 0.0, "current_revision_key":
116
+ "cd292393092733892a8b6d924ce40d9c7e86e35a", "content_kind": "Topic"}'
117
+ http_version:
118
+ recorded_at: Mon, 02 Dec 2013 20:22:13 GMT
119
+ recorded_with: VCR 2.7.0
@@ -0,0 +1,75 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.quizlet.com/2.0/search/sets?client_id=QUIZLET_CLIENT_ID&page=1&per_page=25&q=dogs
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.quizlet.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: Ok
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Fri, 22 Nov 2013 19:51:49 GMT
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '1829'
31
+ Connection:
32
+ - keep-alive
33
+ Set-Cookie:
34
+ - fs=mwokid; expires=Mon, 20-Nov-2023 19:51:49 GMT; path=/
35
+ - new=1; path=/
36
+ - qi2=aGqLksNbBRdgzm-AX9OOarFDW2RuVLOHUuKjZVU1c7Y; expires=Mon, 20-Nov-2023
37
+ 19:51:49 GMT; path=/; domain=.quizlet.com; httponly
38
+ - setpage-welcomed=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
39
+ Cache-Control:
40
+ - no-cache, must-revalidate
41
+ Expires:
42
+ - Mon, 26 Jul 1997 05:00:00 GMT
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ Vary:
46
+ - Accept-Encoding
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"total_results":5001,"total_pages":201,"page":1,"image_set_count":12,"sets":[{"id":23752218,"url":"http://quizlet.com/23752218/dogs-flash-cards/","title":"Dogs","created_by":"randomsolider23","term_count":12,"created_date":1369449049,"modified_date":1371274979,"has_images":false,"subjects":["Dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"DOGS,
50
+ DOGS, DOGS!!!!!!!!","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":9833328,"url":"http://quizlet.com/9833328/dogs-flash-cards/","title":"dogs","created_by":"shuzoo","term_count":5,"created_date":1328725470,"modified_date":1328725470,"has_images":false,"subjects":["dogs
51
+ and puppys"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs
52
+ old dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":30332159,"url":"http://quizlet.com/30332159/dogs-flash-cards/","title":"Dogs","created_by":"PenguinAttack236","term_count":10,"created_date":1384272724,"modified_date":1384294409,"has_images":true,"subjects":["Types
53
+ of dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs
54
+ in a human world, man''s bestfriend and also and pillow for when you need
55
+ one.If you get lonly, throw a ball and watch a dog chew it up and you get
56
+ mad and you throw a sticka nd laugh when it eats it whole!!","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":20089637,"url":"http://quizlet.com/20089637/dogs-flash-cards/","title":"dogs","created_by":"haileyboal22","term_count":6,"created_date":1361491597,"modified_date":1361491597,"has_images":false,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs
57
+ dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":3317786,"url":"http://quizlet.com/3317786/dogs-flash-cards/","title":"Dogs","created_by":"flamingo202","term_count":11,"created_date":1288908377,"modified_date":1288908377,"has_images":true,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs,
58
+ dogs, dogs!","lang_terms":"en","lang_definitions":"photo","has_discussion":true},{"id":30349921,"url":"http://quizlet.com/30349921/dogs-flash-cards/","title":"Dogs","created_by":"king-jordans","term_count":11,"created_date":1384283460,"modified_date":1384283460,"has_images":true,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs,
59
+ dogs, dogs!","lang_terms":"en","lang_definitions":"photo","has_discussion":true},{"id":1151280,"url":"http://quizlet.com/1151280/dogs-flash-cards/","title":"dogs","created_by":"Pujolsfan93","term_count":7,"created_date":1253210865,"modified_date":1253210865,"has_images":false,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":9094064,"url":"http://quizlet.com/9094064/dog-flash-cards/","title":"dog","created_by":"jamosullivan","term_count":2,"created_date":1326282087,"modified_date":1326283556,"has_images":false,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"dog\ndog","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":8358260,"url":"http://quizlet.com/8358260/dogs-flash-cards/","title":"Dogs","created_by":"sasha6213","term_count":4,"created_date":1322864942,"modified_date":1322924799,"has_images":false,"subjects":["Dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"About
60
+ some dog breeds","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":24475253,"url":"http://quizlet.com/24475253/dogs-flash-cards/","title":"dogs","created_by":"didi101","term_count":10,"created_date":1372423681,"modified_date":1372423681,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"I
61
+ love dogs because they are cute","lang_terms":"en","lang_definitions":"photo","has_discussion":true},{"id":11347518,"url":"http://quizlet.com/11347518/dog-flash-cards/","title":"dog","created_by":"smazyfun","term_count":2,"created_date":1334328742,"modified_date":1334328742,"has_images":false,"subjects":["dog"],"visibility":"public","editable":"only_me","has_access":true,"description":"dog","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":4174613,"url":"http://quizlet.com/4174613/dogs-flash-cards/","title":"Dogs","created_by":"ilovetrissy","term_count":4,"created_date":1296011551,"modified_date":1296011608,"has_images":true,"subjects":["dog
62
+ breeds"],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs
63
+ of all sizes and looks.","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":28306999,"url":"http://quizlet.com/28306999/dogs-flash-cards/","title":"dogs","created_by":"lovedaddymommy","term_count":10,"created_date":1381788208,"modified_date":1383128762,"has_images":false,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"this
64
+ set is about dogs and what to buy them and what kind of dogs.","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":2934769,"url":"http://quizlet.com/2934769/dogs-flash-cards/","title":"dogs","created_by":"pmckenney","term_count":20,"created_date":1286074529,"modified_date":1292689148,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"classes","has_access":true,"description":"dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":167805,"url":"http://quizlet.com/167805/dogs-flash-cards/","title":"dogs","created_by":"samantha93","term_count":9,"created_date":1201642733,"modified_date":1201642733,"has_images":false,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"i
65
+ love dogs\r\ndogs rule \r\ncats drool","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":18200431,"url":"http://quizlet.com/18200431/dogs-flash-cards/","title":"dogs","created_by":"bagolem","term_count":2,"created_date":1357704890,"modified_date":1357704890,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":17907542,"url":"http://quizlet.com/17907542/dogs-flash-cards/","title":"DOGS","created_by":"J3lackEagle","term_count":2,"created_date":1356022360,"modified_date":1356022360,"has_images":false,"subjects":["DOGS"],"visibility":"public","editable":"only_me","has_access":true,"description":"DOGS","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":705302,"url":"http://quizlet.com/705302/dog-flash-cards/","title":"Dog","created_by":"PatrickDawson","term_count":2,"created_date":1233753329,"modified_date":1233753329,"has_images":false,"subjects":["Dog"],"visibility":"public","editable":"only_me","has_access":true,"description":"Dog","lang_terms":"??","lang_definitions":"??","has_discussion":true},{"id":27811602,"url":"http://quizlet.com/27811602/dogs-flash-cards/","title":"Dogs","created_by":"salewcrew318","term_count":2,"created_date":1381174760,"modified_date":1381174760,"has_images":true,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"Who
66
+ is better ,Dogs or Cats? \nI think Dogs.\nExplain your arguement.","lang_terms":"en","lang_definitions":"photo","has_discussion":true},{"id":12326429,"url":"http://quizlet.com/12326429/dogs-flash-cards/","title":"dogs","created_by":"wallbrown","term_count":5,"created_date":1337811613,"modified_date":1358455292,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"tell
67
+ u about dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":26410689,"url":"http://quizlet.com/26410689/dogs-flash-cards/","title":"Dogs","created_by":"LOL774","term_count":3,"created_date":1379454423,"modified_date":1379454423,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs
68
+ are furry,cute,cuddly,and last but not least,just plane old FUN!!!Whats not
69
+ to love?!","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":2344423,"url":"http://quizlet.com/2344423/dogs-flash-cards/","title":"Dogs","created_by":"hollywolly25","term_count":6,"created_date":1274364756,"modified_date":1274364756,"has_images":false,"subjects":["Dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"This
70
+ test is to test you on dogs and help you learn more about them.","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":14320691,"url":"http://quizlet.com/14320691/dogs-flash-cards/","title":"Dogs","created_by":"MCAP13","term_count":10,"created_date":1348615454,"modified_date":1348616053,"has_images":true,"subjects":["Dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"Try
71
+ to match the correct dog picture with its name!","lang_terms":"en","lang_definitions":"photo","has_discussion":false},{"id":5817839,"url":"http://quizlet.com/5817839/dog-flash-cards/","title":"dog","created_by":"grebman","term_count":2,"created_date":1307407956,"modified_date":1307407956,"has_images":false,"subjects":["dog"],"visibility":"public","editable":"only_me","has_access":true,"description":"dog","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":1318248,"url":"http://quizlet.com/1318248/dogs-flash-cards/","title":"dogs","created_by":"ashleyfan6656","term_count":10,"created_date":1256246610,"modified_date":1256246610,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"see
72
+ if you can guess this dog","lang_terms":"??","lang_definitions":"??","has_discussion":true}]}'
73
+ http_version:
74
+ recorded_at: Fri, 22 Nov 2013 19:51:49 GMT
75
+ recorded_with: VCR 2.6.0
@@ -0,0 +1,72 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.quizlet.com/2.0/search/sets?client_id=QUIZLET_CLIENT_ID&page=1&per_page=25&q=dogs
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.quizlet.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: Ok
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Mon, 02 Dec 2013 20:22:15 GMT
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '1732'
31
+ Connection:
32
+ - keep-alive
33
+ Set-Cookie:
34
+ - fs=mx74l3; expires=Thu, 30-Nov-2023 20:22:15 GMT; path=/
35
+ - new=1; path=/
36
+ - qi2=Zgy-gnNfBHStgG8q9klSidud-JshxJSqBjF4vhF-nkQ; expires=Thu, 30-Nov-2023
37
+ 20:22:15 GMT; path=/; domain=.quizlet.com; httponly
38
+ - setpage-welcomed=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
39
+ Cache-Control:
40
+ - no-cache, must-revalidate
41
+ Expires:
42
+ - Mon, 26 Jul 1997 05:00:00 GMT
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ Vary:
46
+ - Accept-Encoding
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"total_results":5001,"total_pages":201,"page":1,"image_set_count":9,"sets":[{"id":23752218,"url":"http://quizlet.com/23752218/dogs-flash-cards/","title":"Dogs","created_by":"randomsolider23","term_count":12,"created_date":1369449049,"modified_date":1371274979,"has_images":false,"subjects":["Dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"DOGS,
50
+ DOGS, DOGS!!!!!!!!","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":9833328,"url":"http://quizlet.com/9833328/dogs-flash-cards/","title":"dogs","created_by":"shuzoo","term_count":5,"created_date":1328725470,"modified_date":1328725470,"has_images":false,"subjects":["dogs
51
+ and puppys"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs
52
+ old dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":20089637,"url":"http://quizlet.com/20089637/dogs-flash-cards/","title":"dogs","created_by":"haileyboal22","term_count":6,"created_date":1361491597,"modified_date":1361491597,"has_images":false,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs
53
+ dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":3317786,"url":"http://quizlet.com/3317786/dogs-flash-cards/","title":"Dogs","created_by":"flamingo202","term_count":11,"created_date":1288908377,"modified_date":1288908377,"has_images":true,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs,
54
+ dogs, dogs!","lang_terms":"en","lang_definitions":"photo","has_discussion":true},{"id":30332159,"url":"http://quizlet.com/30332159/dogs-flash-cards/","title":"Dogs","created_by":"PenguinAttack236","term_count":10,"created_date":1384272724,"modified_date":1384294409,"has_images":true,"subjects":["Types
55
+ of dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs
56
+ in a human world, man''s bestfriend and also and pillow for when you need
57
+ one.If you get lonly, throw a ball and watch a dog chew it up and you get
58
+ mad and you throw a sticka nd laugh when it eats it whole!!","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":30349921,"url":"http://quizlet.com/30349921/dogs-flash-cards/","title":"Dogs","created_by":"king-jordans","term_count":11,"created_date":1384283460,"modified_date":1384283460,"has_images":true,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs,
59
+ dogs, dogs!","lang_terms":"en","lang_definitions":"photo","has_discussion":true},{"id":1151280,"url":"http://quizlet.com/1151280/dogs-flash-cards/","title":"dogs","created_by":"Pujolsfan93","term_count":7,"created_date":1253210865,"modified_date":1253210865,"has_images":false,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":9094064,"url":"http://quizlet.com/9094064/dog-flash-cards/","title":"dog","created_by":"jamosullivan","term_count":2,"created_date":1326282087,"modified_date":1326283556,"has_images":false,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"dog\ndog","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":8358260,"url":"http://quizlet.com/8358260/dogs-flash-cards/","title":"Dogs","created_by":"sasha6213","term_count":4,"created_date":1322864942,"modified_date":1322924799,"has_images":false,"subjects":["Dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"About
60
+ some dog breeds","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":11347518,"url":"http://quizlet.com/11347518/dog-flash-cards/","title":"dog","created_by":"smazyfun","term_count":2,"created_date":1334328742,"modified_date":1334328742,"has_images":false,"subjects":["dog"],"visibility":"public","editable":"only_me","has_access":true,"description":"dog","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":24475253,"url":"http://quizlet.com/24475253/dogs-flash-cards/","title":"dogs","created_by":"didi101","term_count":10,"created_date":1372423681,"modified_date":1372423681,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"I
61
+ love dogs because they are cute","lang_terms":"en","lang_definitions":"photo","has_discussion":true},{"id":17907542,"url":"http://quizlet.com/17907542/dogs-flash-cards/","title":"DOGS","created_by":"J3lackEagle","term_count":2,"created_date":1356022360,"modified_date":1356022360,"has_images":false,"subjects":["DOGS"],"visibility":"public","editable":"only_me","has_access":true,"description":"DOGS","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":27811602,"url":"http://quizlet.com/27811602/dogs-flash-cards/","title":"Dogs","created_by":"salewcrew318","term_count":2,"created_date":1381174760,"modified_date":1381174760,"has_images":true,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"Who
62
+ is better ,Dogs or Cats? \nI think Dogs.\nExplain your arguement.","lang_terms":"en","lang_definitions":"photo","has_discussion":true},{"id":167805,"url":"http://quizlet.com/167805/dogs-flash-cards/","title":"dogs","created_by":"samantha93","term_count":9,"created_date":1201642733,"modified_date":1201642733,"has_images":false,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"i
63
+ love dogs\r\ndogs rule \r\ncats drool","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":705302,"url":"http://quizlet.com/705302/dog-flash-cards/","title":"Dog","created_by":"PatrickDawson","term_count":2,"created_date":1233753329,"modified_date":1233753329,"has_images":false,"subjects":["Dog"],"visibility":"public","editable":"only_me","has_access":true,"description":"Dog","lang_terms":"??","lang_definitions":"??","has_discussion":true},{"id":12326429,"url":"http://quizlet.com/12326429/dogs-flash-cards/","title":"dogs","created_by":"wallbrown","term_count":5,"created_date":1337811613,"modified_date":1358455292,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"tell
64
+ u about dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":18200431,"url":"http://quizlet.com/18200431/dogs-flash-cards/","title":"dogs","created_by":"bagolem","term_count":2,"created_date":1357704890,"modified_date":1357704890,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":4255542,"url":"http://quizlet.com/4255542/dogs-flash-cards/","title":"Dogs","created_by":"3083","term_count":2,"created_date":1296585295,"modified_date":1296585295,"has_images":false,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":29963295,"url":"http://quizlet.com/29963295/dogs-flash-cards/","title":"DOGS!","created_by":"jcwvet","term_count":2,"created_date":1383774556,"modified_date":1384984609,"has_images":false,"subjects":["Dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"In
65
+ this set you learn about different types of dog breeds and books.","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":20117952,"url":"http://quizlet.com/20117952/dog-flash-cards/","title":"dog","created_by":"JStack86","term_count":8,"created_date":1361553680,"modified_date":1361553680,"has_images":false,"subjects":["Dog.."],"visibility":"public","editable":"only_me","has_access":true,"description":"dog","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":4174613,"url":"http://quizlet.com/4174613/dogs-flash-cards/","title":"Dogs","created_by":"ilovetrissy","term_count":4,"created_date":1296011551,"modified_date":1296011608,"has_images":true,"subjects":["dog
66
+ breeds"],"visibility":"public","editable":"only_me","has_access":true,"description":"Dogs
67
+ of all sizes and looks.","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":28306999,"url":"http://quizlet.com/28306999/dogs-flash-cards/","title":"dogs","created_by":"lovedaddymommy","term_count":10,"created_date":1381788208,"modified_date":1383128762,"has_images":false,"subjects":[],"visibility":"public","editable":"only_me","has_access":true,"description":"this
68
+ set is about dogs and what to buy them and what kind of dogs.","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":2934769,"url":"http://quizlet.com/2934769/dogs-flash-cards/","title":"dogs","created_by":"pmckenney","term_count":20,"created_date":1286074529,"modified_date":1292689148,"has_images":true,"subjects":["dogs"],"visibility":"public","editable":"classes","has_access":true,"description":"dogs","lang_terms":"en","lang_definitions":"en","has_discussion":true},{"id":20084246,"url":"http://quizlet.com/20084246/dogs-flash-cards/","title":"dogs","created_by":"izzycat321","term_count":5,"created_date":1361485220,"modified_date":1361485220,"has_images":false,"subjects":["dogs"],"visibility":"public","editable":"only_me","has_access":true,"description":"dogs","lang_terms":"en","lang_definitions":"en","has_discussion":false},{"id":19034256,"url":"http://quizlet.com/19034256/dog-flash-cards/","title":"Dog","created_by":"MikeSpadaro","term_count":2,"created_date":1359466263,"modified_date":1359466263,"has_images":false,"subjects":["dog"],"visibility":"public","editable":"only_me","has_access":true,"description":"just
69
+ dog","lang_terms":"en","lang_definitions":"en","has_discussion":true}]}'
70
+ http_version:
71
+ recorded_at: Mon, 02 Dec 2013 20:22:15 GMT
72
+ recorded_with: VCR 2.7.0