Initializes a new Rettiwt instance using the given api key.
Optional
config: IRettiwtConfigThe config object for configuring the Rettiwt instance.
The instance used to fetch data related to lists.
The instance used to fetch data related to tweets.
The instance used to fetch data related to users.
Set the API key for the current instance.
Set the custom headers for the current instance.
Set the proxy URL for the current instance.
The class for accessing Twitter API.
The created Rettiwt instance can be configured by passing in a configuration object to the constructor.
For details regarding the available configuration options, refer to IRettiwtConfig
Example: Creating a Rettiwt instance with 'guest' authentication:
Example: Creating a Rettiwt instance with 'guest' authentication, using a pre-generated guest key:
Example: Creating a Rettiwt instance with 'user' authentication:
Example: Creating a Rettiwt instance with 'user'authentication, along with enabling debug logs and using a proxy: