https://github.com/princemaple/restlax
Relax, it's just REST. Elixir REST API client builder.
https://github.com/princemaple/restlax
api builder client elixir rest
Last synced: 4 months ago
JSON representation
Relax, it's just REST. Elixir REST API client builder.
- Host: GitHub
- URL: https://github.com/princemaple/restlax
- Owner: princemaple
- License: mit
- Created: 2021-02-09T06:43:39.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T19:37:12.000Z (about 3 years ago)
- Last Synced: 2025-04-04T14:49:50.002Z (about 1 year ago)
- Topics: api, builder, client, elixir, rest
- Language: Elixir
- Homepage: https://hex.pm/packages/restlax
- Size: 54.7 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Restlax
[](https://hex.pm/packages/restlax)
[](https://hex.pm/packages/restlax)
[](https://github.com/princemaple/restlax)
> Relax, it's just REST.
Built on top of [Req](https://github.com/wojtekmach/req) for a consistent HTTP transport.
## Features
- quick generation of regular REST actions
- helpers to aid writing custom actions
- request-level customization via `req/1` callback
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `restlax` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:restlax, "~> 1.0.1"}
]
end
```
## Usage
See `Restlax.Client` and `Restlax.Resource` for more information
The docs can be found at [https://hexdocs.pm/restlax](https://hexdocs.pm/restlax).
An example project using `Restlax`: [`Cloudflare`](https://hexdocs.pm/cloudflare)