Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/kathgironpe/ui_faces

UIFaces API client for Elixir applications.
https://github.com/kathgironpe/ui_faces

Last synced: about 2 months ago
JSON representation

UIFaces API client for Elixir applications.

Lists

README

        

# UIFaces

## Note: project has been discontinued. UI Faces no longer releases new API keys.

## Features

- [x] Return a random authorized user
- [x] Returns an authorized user

## Installation

The package is [available in Hex](https://hexdocs.pm/ui_faces/0.1.7/UiFaces.Face.html) can be installed as follows:

1. Add `ui_faces` to your list of dependencies in `mix.exs`:

def deps do
[{:ui_faces, "~> 0.1.7"}]
end

2. Ensure `ui_faces` is started before your application:

def application do
[applications: [:ui_faces]]
end

## Usage

### Get random authorized user

```elixir
UiFaces.Face.random
```

### Get authorized user

```elixir
UiFaces.Face.user("calebogden")
```

## Related Projects

* [Random User](https://github.com/katgironpe/random_user) - Useful if you want more than a username and images. You can also make sure the random data has female names have female faces.