Class default

Client class for interfacing with the API

Constructors

  • Parameters

    • Optional cookie: string
    • Optional eulaAccepted: boolean

    Returns default

Properties

auth: default

The AuthService for this Client

chats: default

The ChatAPI for this Client

discover: default

The DiscoverAPI for this Client

flocks: default

The FlocksAPI for this Client

groups: default

The GroupsApi for this Client

posts: default

The PostAPI for this Client

user: default

The UserAPI for this Client

videos: default

The VideoAPI for this Client

Methods

  • Connects to the API using the information provided during the class's construction. This will accept the EULA for the User if needed.

    Returns Promise<boolean>

    A promise that resolves true if the connection was successful

Generated using TypeDoc