WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

upmaru/tama-ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TamaEx

An Elixir HTTP client wrapper that provides structured response handling and schema parsing support. Built on top of the Req HTTP client, Tama simplifies API interactions by offering consistent error handling and automatic data parsing using Ecto-style schemas.

Features

  • Simple HTTP client creation with base URL configuration
  • Structured response handling with consistent error patterns
  • Support for schema-based data parsing
  • Built-in error handling for common HTTP status codes (404, 422, 4xx, 5xx)
  • Support for both 200 and 201 success responses

Installation

The package can be installed by adding tama to your list of dependencies in mix.exs:

def deps do
  [
    {:tama_ex, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/tama_ex.

About

Elixir client for Tama engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages