module Keybase::Core
GET dump/all.json
GET dump/latest.json
POST /key/add.json public_key: “—–BEGIN PGP PUBLIC…” private_key: “hKRib2R5gqRwcml2gqRkY…” is_primary: true
POST /key/revoke.json revocation_type: 0 kid: “a140c70404a13370f7…”
GET /getsalt.json?email_or_username=EMAIL_OR_USERNAME
POST /login.json email_or_username: “chris” hmac_pwh: “38902fe098f…” login_session: “lgHZIwfee99…”
POST /session/killall.json
POST sig/post_auth.json sig : “—– BEGIN PGP MESSAGE —– …” email_or_username : “maxtaco”
GET /user/lookup.json?username=USERNAME
Public Class Methods
Lookup a user on Keybase
@param [String] username the username of the user you are searching for @raise [Keybase::UserNotFoundError] if the user is not found @raise [Keybase::InputError] if the username is empty or invalid @return [Keybase::Model::User] the user, if they exist
# File lib/keybase-core.rb, line 34 def self.lookup(username) User.lookup(username) end
Private Class Methods
# File lib/keybase-core/error.rb, line 28 def self.errors { 100 => InputError, 202 => BadSessionError, 205 => UserNotFoundError, 204 => BadPasswordError, 222 => CSRFVerificationError } end