clients

Methods

(inner) client(clientId) → {Promise}

Source:
See:
Retrieve details on a public client.
Example
const { meta, data } = await pnut.client("8eIbTW60HZ0pqI5IxTj1wJKrayWlmYdk");
Parameters:
Name Type Description
clientId string A client id
Returns:
Type
Promise

(inner) clientsByUser(userId) → {Promise}

Source:
See:
Retrieve a list of active clients created by a user.
Example
const { meta, data } = await pnut.clientsByUser("@kwood");
Parameters:
Name Type Description
userId string | number A user id
Returns:
Type
Promise