1.1.0 • Published 4 months ago
@microfox/youtube-analytics v1.1.0
Youtube Analytics SDK
A TypeScript SDK for interacting with the YouTube Analytics API.
Installation
npm install @microfox/youtube-analytics @microfox/google-oauth
Environment Variables
The following environment variables are used by this SDK:
GOOGLE_ACCESS_TOKEN
: The access token for authenticating with the YouTube Analytics API. (Required)GOOGLE_REFRESH_TOKEN
: The refresh token used to obtain a new access token when the current one expires. (Optional)GOOGLE_CLIENT_ID
: The client ID of your OAuth 2.0 credentials. (Required)GOOGLE_CLIENT_SECRET
: The client secret of your OAuth 2.0 credentials. (Required)GOOGLE_REDIRECT_URI
: The redirect URI configured for your OAuth 2.0 credentials. (Required)SCOPES
: The scopes required by the SDK (Required)
API Reference
For detailed documentation on the constructor and all available functions, see: