Optional
config: Partial<ClientConfig>The config for the Client
Payload for the client if applicable
Private
Readonly
#appPrivate
#configThe config for the client
Private
Readonly
#contentContent manager object
Private
Readonly
#feedsFeed manager object
Private
#payloadThe payload for the client
Private
#userPrivate
Readonly
#usersUser manager object
Private
Readonly
#utilClient utility class
Static
Readonly
DEFAULT_Default Config for the Client
The authorization string used for requests
Basic token used by the client.
If not set in constructor, one was generated
Sets the basic token for the Client. Must be a string
Current config for the Client
The Client's Content manager
The content feeds for the Client
Gets the payload
Prevents overwriting the payload
The client's user manager
Protected
_evalRest
...args: any[]Optional
context: anyProtected
getLogs in using the stored bearer token.
Does NOT Generate a new bearer token
Logs the Client in an generates a new Bearer token.
If a bearer token is stored, these are ignored
The email to log in with
The password to log in with
Optional
fn: ((...args: any[]) => void)Rest
...args: any[]Optional
context: anyOptional
once: booleanAdd a listener for a given event.
Rest
...args: any[]Optional
context: anyAdd a one-time listener for a given event.
Rest
...args: any[]Optional
context: anyPrime the Client's basic token
The Client's basic token
Primes a basic token without updating the Client config. This takes ~15 seconds
Basic token being primed
Basic token to prime
Remove the listeners of a given event.
Optional
fn: ((...args: any[]) => void)Rest
...args: any[]Optional
context: anyOptional
once: booleanSigns up for an iFunny account.
The instance of the client
Generated using TypeDoc
Client for the iFunny API.