{"id":20871880,"url":"https://github.com/dimuska139/sendpulse-sdk-go","last_synced_at":"2025-09-03T02:35:55.214Z","repository":{"id":48939243,"uuid":"165074421","full_name":"dimuska139/sendpulse-sdk-go","owner":"dimuska139","description":"Go library for sending mail with the Sendpuse.","archived":false,"fork":false,"pushed_at":"2024-12-15T20:40:43.000Z","size":279,"stargazers_count":20,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-08T06:04:47.730Z","etag":null,"topics":["email","email-marketing","go","golang","sendpulse","unofficial"],"latest_commit_sha":null,"homepage":"https://sendpulse.com","language":"Go","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/dimuska139.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-10T14:31:03.000Z","updated_at":"2025-05-16T17:58:47.000Z","dependencies_parsed_at":"2024-06-19T00:27:37.337Z","dependency_job_id":"d0933255-6a11-4a81-867a-e6d79e8eeffb","html_url":"https://github.com/dimuska139/sendpulse-sdk-go","commit_stats":{"total_commits":88,"total_committers":4,"mean_commits":22.0,"dds":"0.045454545454545414","last_synced_commit":"1fccd7a5d510623dbb2764068d34a97c956a30e2"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/dimuska139/sendpulse-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimuska139%2Fsendpulse-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimuska139%2Fsendpulse-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimuska139%2Fsendpulse-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimuska139%2Fsendpulse-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimuska139","download_url":"https://codeload.github.com/dimuska139/sendpulse-sdk-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimuska139%2Fsendpulse-sdk-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264207033,"owners_count":23572716,"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":["email","email-marketing","go","golang","sendpulse","unofficial"],"created_at":"2024-11-18T06:18:30.095Z","updated_at":"2025-07-08T06:06:31.163Z","avatar_url":"https://github.com/dimuska139.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SendPulse REST client library (unofficial)\nAn unofficial SendPulse SDK client library for Go (Golang). This library allows to use \nthe SendPulse API via Go.\n\nSendPulse API official documentation [https://sendpulse.com/api](https://sendpulse.com/api)\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/dimuska139/sendpulse-sdk-go.svg)](https://pkg.go.dev/github.com/dimuska139/tilda-go)\n[![codecov](https://codecov.io/github/dimuska139/sendpulse-sdk-go/graph/badge.svg?token=8DVzSE0UcZ)](https://codecov.io/gh/dimuska139/sendpulse-sdk-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/dimuska139/sendpulse-sdk-go)](https://goreportcard.com/report/github.com/dimuska139/sendpulse-sdk-go)\n[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/dimuska139/sendpulse-sdk-go/blob/master/LICENSE)\n\n### Installation\n\n```shell\ngo get -u github.com/dimuska139/sendpulse-sdk-go/v8\n```\n\n### Usage\n```go\npackage main\n\nimport (\n    \"context\"\n    \"fmt\"\n    sendpulse \"github.com/dimuska139/sendpulse-sdk-go/v8\"\n    \"net/http\"\n)\n\nfunc main() {\n    config := \u0026sendpulse.Config{\n        UserID: \"\",\n        Secret: \"\",\n    }\n    client := sendpulse.NewClient(http.DefaultClient, config)\n\n    emails := []*sendpulse.EmailToAdd {\n        \u0026sendpulse.EmailToAdd{\n            Email:     \"test@test.com\",\n            Variables: map[string]any{\"age\": 21, \"weight\": 99},\n        },\n    }\n    \n    ctx := context.Background()\n    if err := client.Emails.MailingLists.SingleOptIn(ctx, 1266208, emails); err != nil {\n        fmt.Println(err)\n    }\n    fmt.Println(*emails[0])\n}\n```\n\nThe tests should be considered a part of the documentation.\n\n### License\n[The MIT License (MIT)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimuska139%2Fsendpulse-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimuska139%2Fsendpulse-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimuska139%2Fsendpulse-sdk-go/lists"}