claws_rest

REST Client for Snatch


License
Apache-2.0

Documentation

Claws REST

Copyright (c) 2017 Manuel Rubio

Authors: "Manuel Rubio" (manuel@altenwald.com).

Build Status Codecov License: Apache 2.0 Hex

Claws REST is an extension for snatch to provide to the system of a way to perform REST requests and recieve a response via Snatch.

Installation

The system requires OTP 19+ and we prefer to use rebar3 instead of older versions. To install claws_rest only needs:

{deps, [
    {claws_rest, "0.1.0"}
]}

Or if you are using erlang.mk instead, you can use:

DEPS += claws_rest
dep_snatch = git https://github.com/snatch-xmpp/claws_rest.git 0.1.0

You'll need a C/C++ compiler installed in your system for fast_xml and stringprep.

For further information check this doc.

Troubleshooting

Feel free to create an issue in github to point a bug, flaw or improvement and even send a pull request with a specific change. Read the LICENSE if you have doubts about what you can do with the code.

Enjoy!

Modules

claws_rest