We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thomaswtwrt/smar-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
smartsheet-user-api.ts•701 B
import { SmartsheetAPI } from "./smartsheet-api.js";
export class SmartsheetUserAPI {
private api: SmartsheetAPI;
constructor(api: SmartsheetAPI) {
this.api = api;
}
/**
* Get user by ID
* @param userId ID of the user to get
* @returns User data
*/
async getUserById(userId: string): Promise<any> {
return this.api.request('GET', `/users/${userId}`);
}
/**
* Gets the current user
* @returns Current user data
*/
async getCurrentUser(): Promise<any> {
return this.api.request('GET', '/users/me');
}
/**
* List Users
* @returns List of users
*/
async listUsers(): Promise<any> {
return this.api.request('GET', '/users');
}
}