video_curation.google_api_helper¶
Functions to help deal with google_api.
-
video_curation.google_api_helper.
get_api_request_dict
(properties)[source]¶ Build a resource based on a list of properties given as key-value pairs. Leave properties with empty values out of the inserted resource.
Parameters: properties – a dict Returns:
-
video_curation.google_api_helper.
get_credentials
(service_account_file=None, token_file_path=None, client_secrets_file=None, scopes=None)[source]¶ Note: Passing service_account_file does not seem to work as intended. :param service_account_file: :param token_file_path: A json file containing an access token (from a prior successful oauth). :param client_secrets_file: :param scopes: :return: