get_user
Fetch an iFixit user's profile with reputation, badges, and join date. Optionally include their repair guides (IDs, titles, URLs) for a complete overview.
Instructions
Fetch an iFixit contributor profile.
Returns the user's profile dict (username, reputation, join_date, badge_counts, ...). With include_guides=True, merges the profile with the user's guide list into {"user": ..., "guides": [...]} where each guide is projected to {guideid, title, url}.
include_guides is all-or-nothing: if either the profile fetch or the guide-list fetch fails (ValueError, network error, or malformed response), the whole call raises a single clean error — partial data is never returned.
Args: user_id: The user id (e.g. 1 or "1"). include_guides: When True, also fetch and include the user's guides (projected to guideid/title/url). Accepts true/false (also as JSON booleans) or 1/0; any other value is rejected with a clean error. limit: Maximum number of guides to include when include_guides=True (1-200, default 20; e.g. 5 or "5"). The API clamps at 200. Validated unconditionally — junk is rejected even when include_guides=False leaves it unused (QA Round 12, F12-7).
Note: Data from iFixit (CC BY-NC-SA). Non-commercial use only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 20 | |
| user_id | Yes | ||
| include_guides | No | false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |