{"id":17259950,"url":"https://github.com/gordalina/ex_tier","last_synced_at":"2025-04-14T06:36:52.786Z","repository":{"id":62879977,"uuid":"563077531","full_name":"gordalina/ex_tier","owner":"gordalina","description":"An Elixir client for Tier","archived":false,"fork":false,"pushed_at":"2024-03-13T01:40:58.000Z","size":43,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T20:21:45.676Z","etag":null,"topics":["billing","elixir","priceops","tier"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gordalina.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"gordalina"}},"created_at":"2022-11-07T21:24:54.000Z","updated_at":"2023-12-18T15:49:46.000Z","dependencies_parsed_at":"2025-04-14T06:34:18.515Z","dependency_job_id":null,"html_url":"https://github.com/gordalina/ex_tier","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordalina%2Fex_tier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordalina%2Fex_tier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordalina%2Fex_tier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordalina%2Fex_tier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gordalina","download_url":"https://codeload.github.com/gordalina/ex_tier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248835534,"owners_count":21169246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["billing","elixir","priceops","tier"],"created_at":"2024-10-15T07:46:44.030Z","updated_at":"2025-04-14T06:36:52.749Z","avatar_url":"https://github.com/gordalina.png","language":"Elixir","funding_links":["https://github.com/sponsors/gordalina"],"categories":[],"sub_categories":[],"readme":"# ExTier\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/gordalina/ex_tier/ci.yml?branch=main\u0026style=flat-square)](https://github.com/gordalina/ex_tier/actions?query=workflow%3A%22ci%22)\n[![Coverage Status](https://img.shields.io/codecov/c/github/gordalina/ex_tier?style=flat-square)](https://app.codecov.io/gh/gordalina/ex_tier)\n[![hex.pm version](https://img.shields.io/hexpm/v/ex_tier?style=flat-square)](https://hex.pm/packages/ex_tier)\n\nExTier is an elixir client for [Tier.run](https://tier.run), documentation can be found at [https://hexdocs.pm/ex_tier](https://hexdocs.pm/ex_tier).\n\n## Installation\n\nThe package can be installed by adding `ex_tier` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:ex_tier, \"~\u003e 0.11\"}\n  ]\nend\n```\n\n### Versioning\n\nExTier follows Tier's major and minor versions, but reserves minor versions for ExTier's patch updates. So Tier's `v0.6` version will map to ExTier `0.6.x` version.\n\n## Configuration\n\n### URL\n\nYou need to specify where the Tier server is reachable at:\n\n```elixir\nconfig :ex_tier, url: \"http://localhost:8080\"\n```\n\n### Tier Cloud\n\nYou can use tier cloud by using the following configuration:\n\n```elixir\nconfig :ex_tier,\n  url: \"https://api.tier.run\",\n  stripe_api_key: \"your-stripe-api-key\"\n```\n\n### Test Clocks\n\nTo use test clocks, pass the clock_id in the configuration:\n\n```elixir\nconfig :ex_tier, clock_id: \"clock_1xTl3FbwSFVVY4blLTlXv2CY\"\n```\n\n### Tesla\n\nExTier depends on [Tesla](https://github.com/elixir-tesla/tesla) to perform HTTP requests. You are required to specify which Tesla adapter you want to use.\n\n```elixir\nconfig :ex_tier, adapter: Tesla.Adapter.Httpc,\n```\n\nYou can also configure an adapter's options via:\n\n```elixir\nconfig :ex_tier, adapter: {Tesla.Adapter.Finch, name: ExTier}\n```\n\n## Compatibility\n\n| ExTier     | Tier        | Erlang/OTP | Elixir       |\n| -          | -           | -          | -            |\n| `\u003e= 0.0.0` | `\u003e= 0.0.0`  | `\u003e= 23.0.0` | `\u003e= 1.14.0` |\n\n## License\n\nExTier is released under the Apache License 2.0 - see the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgordalina%2Fex_tier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgordalina%2Fex_tier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgordalina%2Fex_tier/lists"}