File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -182,26 +182,6 @@ if upload.resumable?
182
182
end
183
183
```
184
184
185
- ## Command Line
186
-
187
- Included with the gem is a command line interface for working with Google APIs.
188
-
189
- ``` bash
190
- # Log in
191
- google-api oauth-2-login --client-id=' ...' --client-secret=' ...' --scope=" https://www.googleapis.com/auth/plus.me"
192
-
193
- # List the signed-in user's activities
194
- google-api execute plus.activities.list --api=plus -- userId=" me" collection=" public"
195
-
196
- # Start an interactive API session
197
- google-api irb
198
- >> plus = $client .discovered_api(' plus' )
199
- >> $client .execute(plus.activities.list, {' userId' => ' me' , ' collection' => ' public' })
200
- => # returns a response from the API
201
- ```
202
-
203
- For more information, use ` google-api --help `
204
-
205
185
## Samples
206
186
207
187
See the full list of [ samples on Github] ( https://github.com/google/google-api-ruby-client-samples ) .
You can’t perform that action at this time.
0 commit comments