survey_monkey_api 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +70 -1
- data/lib/surveymonkey/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 955ef4b226024f1f08451435898e721793891b86
|
4
|
+
data.tar.gz: f0dd8d56f74b6d54590ab7b17c7cf80311eb519b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e853e75ed988a9dc338c134dfa8187bd52101d2e10f1f2a36db5b73d83bb294280271e3d3871a03b529aaab2c41511209fc63e7dce0ca1dba22a23fdfac80d5
|
7
|
+
data.tar.gz: e0ea991ee90d2da68d53280b70a73fac7b31281b211f61b0838f8c7f9a0dc9aabda60862579e417e7390a2b0eb0589e10bb54458acb54ecfd0b492d4e0ee7d19
|
data/README.md
CHANGED
@@ -89,6 +89,8 @@ Request for getting list of surveys is #surveys.
|
|
89
89
|
}
|
90
90
|
}
|
91
91
|
```
|
92
|
+
per_page - Count of objects rendered per page, optional
|
93
|
+
page - Page ID, optional
|
92
94
|
|
93
95
|
### SurveyResponses
|
94
96
|
|
@@ -97,6 +99,8 @@ Request for getting list of survey responses is #responses.
|
|
97
99
|
```ruby
|
98
100
|
client.responses(survey_id)
|
99
101
|
```
|
102
|
+
per_page - Count of objects rendered per page, optional
|
103
|
+
page - Page ID, optional
|
100
104
|
|
101
105
|
### SurveyResponse
|
102
106
|
|
@@ -106,6 +110,31 @@ Request for getting survey response's information is #response.
|
|
106
110
|
client.response(survey_id, response_id)
|
107
111
|
```
|
108
112
|
|
113
|
+
#### Responces
|
114
|
+
|
115
|
+
```ruby
|
116
|
+
{
|
117
|
+
"total_time"=>62,
|
118
|
+
"href"=>"https://api.surveymonkey.net/v3/surveys/00000002/responses/0000000001",
|
119
|
+
"custom_variables"=>{"respondent"=>""},
|
120
|
+
"ip_address"=>"2.110.189.144",
|
121
|
+
"id"=>"0000000001",
|
122
|
+
"logic_path"=>{},
|
123
|
+
"date_modified"=>"2017-03-24T09:09:28+00:00",
|
124
|
+
"response_status"=>"completed",
|
125
|
+
"custom_value"=>"",
|
126
|
+
"analyze_url"=>"https://www.surveymonkey.com/analyze/browse/ddsfdsf?respondent_id=0000000001",
|
127
|
+
"page_path"=>[],
|
128
|
+
"recipient_id"=>"",
|
129
|
+
"collector_id"=>"",
|
130
|
+
"date_created"=>"2017-03-24T09:08:26+00:00",
|
131
|
+
"survey_id"=>"00000002",
|
132
|
+
"collection_mode"=>"default",
|
133
|
+
"edit_url"=>"https://www.surveymonkey.com/r/?sm=fdsdfsdf",
|
134
|
+
"metadata"=>{}
|
135
|
+
}
|
136
|
+
```
|
137
|
+
|
109
138
|
### SurveyResponse in details
|
110
139
|
|
111
140
|
Request for getting survey response's information in details is #response_with_details.
|
@@ -114,9 +143,49 @@ Request for getting survey response's information in details is #response_with_d
|
|
114
143
|
client.response_with_details(survey_id, response_id)
|
115
144
|
```
|
116
145
|
|
146
|
+
#### Responces
|
147
|
+
|
148
|
+
```ruby
|
149
|
+
{
|
150
|
+
"total_time"=>62,
|
151
|
+
"href"=>"https://api.surveymonkey.net/v3/surveys/00000002/responses/0000000001",
|
152
|
+
"custom_variables"=>{"respondent"=>""},
|
153
|
+
"ip_address"=>"2.110.189.144",
|
154
|
+
"id"=>"0000000001",
|
155
|
+
"logic_path"=>{},
|
156
|
+
"date_modified"=>"2017-03-24T09:09:28+00:00",
|
157
|
+
"response_status"=>"completed",
|
158
|
+
"custom_value"=>"",
|
159
|
+
"analyze_url"=>"https://www.surveymonkey.com/analyze/browse/ddsfdsf?respondent_id=0000000001",
|
160
|
+
"pages"=>[
|
161
|
+
{
|
162
|
+
"id"=>"33518820",
|
163
|
+
"questions"=>[
|
164
|
+
{
|
165
|
+
"id"=>"96240864",
|
166
|
+
"answers"=>[
|
167
|
+
{
|
168
|
+
"choice_id"=>"725852898"
|
169
|
+
}
|
170
|
+
]
|
171
|
+
}
|
172
|
+
]
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"page_path"=>[],
|
176
|
+
"recipient_id"=>"",
|
177
|
+
"collector_id"=>"",
|
178
|
+
"date_created"=>"2017-03-24T09:08:26+00:00",
|
179
|
+
"survey_id"=>"00000002",
|
180
|
+
"collection_mode"=>"default",
|
181
|
+
"edit_url"=>"https://www.surveymonkey.com/r/?sm=fdsdfsdf",
|
182
|
+
"metadata"=>{}
|
183
|
+
}
|
184
|
+
```
|
185
|
+
|
117
186
|
## Contributing
|
118
187
|
|
119
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
188
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/WebGents/surveymonkey.
|
120
189
|
|
121
190
|
## License
|
122
191
|
|
data/lib/surveymonkey/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: survey_monkey_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JungleCoders
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-01-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|