Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 443 Bytes

getUser.md

File metadata and controls

34 lines (30 loc) · 443 Bytes

getUser

import { getUser } from "osm-api";

await getUser(12248);

Response:

{
  "account_created": "2021-12-15T09:49:18.000Z",
  "blocks": {
    "received": {
      "active": 0,
      "count": 0
    }
  },
  "changesets": {
    "count": 15
  },
  "contributor_terms": {
    "agreed": true
  },
  "description": "",
  "display_name": "kylenz_testing",
  "id": 12248,
  "roles": [],
  "traces": {
    "count": 0
  }
}