Functions

get-authenticated

fn (): Map
fn (opts: Map): Map

GET /user - The authenticated user (login, id, plan). The cheapest way to smoke-test a token.

Example

me ::github::users/get-authenticated()
me.login

get-user

fn (username: Str): Map
fn (username: Str, opts: Map): Map

GET /users/{username} - A user's public profile.

Example

user ::github::users/get-user("octocat")
user.public_repos