def __init__(self, token, base_url="<STR_LIT>", user_agent=None):
self.base_url = base_url<EOL>self._add_user_agent = user_agent<EOL>self.token = token<EOL>self.session = requests.Session()<EOL>self.linode = LinodeGroup(self)<EOL>self.profile = ProfileGroup(self)<EOL>self.account = AccountGroup(self)<EOL>self.networking = NetworkingGroup(self)<EOL>self.support = SupportGroup(self)<EOL>self.longview = LongviewGroup(self)<EOL>
The main interface to the Linode API.

:param token: The authentication token to use for communication with the
              API.  Can be either a Personal Access Token or an OAuth Token.
:type token: str
:param base_url: The base URL for API requests.  Generally, you shouldn't
                 change this.
:type base_url: str
:param user_agent: What to append to the User Agent of all requests made
                   by this client.  Setting this allows Linode's internal
                   monitoring applications to track the usage of your
                   application.  Setting this is not necessary, but some
                   applications may desire this behavior.
:type user_agent: str