# Pexels

Elixir client for [Pexels](

## Installation

The package can be installed by adding `pexels` to your list of dependencies in `mix.exs`:

def deps do
    {:pexels, "~> 0.1.0"}

## Usage

Retrieve your access token from [](

Provide the access token in your application configuration

config :pexels,
  token: "<TOKEN>"

Or it can be provided in the runtime like:

  iex> client = Pexels.client("<TOKEN>")
  iex> {:ok, %{liked: _liked, photo: photo}} =, %{id: 156934})
  iex> photo.url

Docs can be found at [](