Skip to content

Commit 2d338c5

Browse files
authored
Added Google Forms API (#185)
Added the methods for Google Forms API.
1 parent 3a811d7 commit 2d338c5

File tree

1 file changed

+154
-0
lines changed

1 file changed

+154
-0
lines changed

data/apizoo/GoogleFormsAPI.json

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
[
2+
{
3+
"user_name": "elva01",
4+
"api_name": "Google Forms - Forms.batchUpdate",
5+
"api_call": "form_service.forms().batchUpdate(formId=form_id, body=update).execute()",
6+
"api_version": "1.0",
7+
"api_arguments": {
8+
"formId": "Required. The form ID."
9+
},
10+
"functionality": "Change the form with a batch of updates.",
11+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
12+
"meta_data": {
13+
"description": "The Forms.batchUpdate method groups changes in batches and can add content or update settings, metadata, or content."
14+
},
15+
"questions": [
16+
"Update the quiz description with a due date of next Friday.",
17+
"Add a new video Item to the form."
18+
]
19+
},
20+
{
21+
"user_name": "elva01",
22+
"api_name": "Google Forms - Forms.create",
23+
"api_call": "form_service.forms().create(body=form).execute()",
24+
"api_version": "1.0",
25+
"api_arguments": {},
26+
"functionality": "Create a new form using the title given in the provided form message in the request.",
27+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
28+
"meta_data": {
29+
"description": "The Forms.create method creates a new form with the title. To add other content or updates, use batchUpdate."
30+
},
31+
"questions": [
32+
"Create a new form with the title 'Event RSVP'."
33+
]
34+
},
35+
{
36+
"user_name": "elva01",
37+
"api_name": "Google Forms - Forms.get",
38+
"api_call": "form_service.forms().get(formId=form_id).execute()",
39+
"api_version": "1.0",
40+
"api_arguments": {
41+
"formId": "Required. The form ID."
42+
},
43+
"functionality": "Get a form.",
44+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
45+
"meta_data": {
46+
"description": "The Forms.create method retrieves form content, settings and metadata."
47+
},
48+
"questions": [
49+
"What is the title of the form?"
50+
]
51+
},
52+
{
53+
"user_name": "elva01",
54+
"api_name": "Google Forms - Forms.responses.get",
55+
"api_call": "service.forms().responses().get(formId=form_id, responseId=response_id).execute()",
56+
"api_version": "1.0",
57+
"api_arguments": {
58+
"formId": "Required. The form ID.",
59+
"responseId": "Required. The response ID within the form."
60+
},
61+
"functionality": "Get one response from the form.",
62+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
63+
"meta_data": {
64+
"description": "The Forms.responses.get method retrieves a single response specified by response ID."
65+
},
66+
"questions": [
67+
"Get the most recent quiz response."
68+
]
69+
},
70+
{
71+
"user_name": "elva01",
72+
"api_name": "Google Forms - Forms.responses.list",
73+
"api_call": "service.forms().responses().list(formId=form_id).execute()",
74+
"api_version": "1.0",
75+
"api_arguments": {
76+
"formId": "Required. ID of the Form whose responses to list."
77+
},
78+
"functionality": "List a form's responses.",
79+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
80+
"meta_data": {
81+
"description": "The Forms.responses.list method retrieves all the responses in the specified form."
82+
},
83+
"questions": [
84+
"Get all the quiz responses and put them into a document."
85+
]
86+
},
87+
{
88+
"user_name": "elva01",
89+
"api_name": "Google Forms - Forms.watches.create",
90+
"api_call": "service.forms().watches().create(formId=form_id, body=watch).execute()",
91+
"api_version": "1.0",
92+
"api_arguments": {
93+
"formId": "Required. ID of the Form to watch."
94+
},
95+
"functionality": "Create a new watch.",
96+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
97+
"meta_data": {
98+
"description": "Forms.watches.create enables push notifications and validates the provided Cloud Pub/Sub topic. Create a Cloud Pub/Sub topic via Google Cloud Developer Console, command line, or Cloud Pub/Sub API. The limit for each project is one watch per event type per form. The new watch expires seven days after it is created."
99+
},
100+
"questions": [
101+
"Create a notification for every time a response is edited."
102+
]
103+
},
104+
{
105+
"user_name": "elva01",
106+
"api_name": "Google Forms - Forms.watches.delete",
107+
"api_call": "service.forms().watches().delete(formId=form_id, watchId=watch_id).execute()",
108+
"api_version": "1.0",
109+
"api_arguments": {
110+
"formId": "Required. The ID of the Form.",
111+
"watchId": "Required. The ID of the Watch to delete."
112+
},
113+
"functionality": "Delete a watch.",
114+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
115+
"questions": [
116+
"Delete the notification for new form responses."
117+
]
118+
},
119+
{
120+
"user_name": "elva01",
121+
"api_name": "Google Forms - Forms.watches.list",
122+
"api_call": "service.forms().watches().list(formId=form_id).execute()",
123+
"api_version": "1.0",
124+
"api_arguments": {
125+
"formId": "Required. ID of the Form whose watches to list."
126+
},
127+
"functionality": "Return a list of the watches owned by the invoking project.",
128+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
129+
"meta_data": {
130+
"description": "The invoking project is limited to a maximum of two watches and one watch per event type per form."
131+
},
132+
"questions": [
133+
"What are my current form notifications?"
134+
]
135+
},
136+
{
137+
"user_name": "elva01",
138+
"api_name": "Google Forms - Forms.watches.renew",
139+
"api_call": "service.forms().watches().renew(formId=form_id, watchId=watch_id).execute()",
140+
"api_version": "1.0",
141+
"api_arguments": {
142+
"formId": "Required. The ID of the Form.",
143+
"watchId": "Required. The ID of the Watch to renew."
144+
},
145+
"functionality": "Renew an existing watch for seven days.",
146+
"env_requirements": ["google-auth", "google-auth-oauthlib", "google-auth-httplib2", "google-api-python-client"],
147+
"meta_data": {
148+
"description": "Forms.watches.renew will reset the expire time of a watch to seven days and the state of the watch is active. Renewing an expired watch returns NOT_FOUND."
149+
},
150+
"questions": [
151+
"Keep my form notifications on until the end of my business trip next week."
152+
]
153+
}
154+
]

0 commit comments

Comments
 (0)