README.md
[](https://travis-ci.org/starbelly/lab) [](https://gitlab.com/starbelly/lab/commits/master) [](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)