2

I want to include a tag or kind of business card on my homepage where a link to my account, my current reputation and my current badges are show. Could be something like the user card under a question or answer:

My user card for meta.stackoverflow.com

Is there an API for this or is it allowed to parse it from the Stack Overflow website?

3 Answers 3

6

Flair is what you are looking for.
Like this one:

profile for Paedow at Stack Overflow, Q&A for professional and enthusiast programmers

As @Sha Wiz Dow Ard suggested on his comment:
Global flair is also available.
Like this one:

profile for Paedow on Stack Exchange, a network of free, community-driven Q&A sites

Related blog: Flair: Now Even Flairier

2
1

You can also use the Stack Exchange API to write customer queries that can get different info. For instance, a query for your user info returns:

{
  "items": [
    {
      "user_id": 1550184,
      "user_type": "registered",
      "creation_date": 1343176618,
      "display_name": "Paedow",
      "profile_image": "https://www.gravatar.com/avatar/e87fbc64060164fc6663e28896a3f6d2?s=128&d=identicon&r=PG",
      "reputation": 850,
      "reputation_change_day": 0,
      "reputation_change_week": 0,
      "reputation_change_month": 12,
      "reputation_change_quarter": 12,
      "reputation_change_year": 120,
      "age": 17,
      "last_access_date": 1381063242,
      "last_modified_date": 1380739628,
      "is_employee": false,
      "link": "http://stackoverflow.com/users/1550184/paedow",
      "website_url": "http://e-volution-software.de/",
      "location": "Germany",
      "account_id": 1687146,
      "badge_counts": {
        "gold": 0,
        "silver": 7,
        "bronze": 31
      },
      "question_count": 40,
      "answer_count": 22,
      "up_vote_count": 473,
      "down_vote_count": 5,
      "about_me": "",
      "view_count": 159,
      "accept_rate": 100
    }
  ],
  "quota_remaining": 9994,
  "quota_max": 10000,
  "has_more": false
}

You can use this to get certain pieces of information that are not available through the standard flair, although you have to format it all nice and fancy-like, and go through another few hoops.

0

You can get your own flair in your profile page, under Edit Profile & Settings -> Flair:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .