open-index/open-npm huggingface dataset:
npm package: @microfox/youtube-analytics
Description: A TypeScript SDK for interacting with the YouTube Analytics API.
Latest version: 1.3.0

# Youtube Analytics SDK

A TypeScript SDK for interacting with the YouTube Analytics API.

## Installation

```bash
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:

- [YoutubeAnalyticsSDK](./docs/YoutubeAnalyticsSDK.md)
- [getReports](./docs/getReports.md)
- [listGroups](./docs/listGroups.md)
- [insertGroup](./docs/insertGroup.md)
- [updateGroup](./docs/updateGroup.md)
- [deleteGroup](./docs/deleteGroup.md)
- [listGroupItems](./docs/listGroupItems.md)
- [insertGroupItem](./docs/insertGroupItem.md)
- [deleteGroupItem](./docs/deleteGroupItem.md)
- [refreshAccessToken](./docs/refreshAccessToken.md)
- [validateAccessToken](./docs/validateAccessToken.md)
npm package: @microfox/youtube-reporting-api
Description: A TypeScript SDK for interacting with the YouTube Reporting API.
Latest version: 1.3.0

# YouTube Reporting API

A TypeScript SDK for interacting with the YouTube Reporting API.

## Installation

```bash
npm install @microfox/youtube-reporting-api @microfox/google-oauth
```

## Environment Variables

The following environment variables are used by this SDK:

- `GOOGLE_CLIENT_ID`: The client ID for the Google OAuth 2.0 credentials. (Required)
- `GOOGLE_CLIENT_SECRET`: The client secret for the Google OAuth 2.0 credentials. (Required)
- `GOOGLE_REDIRECT_URI`: The redirect URI for the Google OAuth 2.0 flow. (Required)
- `GOOGLE_ACCESS_TOKEN`: The access token for authenticated requests (optional). (Optional)
- `GOOGLE_REFRESH_TOKEN`: The refresh token to obtain new access tokens (optional). (Optional)
- `SCOPES`: The scopes required for the YouTube Reporting API. (Required)

## API Reference

For detailed documentation on the constructor and all available functions, see:

- [YouTubeReportingAPISDK](./docs/YouTubeReportingAPISDK.md)
- [listReportTypes](./docs/listReportTypes.md)
- [createJob](./docs/createJob.md)
- [listJobs](./docs/listJobs.md)
- [listReports](./docs/listReports.md)
- [downloadReport](./docs/downloadReport.md)