service_auth: Service Account Auth For Google Video Intelligence API

Description Usage Arguments Value

View source: R/rooglevideo_auth.R

Description

Ideal for use in automated scripts or Shiny apps. No browser will pop up during this method. Instead, you will need to receive a service account '.json' file from Google. This file will contain your private key, which should be kept secret. Additionally, you will need OAuth creds to obtain the client id and secret.

Usage

1
service_auth(client_id, client_secret, service_json)

Arguments

client_id

A string containing the client_id given from Google.

client_secret

A string containin the client secret given from Google.

service_json

A string path to your service account .json file.

Value

A service token for use within the session.


beigebrucewayne/RoogleVideo documentation built on Aug. 14, 2019, 10:56 p.m.