getUserProfile

Fetch your public profile information

You can use the following method to fetch your public profile information such as email, name and slug.


Imports

Commonjs
const { InstatusClient } = require('@cordxapp/instatus')

Usage

Commonjs
const instatus = new InstatusClient({
    apiKey: 'YOUR_INSTATUS_API_KEY',
    apiVersion: 'INSTATUS_API_VERSION' // Should be 'v1' or 'v2'
})
 
const user = await instatus.getUserProfile()

Last updated on