{"id":50769859,"url":"https://github.com/sgerrand/ex_attio","last_synced_at":"2026-06-11T17:02:07.879Z","repository":{"id":352628835,"uuid":"1216035394","full_name":"sgerrand/ex_attio","owner":"sgerrand","description":"Elixir client for the Attio API","archived":false,"fork":false,"pushed_at":"2026-06-03T12:02:39.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-03T13:15:37.070Z","etag":null,"topics":["api-client","api-client-elixir","attio-sdk","elixir-library","hex-package"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/attio","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgerrand.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"sgerrand","patreon":"sgerrand"}},"created_at":"2026-04-20T13:55:48.000Z","updated_at":"2026-06-03T11:32:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sgerrand/ex_attio","commit_stats":null,"previous_names":["sgerrand/ex_attio"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sgerrand/ex_attio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fex_attio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fex_attio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fex_attio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fex_attio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgerrand","download_url":"https://codeload.github.com/sgerrand/ex_attio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fex_attio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34208761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-client-elixir","attio-sdk","elixir-library","hex-package"],"created_at":"2026-06-11T17:02:07.193Z","updated_at":"2026-06-11T17:02:07.866Z","avatar_url":"https://github.com/sgerrand.png","language":"Elixir","funding_links":["https://github.com/sponsors/sgerrand","https://patreon.com/sgerrand"],"categories":[],"sub_categories":[],"readme":"# Attio\n\n[![Test Status](https://github.com/sgerrand/ex_attio/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sgerrand/ex_attio/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/sgerrand/ex_attio/badge.svg?branch=main)](https://coveralls.io/github/sgerrand/ex_attio?branch=main)\n[![Hex Version](https://img.shields.io/hexpm/v/attio.svg)](https://hex.pm/packages/attio)\n[![Hex Docs](https://img.shields.io/badge/docs-hexpm-blue.svg)](https://hexdocs.pm/attio/)\n\nAn Elixir client for the [Attio REST API](https://developers.attio.com).\n\n## Installation\n\nAdd `attio` to your dependencies in `mix.exs`:\n\n\u003c!-- x-release-please-start-version --\u003e\n\n```elixir\ndef deps do\n  [\n    {:attio, \"~\u003e 0.3.0\"}\n  ]\nend\n```\n\n\u003c!-- x-release-please-end --\u003e\n\n## Usage\n\n```elixir\nclient = Attio.Client.new(api_key: System.fetch_env!(\"ATTIO_API_KEY\"))\n\n# List people\n{:ok, response} = Attio.Records.list(client, \"people\")\n\n# Stream all companies across pages\ncompanies =\n  client\n  |\u003e Attio.Records.stream(\"companies\")\n  |\u003e Enum.to_list()\n\n# Create a person record\n{:ok, record} =\n  Attio.Records.create(client, \"people\", %{\n    \"name\" =\u003e [%{\"first_name\" =\u003e \"Alice\", \"last_name\" =\u003e \"Smith\"}],\n    \"email_addresses\" =\u003e [%{\"email_address\" =\u003e \"alice@example.com\"}]\n  })\n\n# Upsert (assert) a record\n{:ok, %{\"action\" =\u003e action}} =\n  Attio.Records.assert(client, \"people\", %{\n    \"email_addresses\" =\u003e [%{\"email_address\" =\u003e \"alice@example.com\"}]\n  })\n```\n\nAll functions return `{:ok, response}` or `{:error, %Attio.Error{}}`. See the\n`Attio` module for a full resource reference and the [Attio API docs](https://developers.attio.com)\nfor attribute value formats.\n\n## Development\n\n### Prerequisites\n\nThis project targets Elixir ~\u003e 1.17 and OTP 25–28. The exact versions used for\ndevelopment are pinned in `.tool-versions`:\n\n- Erlang 28.4\n- Elixir 1.19.4-otp-28\n\nIf you use [asdf](https://asdf-vm.com) or [mise](https://mise.jdx.dev), the\ncorrect versions will be selected automatically.\n\n### Getting started\n\n```bash\nmix deps.get        # fetch dependencies\nmix test            # run the test suite\n```\n\n### Code quality\n\n```bash\nmix format                   # auto-format source files\nmix format --check-formatted # check formatting (run by CI)\nmix credo --strict           # static analysis\nmix dialyzer                 # type analysis (run by CI; first run builds the PLT)\n```\n\n### Generating documentation\n\n```bash\nmix docs\n```\n\nOpen `doc/index.html` in a browser to preview the generated site.\n\n## License\n\nAttio is [released under the BSD 2-Clause license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgerrand%2Fex_attio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgerrand%2Fex_attio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgerrand%2Fex_attio/lists"}