mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-23 11:44:55 +01:00
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.
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
# Contains values shared among all API implementations
|
|
directories:
|
|
# directory under which all generated sources should reside
|
|
output: gen
|
|
# how to get from `output` back to common library
|
|
common: ..
|
|
# where are all the API meta files
|
|
api_base: etc/api
|
|
# all mako source files
|
|
mako_src: src/mako
|
|
api:
|
|
list:
|
|
- name: youtube
|
|
version: v3
|
|
- name: drive
|
|
version: v2
|
|
base_path: "etc/api"
|
|
terms:
|
|
# how to actually do something with the API
|
|
action: doit
|
|
templates:
|
|
# all output directories are relative to the one set for the respective API
|
|
- source: README.md
|
|
- source: LICENSE.md
|
|
- source: cargo.toml
|
|
- source: lib.rs
|
|
output_dir: src
|
|
cargo:
|
|
build_version: "0.0.1"
|
|
repo_base_url: https://github.com/Byron/google-apis-rs
|
|
doc_base_url: http://byron.github.io/google-apis-rs
|
|
authors:
|
|
# don't forget to possibly add them to copyright authors
|
|
- Sebastian Thiel <byronimo@gmail>
|
|
keywords: [google, protocol, web, api]
|
|
# All APIs should live in the same repository
|
|
repository_url: https://github.com/Byron/google-apis-rs
|
|
|
|
copyright:
|
|
license_abbrev: "MIT"
|
|
# should at some point be 2015-2016 ...
|
|
years: '2015'
|
|
authors:
|
|
- 'Sebastian Thiel'
|