2.0.14 • Published 8 months ago
@ax-crew/tools-google v2.0.14
@ax-crew/tools-google
Google service integrations for AxCrew agents, including Gmail and Google Drive capabilities.
Installation
npm install @ax-crew/tools-googleFeatures
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
8 months ago
2.0.12
9 months ago
2.0.11
9 months ago
2.0.10
9 months ago
2.0.9
9 months ago
2.0.8
9 months ago
2.0.6
9 months ago
2.0.5
9 months ago
2.0.4
9 months ago
1.0.2
10 months ago
0.2.4
11 months ago
0.2.3
11 months ago
0.2.2
11 months ago
0.2.1
11 months ago
0.1.9
11 months ago
0.1.8
11 months ago
0.1.7
11 months ago
0.1.6
11 months ago
0.1.4
11 months ago
0.1.3
11 months ago
0.1.2
11 months ago
0.1.1
11 months ago