Skip to content

Commit

Permalink
feat(drive): added gogole drive API
Browse files Browse the repository at this point in the history
Just to have another, different set of api information to deal with,
and not accidentally hard-code things to work with youtube only.

Prepared dealing with media uploads, and it turns out to be best to
adjust the 'doit()' to take the respective type parameter.

We also have to think about downloads, like the ones for google drive,
which requires custom query parameters.
  • Loading branch information
Byron committed Mar 8, 2015
1 parent 182d0c6 commit 66f3ae1
Show file tree
Hide file tree
Showing 12 changed files with 12,549 additions and 24 deletions.
4,072 changes: 4,072 additions & 0 deletions etc/api/drive/v2/drive-api.json

Large diffs are not rendered by default.

8,160 changes: 8,160 additions & 0 deletions etc/api/drive/v2/drive-gen.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions etc/api/shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ api:
list:
- name: youtube
version: v3
- name: drive
version: v2
base_path: "etc/api"
terms:
# how to actually do something with the API
Expand Down
Loading

0 comments on commit 66f3ae1

Please sign in to comment.