{"id":13509555,"url":"https://github.com/duartejc/mailchimp","last_synced_at":"2025-04-05T19:13:13.146Z","repository":{"id":31951001,"uuid":"35520826","full_name":"duartejc/mailchimp","owner":"duartejc","description":"A basic Elixir wrapper for version 3 of the MailChimp API","archived":false,"fork":false,"pushed_at":"2024-06-03T23:40:53.000Z","size":658,"stargazers_count":48,"open_issues_count":3,"forks_count":56,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T17:13:10.916Z","etag":null,"topics":["elixir","mailchimp","mailchimp-api"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/duartejc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"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":"2015-05-13T01:11:11.000Z","updated_at":"2024-10-02T16:35:58.000Z","dependencies_parsed_at":"2023-10-03T10:15:18.736Z","dependency_job_id":"4e83a5e1-9c6e-4a69-afec-69eee4d72a0c","html_url":"https://github.com/duartejc/mailchimp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duartejc%2Fmailchimp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duartejc%2Fmailchimp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duartejc%2Fmailchimp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duartejc%2Fmailchimp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duartejc","download_url":"https://codeload.github.com/duartejc/mailchimp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247386265,"owners_count":20930619,"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":["elixir","mailchimp","mailchimp-api"],"created_at":"2024-08-01T02:01:09.528Z","updated_at":"2025-04-05T19:13:13.122Z","avatar_url":"https://github.com/duartejc.png","language":"Elixir","funding_links":[],"categories":["Third Party APIs"],"sub_categories":[],"readme":"# MailChimp\n\n[![Module Version](https://img.shields.io/hexpm/v/mailchimp.svg)](https://hex.pm/packages/mailchimp)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/mailchimp/)\n[![Total Download](https://img.shields.io/hexpm/dt/mailchimp.svg)](https://hex.pm/packages/mailchimp)\n[![License](https://img.shields.io/hexpm/l/mailchimp.svg)](https://github.com/duartejc/mailchimp/blob/master/LICENSE.md)\n[![Last Updated](https://img.shields.io/github/last-commit/duartejc/mailchimp.svg)](https://github.com/duartejc/mailchimp/commits/master)\n\nThis is a basic Elixir wrapper for version 3 of the MailChimp API.\n\n## Installation\n\nFirst, add MailChimp lib to your `mix.exs` dependencies:\n\n```elixir\ndef deps do\n  [\n    {:mailchimp, \"~\u003e 0.2.0\"}\n  ]\nend\n```\n\nand run `$ mix deps.get`\n\n## Usage\n\nPut your API key in your `config.exs` file:\n\n```elixir\nconfig :mailchimp,\n  api_key: \"your api-us10\"\n```\n\nor\n\n```elixir\nApplication.put_env(:mailchimp, :api_key, \"your apikey-us12\")\n```\n\n### Getting Account Details\n\n```elixir\nMailchimp.Account.get!()\n```\n\n### Getting All Lists\n\n```elixir\nMailchimp.Account.get_all_lists!\n```\n\n### Adding a Member to a List\n\n```elixir\nMailchimp.List.create_member(list, \"test@email.com\", \"subscribed\", %{}, %{})\n```\n\n### Creating a new Campaign\n\n```elixir\nMailchimp.Campaign.create!(:regular)\n```\n\n## Copyright and License\n\nCopyright (c) 2017 Jean Duarte\n\nThis work is free. You can redistribute it and/or modify it under the\nterms of the MIT License. See the [LICENSE.md](./LICENSE.md) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduartejc%2Fmailchimp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduartejc%2Fmailchimp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduartejc%2Fmailchimp/lists"}