SpyREST

Supported by Mashape

Home » api.github.com Versions » v3 Resources » users » GET /users/smsohan

GET /users/smsohan

Description

Response Fields

Name Type Description
login String
id Integer
avatar_url String
gravatar_id String
url String
html_url String
followers_url String
following_url String
gists_url String
starred_url String
subscriptions_url String
organizations_url String
repos_url String
events_url String
received_events_url String
type String
site_admin Boolean
name String
company
blog
location String
email
hireable
bio
public_repos Integer
public_gists Integer
followers Integer
following Integer
created_at String (Time ISO8601)
updated_at String (Time ISO8601)
Write
Preview

Examples

Example 1

No description given

Recorded at

2015-09-01 17:49:21 UTC

Try with cURL

Request URL

GET /users/smsohan      

Request Headers

accept: application/vnd.github.v3+json
user-agent: curl/7.37.1
      

Response Headers

transfer-encoding: chunked
x-served-by: 07ff1c8a09e44b62e277fae50a1b1dc4
x-content-type-options: nosniff
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-github-request-id: 68EC8CA8:FD38:493722:55E5E520
access-control-allow-origin: *
access-control-expose-headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
access-control-allow-credentials: true
content-security-policy: default-src 'none'
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-media-type: github.v3; format=json
vary: Accept
etag: "abbb9000e4224f05d47c8f1a97438f7b"
last-modified: Tue, 01 Sep 2015 16:31:49 GMT
cache-control: public, max-age=60, s-maxage=60
x-ratelimit-reset: 1441133360
x-ratelimit-remaining: 59
x-ratelimit-limit: 60
status: 200 OK
connection: close
content-length: 1223
content-type: application/json; charset=utf-8
date: Tue, 01 Sep 2015 17:49:20 GMT
server: GitHub.com
      

Response Body

Shortened for readability

{
  "login": "smsohan",
  "id": 121935,
  "avatar_url": "https://avatars.githubusercontent.com/u/121935?v=3",
  "gravatar_id": "",
  "url": "https://api.github.com/users/smsohan",
  "html_url": "https://github.com/smsohan",
  "followers_url": "https://api.github.com/users/smsohan/followers",
  "following_url": "https://api.github.com/users/smsohan/following{/other_user}",
  "gists_url": "https://api.github.com/users/smsohan/gists{/gist_id}",
  "starred_url": "https://api.github.com/users/smsohan/starred{/owner}{/repo}",
  "subscriptions_url": "https://api.github.com/users/smsohan/subscriptions",
  "organizations_url": "https://api.github.com/users/smsohan/orgs",
  "repos_url": "https://api.github.com/users/smsohan/repos",
  "events_url": "https://api.github.com/users/smsohan/events{/privacy}",
  "received_events_url": "https://api.github.com/users/smsohan/received_events",
  "type": "User",
  "site_admin": false,
  "name": "SM Sohan",
  "company": null,
  "blog": null,
  "location": "Calgary",
  "email": null,
  "hireable": null,
  "bio": null,
  "public_repos": 56,
  "public_gists": 42,
  "followers": 34,
  "following": 1,
  "created_at": "2009-09-01T14:47:57Z",
  "updated_at": "2015-09-01T16:31:49Z"
}