{"id":23635221,"url":"https://github.com/interactive-pioneers/maileon","last_synced_at":"2025-10-25T09:03:22.685Z","repository":{"id":19888082,"uuid":"23152588","full_name":"interactive-pioneers/maileon","owner":"interactive-pioneers","description":"Ruby wrapper for Maileon API.","archived":false,"fork":false,"pushed_at":"2017-05-22T15:18:49.000Z","size":58,"stargazers_count":1,"open_issues_count":3,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-01T02:22:42.924Z","etag":null,"topics":["api-wrapper","doi","email","maileon","marketing"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interactive-pioneers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-20T14:55:26.000Z","updated_at":"2018-04-26T09:45:50.000Z","dependencies_parsed_at":"2022-08-05T06:00:17.002Z","dependency_job_id":null,"html_url":"https://github.com/interactive-pioneers/maileon","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/interactive-pioneers%2Fmaileon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-pioneers%2Fmaileon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-pioneers%2Fmaileon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-pioneers%2Fmaileon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interactive-pioneers","download_url":"https://codeload.github.com/interactive-pioneers/maileon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231590304,"owners_count":18396921,"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":["api-wrapper","doi","email","maileon","marketing"],"created_at":"2024-12-28T05:31:52.349Z","updated_at":"2025-10-25T09:03:22.606Z","avatar_url":"https://github.com/interactive-pioneers.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maileon [![Build Status](http://travis-ci.org/interactive-pioneers/maileon.svg?branch=master)](https://travis-ci.org/interactive-pioneers/maileon) [![Gem Version](https://badge.fury.io/rb/maileon.svg)](http://badge.fury.io/rb/maileon) [![Coverage Status](https://coveralls.io/repos/interactive-pioneers/maileon/badge.svg)](https://coveralls.io/r/interactive-pioneers/maileon)\n\nRuby wrapper for Maileon email marketing software API.\n\n- Supported Ruby versions:\n  - 2.2.3 (recommended)\n  - 2.1.6\n  - 2.0.0-p645\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'maileon'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install maileon\n\n## Usage\n\nBelow API requests are currently supported by the gem:\n\n### Ping\n\n``` ruby\napi_key = \"e30994fg0fig6t049u42j3gblgsr59043\"\nmaileon = Maileon::API.new(api_key, true)\nmaileon.ping\n```\n\n### Subscribe\n\n``` ruby\napi_key = \"e30994fg0fig6t049u42j3gblgsr59043\"\nmaileon = Maileon::API.new(api_key, true)\nattribs = {\n  :email =\u003e \"subscriber@email.com\"\n}\nbody = {\n  :email =\u003e \"subscriber@email.com\",\n  :custom_fields =\u003e {\n    :CUSTOM_FIELD_DEFINED_AT_MAILEON =\u003e \"1\"\n  },\n  :standard_fields =\u003e {\n    :SALUTATION =\u003e \"Herr\",\n    :GENDER =\u003e \"m\",\n    :FIRSTNAME =\u003e \"Max\",\n    :LASTNAME =\u003e \"Mustermann\",\n    :LOCALE =\u003e \"de_DE\",\n    :CITY =\u003e \"Hamburg\",\n    :COUNTRY =\u003e \"Germany\",\n    :ZIP =\u003e \"22675\",\n    :ADDRESS =\u003e \"Friedensallee\",\n    :HNR =\u003e \"9\"\n  }\n}\nmaileon.create_contact(attribs, body)\n```\n\n### Unsubscribe\n\n``` ruby\napi_key = \"e30994fg0fig6t049u42j3gblgsr59043\"\nmaileon = Maileon::API.new(api_key, true)\nattribs = {\n  :email =\u003e \"subscriber@email.com\"\n}\nmaileon.delete_contact(attribs)\n```\n\n## Contributing\n\n### Bug reports, suggestions\n\n- File all your issues, feature requests [here](https://github.com/interactive-pioneers/maileon/issues)\n- If filing a bug report, follow the convention of _Steps to reproduce_ / _What happens?_ / _What should happen?_\n- __If you're a developer, write a failing test instead of a bug report__ and send a Pull Request\n\n### Code\n\n1. Fork it ( https://github.com/[my-github-username]/maileon/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Develop your feature by concepts of [TDD](http://en.wikipedia.org/wiki/Test-driven_development). Run `guard` in parallel to automatically run your tests\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Licence\nCopyright © 2015 Interactive Pioneers GmbH. Licenced under [GPLv3](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractive-pioneers%2Fmaileon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finteractive-pioneers%2Fmaileon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractive-pioneers%2Fmaileon/lists"}