random_user_api alternatives and similar packages
Based on the "Third Party APIs" category.
Alternatively, view random_user_api alternatives based on common mentions on social networks and blogs.
-
google-cloud
Elixir client libraries for accessing Google APIs. -
gringotts
A complete payment library for Elixir and Phoenix Framework -
statix
Fast and reliable Elixir client for StatsD-compatible servers -
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS. -
commerce_billing
A payment processing library for Elixir -
sendgrid
Create and send composable emails with Elixir and SendGrid. -
mailchimp
A basic Elixir wrapper for version 3 of the MailChimp API -
diplomat
Elixir library for interacting with Google's Cloud Datastore -
sparkpost
SparkPost client library for Elixir https://developers.sparkpost.com -
elixtagram
:camera: Instagram API client for the Elixir language (elixir-lang) -
forcex
Elixir library for the Force.com / Salesforce / SFDC REST API -
google_sheets
Elixir library for fetching Google Spreadsheet data in CSV format -
pay_pal
:money_with_wings: PayPal REST API client for the Elixir language (elixir-lang) -
amazon_product_advertising_client
An Amazon Product Advertising API client for Elixir -
cashier
Cashier is an Elixir library that aims to be an easy to use payment gateway, whilst offering the fault tolerance and scalability benefits of being built on top of Erlang/OTP -
elixir_ipfs_api
The Elixir library that is used to communicate with the IPFS REST endpoint. -
dogstatsd
An Elixir client for DogStatsd https://www.datadoghq.com/
Static code analysis for 29 languages.
Do you think we are missing an alternative of random_user_api or a related project?
README
RandomUserApi
Small and useful library, which use API of http://randomuser.me to generate random users.
Installation
To install this app, just add it in your list of dependencies in mix.exs
:
def deps do
[
{:random_user_api, "~> 1.2.1"}
]
end
Documentation is available here.
Instruction
Usage is very straightforward. In many cases simple call for single user would be enough.
alias RandomUserApi.Engine
# get single user
Engine.get_users()
# get 10 users
Engine.get_users [number: 10]
# get one female
Engine.get users [gender: :female]
# get three men
Engine.get_users [number: 3, gender: :male]
# get one Brazilian
Engine.get_users [nat: "BR"]
TODO:
- Included / excluded fields
- list of values
I rewrited this library to use HTTPoison, because HTTPotion had issues with SSL.
Note:
If nationality you put is not known by the API, it will be ignored. Same story with gender
.
Enjoy!