{"id":14955947,"url":"https://github.com/wedsonlima/ractive_campaign","last_synced_at":"2026-01-28T05:03:29.521Z","repository":{"id":56890282,"uuid":"426632974","full_name":"wedsonlima/ractive_campaign","owner":"wedsonlima","description":"Ruby API wrapper for ActiveCampaign API v3","archived":false,"fork":false,"pushed_at":"2024-08-29T16:22:51.000Z","size":72,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T09:11:32.901Z","etag":null,"topics":["activecampaign","activecampaign-api","rails","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/ractive_campaign","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/wedsonlima.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-11-10T13:30:20.000Z","updated_at":"2024-08-29T16:22:55.000Z","dependencies_parsed_at":"2024-09-22T00:01:28.670Z","dependency_job_id":"01ae5bb4-8f34-49ab-ba9c-a7fe74bb4338","html_url":"https://github.com/wedsonlima/ractive_campaign","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"fe11314c17538573ecc90583bb436262a999e081"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wedsonlima%2Fractive_campaign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wedsonlima%2Fractive_campaign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wedsonlima%2Fractive_campaign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wedsonlima%2Fractive_campaign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wedsonlima","download_url":"https://codeload.github.com/wedsonlima/ractive_campaign/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237944040,"owners_count":19391588,"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":["activecampaign","activecampaign-api","rails","ruby"],"created_at":"2024-09-24T13:12:03.912Z","updated_at":"2025-10-24T09:30:25.528Z","avatar_url":"https://github.com/wedsonlima.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/ractive_campaign.svg)](https://badge.fury.io/rb/ractive_campaign) [![Maintainability](https://api.codeclimate.com/v1/badges/c23221fc334b63af9a07/maintainability)](https://codeclimate.com/github/wedsonlima/ractive_campaign/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/c23221fc334b63af9a07/test_coverage)](https://codeclimate.com/github/wedsonlima/ractive_campaign/test_coverage)\n\n# RactiveCampaign\n\nRuby API wrapper for ActiveCampaign API v3\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"ractive_campaign\"\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install ractive_campaign\n\n## Usage\n\n### Config\n\n```ruby\n# config/initializers/ractive_campaign.rb\n\nActiveCampaign.configure do |config|\n  config.api_url = ENV[\"AC_API_URL\"] # ex.: https://mystartup.api-us1.com/api/3\n  config.api_key = ENV[\"AC_API_KEY\"]\nend\n```\n\n### Examples\n\n#### Contact\n\n```ruby\n# new\nharry = ActiveCampaign::Contact.new firstName: \"Harry\",\n                                    lastName: \"Potter\",\n                                    email: \"potter.hurray@hogwash.com\"\nharry.save\n\n# create\nhermione = ActiveCampaign::Contact.new firstName: \"Hermione\",\n                                       lastName: \"Granger\",\n                                       email: \"mione@drtooth.com\"\n\n# update\nron = ActiveCampaign::Contact.create email: \"ron1988@hogwash.com\", lastName: \"Weasley\"\nron.firstName = \"Ron\"\nron.save\n```\n\n#### Tag\n\n```ruby\nActiveCampaign::Tag.create tag: \"hogwarts\"\n```\n\n#### Contact tags\n\n```ruby\nharry = ActiveCampaign::Contact.find_by email: \"potter.hurray@hogwash.com\"\n\n# add a contact tag\nharry.add_tag \"hogwargs\"\n\n# remove a tag\nharry.remove_tag \"hogwarts\"\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/wedsonlima/ractive_campaign. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/ractive_campaign/blob/master/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the RactiveCampaign project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/ractive_campaign/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwedsonlima%2Fractive_campaign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwedsonlima%2Fractive_campaign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwedsonlima%2Fractive_campaign/lists"}