README.md

[![Build Status](https://travis-ci.org/starbelly/lab.svg?branch=master)](https://travis-ci.org/starbelly/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)
# Lab

Gitlab API Elixir wrapper - powered by [Tesla](https://github.com/teamon/tesla)

## 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)