Anonymous View
2.0.14 • Published 1 year ago

@ax-crew/tools-google v2.0.14

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

1.0.2

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago