Skip to content

Superstar page should contain gravatar of the members. #36

@shahbaz17

Description

@shahbaz17

We can use github's open api for this.
Visit https://developer.github.com/v3/users for more info on how to get it.

GET request to https://api.github.com/users/{username} return public information

GET https://api.github.com/users/gurumukhi returns

{
  "login": "gurumukhi",
  "id": 2748973,
  "avatar_url": "https://avatars2.githubusercontent.com/u/2748973?v=3",
  "gravatar_id": "",
  "url": "https://api.github.com/users/gurumukhi",
  "html_url": "https://github.com/gurumukhi",
  "followers_url": "https://api.github.com/users/gurumukhi/followers",
  "following_url": "https://api.github.com/users/gurumukhi/following{/other_user}",
  "gists_url": "https://api.github.com/users/gurumukhi/gists{/gist_id}",
  "starred_url": "https://api.github.com/users/gurumukhi/starred{/owner}{/repo}",
  "subscriptions_url": "https://api.github.com/users/gurumukhi/subscriptions",
  "organizations_url": "https://api.github.com/users/gurumukhi/orgs",
  "repos_url": "https://api.github.com/users/gurumukhi/repos",
  "events_url": "https://api.github.com/users/gurumukhi/events{/privacy}",
  "received_events_url": "https://api.github.com/users/gurumukhi/received_events",
  "type": "User",
  "site_admin": false,
  "name": "Ram",
  "company": null,
  "blog": "http://gurumukhi.wordpress.com/",
  "location": "Hyderabad, India",
  "email": null,
  "hireable": true,
  "bio": "I'm a web developer at Arcesium India, a Mozilla contributor & a tech speaker. I love to explore and talk about future technologies (diving into WebVR lately).",
  "public_repos": 47,
  "public_gists": 1,
  "followers": 14,
  "following": 6,
  "created_at": "2012-11-08T07:19:26Z",
  "updated_at": "2017-05-02T14:58:16Z"
}

which we can store it on firebase's database(free) so that we need not have to make API call to github everytime user visits website( which is limited ). Also we can store these data on client side using localStorage when they open the website for the first time.

@gurumukhi @lavish205 @Srushtika @akshit13 @tushararora @viswanathamsantosh any suggestions ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions