{"id":15612335,"url":"https://github.com/jpalumickas/mailerlite-ruby","last_synced_at":"2025-04-07T15:05:28.103Z","repository":{"id":7465817,"uuid":"56453403","full_name":"jpalumickas/mailerlite-ruby","owner":"jpalumickas","description":"Ruby wrapper for MailerLite API v2","archived":false,"fork":false,"pushed_at":"2025-03-25T02:17:33.000Z","size":178,"stargazers_count":32,"open_issues_count":5,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T11:33:49.442Z","etag":null,"topics":["hacktoberfest","mailerlite","mailerlite-api","rails","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpalumickas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2016-04-17T19:06:43.000Z","updated_at":"2025-02-05T22:47:02.000Z","dependencies_parsed_at":"2024-06-21T17:38:44.149Z","dependency_job_id":"58a52fc8-9dd7-4318-9cd3-7b3a7720c44a","html_url":"https://github.com/jpalumickas/mailerlite-ruby","commit_stats":{"total_commits":183,"total_committers":12,"mean_commits":15.25,"dds":0.1202185792349727,"last_synced_commit":"21ed2756bf4cf9a1aeeb7660def4fa3c2adcc842"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpalumickas%2Fmailerlite-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpalumickas%2Fmailerlite-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpalumickas%2Fmailerlite-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpalumickas%2Fmailerlite-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpalumickas","download_url":"https://codeload.github.com/jpalumickas/mailerlite-ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675597,"owners_count":20977376,"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":["hacktoberfest","mailerlite","mailerlite-api","rails","ruby","ruby-on-rails"],"created_at":"2024-10-03T06:41:50.293Z","updated_at":"2025-04-07T15:05:28.097Z","avatar_url":"https://github.com/jpalumickas.png","language":"Ruby","readme":"# MailerLite API v1 Ruby wrapper\n\nA Ruby gem which helps to communicate with [MailerLite][mailerlite] API.\n\n[![Gem Version](https://img.shields.io/gem/v/mailerlite.svg?style=flat-square)][rubygems]\n[![Coverage Status](https://img.shields.io/codecov/c/github/jpalumickas/mailerlite-ruby?style=flat-square)][codecov]\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'mailerlite'\n```\n\n## Usage\n\nBefore making any request, you should authenticate first. Use the response object to\nmake requests afterward.\nSee [create a campaign][create_a_campaign] example.\n\n### Authentication\n\nWhen you sign up for an account, you are given an **API key**. You authenticate to\nthe [MailerLite][mailerlite] API by providing your API key in the request.\nYou can find your API key in page: Integrations » Developer API.\n\n```ruby\nclient = MailerLite::Client.new(api_key: 'my-secret-api-key')\n```\n\nExample:\n\n```ruby\nclient.groups\n```\n\nOr create file under `config/initializers/mailerlite.rb`\n\n```ruby\nMailerLite.configure do |config|\n  config.api_key = 'my-secret-api-key'\n  # config.timeout = 10\nend\n```\n\nWhen you configured global settings in file, then you can request methods\non `MailerLite` class directly.\n\nExample:\n\n```ruby\nMailerLite.campaigns\n```\n\nSee more documentation in [examples][examples] directory.\n\n## Supported Ruby Versions\n\nThis library aims to support and is [tested against][github_actions] the following Ruby\nimplementations:\n\n* Ruby 2.7.0\n* Ruby 3.0.0\n* Ruby 3.1.0\n* Ruby 3.2.0\n* Ruby 3.3.0\n* Ruby 3.4.0\n* Truffleruby\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License][license].\n\n[rubygems]: https://rubygems.org/gems/mailerlite\n[codecov]: https://codecov.io/gh/jpalumickas/mailerlite-ruby\n[github_actions]: https://github.com/jpalumickas/mailerlite-ruby/actions\n\n[license]: https://raw.githubusercontent.com/jpalumickas/mailerlite-ruby/master/LICENSE\n[create_a_campaign]: https://raw.githubusercontent.com/jpalumickas/mailerlite-ruby/master/examples/create_campaign.md\n[examples]: https://github.com/jpalumickas/mailerlite-ruby/tree/master/examples\n\n[mailerlite]: https://www.mailerlite.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpalumickas%2Fmailerlite-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpalumickas%2Fmailerlite-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpalumickas%2Fmailerlite-ruby/lists"}