1.1.0 • Published 4 months ago

@microfox/youtube-analytics v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
4 months ago

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:

1.1.0

4 months ago

1.0.2

5 months ago

1.0.1

6 months ago