Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GistRoute

Hierarchy

  • Routefetcher
    • GistRoute

Index

Methods

Methods

getProfile

  • getProfile(ownerUsername: string, gistId: string): Promise<GistProfile | null>
  • Returns gist profile. Null is returned if gist with given parameters was not found.

    Example: getGist('staltz', '868e7e9bc2a7b8c1f754')

    Parameters

    • ownerUsername: string

      The GitHub username of the owner

    • gistId: string

      The gist's id (same as the name of the gist)

    Returns Promise<GistProfile | null>

Generated using TypeDoc