README.md
# Lab
[](https://hex.pm/packages/lab)
[](https://gitlab.com/starbelly/lab/commits/master)
[](https://gitlab.com/starbelly/lab/commits/master)
[](https://travis-ci.org/starbelly/lab)
[](https://ebertapp.io/github/starbelly/lab)
[](http://inch-ci.org/github/starbelly/lab)


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)