2.0.14 • Published 6 months ago

@ax-crew/tools-google v2.0.14

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

@ax-crew/tools-google

Google service integrations for AxCrew agents, including Gmail and Google Drive capabilities.

Installation

npm install @ax-crew/tools-google

Features

Gmail Integration

import { GmailSearch, GmailSend, GmailConfig } from '@ax-crew/tools-google';

// Configure Gmail credentials
const config: GmailConfig = {
  credentials: {
    clientId: 'your_client_id',
    clientSecret: 'your_client_secret',
    redirectUri: 'your_redirect_uri',
    refreshToken: 'your_refresh_token'
  }
};

// Create Gmail instances
const gmailSearch = new GmailSearch(config);
const gmailSend = new GmailSend(config);

// Register with AxCrew
const customFunctions = {
  GmailSearch: gmailSearch.toFunction(),
  GmailSend: gmailSend.toFunction()
};

Google Drive Integration

import { DriveSearch, DriveConfig } from '@ax-crew/tools-google';

// Configure Drive credentials
const config: DriveConfig = {
  credentials: {
    clientId: 'your_client_id',
    clientSecret: 'your_client_secret',
    redirectUri: 'your_redirect_uri',
    refreshToken: 'your_refresh_token'
  }
};

// Create Drive instance
const driveSearch = new DriveSearch(config);

// Register with AxCrew
const customFunctions = {
  DriveSearch: driveSearch.toFunction()
};
const crew = new AxCrew(AxCrewConfig, customFunctions);
2.0.14

6 months ago

2.0.12

6 months ago

2.0.11

6 months ago

2.0.10

6 months ago

2.0.9

6 months ago

2.0.8

6 months ago

2.0.6

6 months ago

2.0.5

6 months ago

2.0.4

6 months ago

1.0.2

7 months ago

0.2.4

9 months ago

0.2.3

9 months ago

0.2.2

9 months ago

0.2.1

9 months ago

0.1.9

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago