RandomUserApi v1.2.1 RandomUserApi.Engine

Summary

Functions

Function that generates n number of random users. Return list of maps with the users

Functions

get_users(params \\ [])

Function that generates n number of random users. Return list of maps with the users.

Parameters

  • options: list of options, possible switches are:
  • number: integer that represents number of of required random users
  • gender: atom, :male or :female. If something different is passed, it won’t be applied
  • nat: list of nationalities, for now just one. In handles only known nationalities by the API