Class: SimbriefClient
Simbrief HTTP client
Constructors
constructor
• new SimbriefClient(): SimbriefClient
Returns
Methods
getOfp
▸ getOfp(userId
): Promise
<SimbriefOfp
>
Returns the current simbrief ofp
Parameters
Name | Type | Description |
---|---|---|
userId | number | the simbrief userid |
Returns
Promise
<SimbriefOfp
>
a Promise with the simbrief OFP
Defined in
src/sdk/simbrief/SimbriefClient.ts:34
getSimbriefUserIDFromUsername
▸ getSimbriefUserIDFromUsername(username
): Promise
<number
>
Returns a simbrief userid from a username
Parameters
Name | Type | Description |
---|---|---|
username | string | the username |
Returns
Promise
<number
>
the userid
Defined in
src/sdk/simbrief/SimbriefClient.ts:16