Skip to content
Akshay Sharma edited this page Mar 22, 2015 · 4 revisions

User Profile

It will render GitHub user details to the selector. Only the public repositories count will be shown in the widget.

Parameters

  • username is a string which has to be valid GitHub account username.
  • selector is a string containing one or more CSS selectors separated by commas.
  Github.userProfile({
    username: "jashkenas",
    selector: ".user-1"
  });

User Activity

It will render GitHub user details and public activity to the selector. Activities older than 90 days will not be shown in the feed.

Parameters

  • username is a string which has to be valid GitHub account username.
  • selector is a string containing one or more CSS selectors separated by commas.
  • limit(optional) - default and maximum is 30 - is an integer value to restrict the number of recent activities you want to render.
  Github.userActivity({
    username: "torvalds",
    selector: ".user-2",
    limit: 20
  });
Clone this wiki locally