{"id":22868148,"url":"https://github.com/liftitapp/elibom_ex","last_synced_at":"2025-05-05T19:41:40.759Z","repository":{"id":57494116,"uuid":"94137051","full_name":"Liftitapp/elibom_ex","owner":"Liftitapp","description":"A wrapper for Elibom's API.","archived":false,"fork":false,"pushed_at":"2019-02-19T19:37:26.000Z","size":36,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T16:11:30.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Liftitapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-12T20:22:19.000Z","updated_at":"2022-12-13T23:20:28.000Z","dependencies_parsed_at":"2022-08-30T07:12:47.907Z","dependency_job_id":null,"html_url":"https://github.com/Liftitapp/elibom_ex","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liftitapp%2Felibom_ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liftitapp%2Felibom_ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liftitapp%2Felibom_ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liftitapp%2Felibom_ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Liftitapp","download_url":"https://codeload.github.com/Liftitapp/elibom_ex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252563816,"owners_count":21768525,"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":[],"created_at":"2024-12-13T12:31:49.993Z","updated_at":"2025-05-05T19:41:40.735Z","avatar_url":"https://github.com/Liftitapp.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElibomEx\n\n[![Build Status](https://travis-ci.org/Liftitapp/elibom_ex.svg?branch=master)](https://travis-ci.org/Liftitapp/elibom_ex)\n\nElixir wrapper for delivering and managing your Elibom's API.\n\n## Installation\n\nElibomEx can be installed from Hex:\n\n```elixir\ndef deps do\n  [{:elibom_ex, \"~\u003e 0.1.0\"}]\nend\n```\n\nOr from Github\n\n```elixir\ndef deps do\n  [{:elibom_ex, github: \"liftitapp/elibom_ex\"}]\nend\n```\n\n## Configuration\n\nIn one of your configuration files, include your Elibom API key, for example:\n\n```elixir\nconfig :elibom_ex, username:  {:system, \"ELIBOM_USERNAME\"},\n                   password: {:system, \"ELIBOM_USERNAME\"}\n```\n\nFor security, I recommend that you use environment variables rather than hard\ncoding your account credentials. If you don't already have an environment\nvariable manager, you can create a `.env` file in your project with the\nfollowing content:\n\n```bash\nexport ELIBOM_USERNAME=\u003caccount email here\u003e\nexport ELIBOM_PASSWORD=\u003capi token\u003e\n```\n\nThen, just be sure to run `source .env` in your shell before compiling your\nproject.\n\n### Multiple Environments\nIf you want to use different Twilio credentials for different environments, then\ncreate separate Mix configuration files for each environment. To do this, change\n`config/config.exs` to look like this:\n\n```elixir\n# config/config.exs\n\nuse Mix.Config\n\n# shared configuration for all environments here ...\n\nimport_config \"#{Mix.env}.exs\"\n```\n\nThen, create a `config/#{environment_name}.exs` file for each environment. You\ncan then set the `config :elibom_ex` variables differently in each file.\n\n## Usage\n\nCheck the [docs](https://hexdocs.pm/elibom_ex/) for complete usage.\n\n```elixir\n# Dispatch a new SMS\nElibomEx.send_sms(%{to: \"573140000000\", text: \"Hi from Elibom\"})\n\n# You can also schedule SMS that will be dispatched in the exact date/time specified,\n# format must be provided in the yyyy-mm-dd hh:mm format (e.g: 2014-02-1818 19:10)\nElibomEx.send_sms(%{to: \"573140000000\", text: \"Hi from Elibom\", scheduleDate: \"2014-02-18 19:10\"})\n\n# Shows the status of provided SMS\nElibomEx.show_sms(\"sms_id\")\n\n# Show the state of a scheduled SMS\nElibomEx.show_scheduled_sms(\"scheduled_sms_id\")\n\n# Cancel a scheduled SMS\nElibomEx.cancel_scheduled_sms(\"scheduled_sms_id\")\n\n# Consult your account details\nElibomEx.show_account\n\n# Show all the users related with your account. If you need to fetch a specific user data,\n# just provide it's Elibom user id.\nElibomEx.show_users\n```\n\n### Supported Endpoints\n\n#### Deliveries\n\n- [Send SMS](https://www.elibom.com/developers#enviar).\n- [Consult delivery](https://www.elibom.com/developers#consultar).\n- [Consult scheduled SMS](https://www.elibom.com/developers#consult-prog).\n- [Cancel scheduled SMS](https://www.elibom.com/developers#delete).\n- [Send SMS](https://www.elibom.com/developers#enviar).\n\n#### Account\n\n- [Consult account](https://www.elibom.com/developers#consultar-cuenta).\n- [Consult users](https://www.elibom.com/developers#consultar-usuarios).\n- [Consult user](https://www.elibom.com/developers#consultar-usuario).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliftitapp%2Felibom_ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliftitapp%2Felibom_ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliftitapp%2Felibom_ex/lists"}