import TwitterApiv1ReadWrite from '../v1/client.v1.write';
import TwitterApiv2ReadWrite from '../v2/client.v2.write';
import TwitterApiReadOnly from './readonly';
/**
* Twitter v1.1 and v2 API client.
*/
export default class TwitterApiReadWrite extends TwitterApiReadOnly {
/* Direct access to subclients */
get v1() {
if (this._v1)
return this._v1;
return this._v1 = new TwitterApiv1ReadWrite(this);
}
get v2() {
if (this._v2)
return this._v2;
return this._v2 = new TwitterApiv2ReadWrite(this);
}
/**
* Get a client with read only rights.
*/
get readOnly() {
return this;
}
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/crazyrabbitLTC/mcp-twitter-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server