keybase-user
Get user info of a Keybase user
Install
$ npm install --save keybase-user
Usage Examples
var kbuser = ; ;
// other usernames;
Will return null
if the user object doesn't exist
API
kbuser(value, [proof])
value
Required
Type: string
Keybase/linked account username, domain name, or the user's fingerprint.
proof
Type: string
Linked accounts like github, coinbase, hackernews, reddit, etc.
Notes:
- For domains and fingerprint queries use
domain
andkey_fingerprint
Promise
user
Type: object
Various user info.
Notes:
- Visit the official API for more information
User sub-objects
Name | Description |
---|---|
id | The user's id (random 32-digit hex string). |
basics | The simplest and often most commonly-accessed info about a user. |
profile | Profile information. By default, user.profile is null, until a user creates one. |
public_keys | Public key bundle. You should access someone's public key with public_keys.primary . |
crypto_address | Bitcoin address and signature id. |
Related
- keybase-primary - Get the primary public key of a Keybase user
License
MIT © Gabriel Montalvo