{"id":32182040,"url":"https://github.com/anthontaylor/clj-sendgrid","last_synced_at":"2025-10-31T10:32:16.207Z","repository":{"id":62431504,"uuid":"96479115","full_name":"anthontaylor/clj-sendgrid","owner":"anthontaylor","description":"A Clojure Library for the  Sendgrid API v3","archived":false,"fork":false,"pushed_at":"2018-10-10T18:53:06.000Z","size":26,"stargazers_count":8,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T22:57:38.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthontaylor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-06T23:09:08.000Z","updated_at":"2021-09-04T06:34:10.000Z","dependencies_parsed_at":"2022-11-01T21:00:37.235Z","dependency_job_id":null,"html_url":"https://github.com/anthontaylor/clj-sendgrid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anthontaylor/clj-sendgrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthontaylor%2Fclj-sendgrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthontaylor%2Fclj-sendgrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthontaylor%2Fclj-sendgrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthontaylor%2Fclj-sendgrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthontaylor","download_url":"https://codeload.github.com/anthontaylor/clj-sendgrid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthontaylor%2Fclj-sendgrid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280793809,"owners_count":26392218,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"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":[],"created_at":"2025-10-21T22:57:57.539Z","updated_at":"2025-10-31T10:32:16.201Z","avatar_url":"https://github.com/anthontaylor.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/anthontaylor/clj-sendgrid.svg?branch=master)](https://travis-ci.org/anthontaylor/clj-sendgrid)\n[![codecov](https://codecov.io/gh/anthontaylor/clj-sendgrid/branch/master/graph/badge.svg)](https://codecov.io/gh/anthontaylor/clj-sendgrid)\n\n# clj-sendgrid\nA Clojure Library for the  Sendgrid API v3\n\n[![Clojars Project](http://clojars.org/clj-sendgrid/latest-version.svg)](https://clojars.org/clj-sendgrid)\n\n## Usage\nclj-sendgrid is available in Clojars. Add this ```:dependency``` to your Leiningen ```project.clj```:\n\n```\n[clj-sendgrid \"0.1.2\"]\n```\n\nInclude in your namespace\n\n```\n(:require [sendgrid.core :as sg])\n```\n\n### Each request below requires an api-token\n```\n(def api-token \"Bearer YOURTOKENVALUE\")\n```\n\n```\n(get-alerts api-token)\n\n(get-bounces api-token)\n\n(get-blocks api-token)\n\n(get-invalid-emails api-token)\n\n(get-spam-reports api-token)\n```\n\n### You can also add parameters as a map\n\n```\n(get-blocks api-token {:limit 1})\n```\n\n### Basic usage of sending an email\n```\n(send-email {:api-token api-token\n             :from test@test.com\n             :to abc@abc.com\n             :subject \"Test Subject\"\n             :message \"Test Message\"})\n```\n### Email can be sent to multiple recipients\n```\n(send-email {:api-token api-token\n             :from test@test.com\n             :to [abc@abc.com hello@abc.com]\n             :subject \"Test Subject\"\n             :message \"Test Message\"})\n```\n\n### Basic usage of sending an email with file content\n\n```\n(send-email {:api-token api-token\n             :from test@test.com\n             :to abc@abc.com\n             :subject \"Test Subject\"\n             :message \"Test Message\"\n             :filename \"Test.txt\"\n             :content (string-\u003eb64-string \"Hello World)\"})\n```\n### Sendgrid API\nhttps://sendgrid.com/docs/API_Reference/Web_API_v3/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthontaylor%2Fclj-sendgrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthontaylor%2Fclj-sendgrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthontaylor%2Fclj-sendgrid/lists"}