Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/user profiles #14

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Feature/user profiles #14

wants to merge 14 commits into from

Conversation

xaridar
Copy link

@xaridar xaridar commented Feb 10, 2021

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.

None yet

1 participant