RandomUserApi v1.1.0 RandomUserApi.Engine

Summary

Functions

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

Functions

get_users(options \\ [])

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, comma-separated. In handles only known nationalities by the API
  • inc: list of included fields
  • exc: list of excluded fields