README.md

# Lab
[![Hex
Version](https://img.shields.io/hexpm/v/lab.svg)](https://hex.pm/packages/lab)
[![pipeline
status](https://gitlab.com/starbelly/lab/badges/master/pipeline.svg)](https://gitlab.com/starbelly/lab/commits/master)
[![coverage
report](https://gitlab.com/starbelly/lab/badges/master/coverage.svg)](https://gitlab.com/starbelly/lab/commits/master)
[![Travis](https://travis-ci.org/starbelly/lab.svg?branch=master)](https://travis-ci.org/starbelly/lab)
[![Ebert](https://ebertapp.io/github/starbelly/lab.svg)](https://ebertapp.io/github/starbelly/lab)
[![Inline docs](https://inch-ci.org/github/starbelly/lab.svg)](http://inch-ci.org/github/starbelly/lab)
![Size](https://reposs.herokuapp.com/?path=starbelly/lab)

![Lab](assets/logo-small.png)

An Elixir wrapper for the Gitlab API

## Installation

```elixir
def deps do
  [
    {:lab, "~> 0.1"}
  ]
end
```

## Usage


Set your enviroment variables :

```shell
export GITLAB_API_ENDPOINT=https://git.lab/api/v4
export GITLAB_API_PRIVATE_TOKEN=token
```

And you're off.

```elixir
{:ok, projects } = Lab.projects

# Options ( see Gitlab API docs for details )

{:ok, projects } = Lab.projects(per_page: 5)

```

## Reference

 - [Gitlab API](https://docs.gitlab.com/ee/api/README.html)

## Attributions

 - Beaker logo provided by [cliparts](https://cliparts.zone)
 - Inspirado from [NARKOZ/gitlab](https://github.com/NARKOZ/gitlab)