Skip to content

Feature/user profiles#14

Open
xaridar wants to merge 14 commits into
masterfrom
feature/user-profiles
Open

Feature/user profiles#14
xaridar wants to merge 14 commits into
masterfrom
feature/user-profiles

Conversation

@xaridar

@xaridar xaridar commented Feb 10, 2021

Copy link
Copy Markdown

User Profiles

Responds to GET requests on /profile/:hash with a random user bio, generated based on the hash string.

Profile includes a name (full, first, last, and MI if one exists), image (both a full size URL and a URL for a 180x180 profile picture), and short user bio.

Also responds to /profile with a profile based on a randomly generated hash.

 
All requests allow an l/language query, as well as a g/gender query for names.

  • Supported languages: en, es, fr, it, nl, de
    • Defaults to en if not specified or an invalid language is passed.
    • Language only applies to names.
  • Gender is randomly generated based on the hash if not provided.
    • Gender applies to both names and images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant