{"id":15603171,"url":"https://github.com/varyonic/pocus","last_synced_at":"2025-04-24T07:33:49.079Z","repository":{"id":56888362,"uuid":"59785725","full_name":"varyonic/pocus","owner":"varyonic","description":"Unofficial Ruby API client for iContact API (f.k.a. Vocus), inspired by Active Resource.","archived":false,"fork":false,"pushed_at":"2020-07-03T18:54:14.000Z","size":93,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T23:51:21.914Z","etag":null,"topics":["api-client","api-wrapper","icontact-api","ruby-gem"],"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/varyonic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-26T21:56:42.000Z","updated_at":"2020-07-03T18:54:17.000Z","dependencies_parsed_at":"2022-08-20T23:40:44.651Z","dependency_job_id":null,"html_url":"https://github.com/varyonic/pocus","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varyonic%2Fpocus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varyonic%2Fpocus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varyonic%2Fpocus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varyonic%2Fpocus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varyonic","download_url":"https://codeload.github.com/varyonic/pocus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242432344,"owners_count":20127382,"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-client","api-wrapper","icontact-api","ruby-gem"],"created_at":"2024-10-03T03:01:55.247Z","updated_at":"2025-03-07T17:31:27.978Z","avatar_url":"https://github.com/varyonic.png","language":"Ruby","readme":"# Pocus\n\n[![Gem Version](https://badge.fury.io/rb/pocus.svg)](http://badge.fury.io/rb/pocus)\n[![Code Climate GPA](https://codeclimate.com/github/varyonic/pocus.svg)](https://codeclimate.com/github/varyonic/pocus)\n[![Travis CI Status](https://secure.travis-ci.org/varyonic/pocus.svg)](https://travis-ci.org/varyonic/pocus)\n\nUnofficial Ruby API client for [iContact API](https://www.icontact.com/developerportal) (f.k.a. Vocus), inspired by Active Resource.\n\n## Installation\n\nAdd to your application's Gemfile:\n\n```ruby\ngem 'pocus'\n```\n\nAnd then execute:\n\n    $ bundle\n\n## Requirements\n\niContact account, AppID and credentials, see the [iContact API Getting Started Guide](https://www.icontact.com/developerportal/documentation/start-building).\n\n## Usage\n\nConfigure a connection and connect to the account:\n\n```ruby\n    credentials = { host: 'app.icontact.com', app_id: a, username: u, password: p }\n    session = Pocus::Session.new(credentials)\n    session.logger = Rails.logger\n\taccount = Pocus::Account.new(session: session, account_id: account_id)\n```\n\nNavigate and update entities:\n\n```ruby\n\tfolder = acount.clientfolders.find(folder_id)\n\tfolder.contacts.create(contacts_data)\n```\n\nSee the specs for sample code.\n\n## Tests\n\nTo run the tests you will need your own iContact account with a test folder (name: 'My First List').  Set the following environment variables:\n\n```\nPOCUS_APP_ID=0b34...b478c\nPOCUS_USERNAME=vocus_api_sandbox@....com\nPOCUS_PASSWORD=...\nPOCUS_TEST_ACCOUNT=99...99\nPOCUS_TEST_CLIENT_FOLDER=9...9\n```\nTo test, run:\n\n    bundle exec rake\n\n## Contributions\n\nRead [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## History\n\nRead the [CHANGELOG](CHANGELOG.md) for details.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\nRead the [LICENSE](LICENSE.md) for details.\n\nCopyright (c) 2016-2019 [Varyonic](https://www.varyonic.com).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaryonic%2Fpocus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaryonic%2Fpocus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaryonic%2Fpocus/lists"}