{"id":35005851,"url":"https://github.com/booscaaa/zenvia-go-sdk","last_synced_at":"2025-12-27T04:37:41.257Z","repository":{"id":109785997,"uuid":"425040503","full_name":"booscaaa/zenvia-go-sdk","owner":"booscaaa","description":"SDK to provide access to Zenvia API (2.0)","archived":false,"fork":false,"pushed_at":"2021-11-05T18:32:52.000Z","size":9,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T17:48:40.761Z","etag":null,"topics":["bot","message","sms","zenvia"],"latest_commit_sha":null,"homepage":"https://www.zenvia.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/booscaaa.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":"2021-11-05T18:00:46.000Z","updated_at":"2021-11-05T19:40:58.000Z","dependencies_parsed_at":"2023-03-13T14:04:34.364Z","dependency_job_id":null,"html_url":"https://github.com/booscaaa/zenvia-go-sdk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/booscaaa/zenvia-go-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booscaaa%2Fzenvia-go-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booscaaa%2Fzenvia-go-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booscaaa%2Fzenvia-go-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booscaaa%2Fzenvia-go-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/booscaaa","download_url":"https://codeload.github.com/booscaaa/zenvia-go-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booscaaa%2Fzenvia-go-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28072403,"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-12-27T02:00:05.897Z","response_time":58,"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":["bot","message","sms","zenvia"],"created_at":"2025-12-27T04:37:38.356Z","updated_at":"2025-12-27T04:37:41.251Z","avatar_url":"https://github.com/booscaaa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eZenvia API - Golang SDK\u003c/h1\u003e\n  \u003cp align=\"center\"\u003eZenvia API (2.0) \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://pkg.go.dev/github.com/booscaaa/zenvia-go-sdk\"\u003e\u003cimg alt=\"Reference\" src=\"https://img.shields.io/badge/go-reference-purple?style=for-the-badge\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/booscaaa/zenvia-go-sdk/releases/latest\"\u003e\u003cimg alt=\"Release\" src=\"https://img.shields.io/github/v/release/booscaaa/zenvia-go-sdk.svg?style=for-the-badge\"\u003e\u003c/a\u003e\n    \u003ca href=\"/LICENSE\"\u003e\u003cimg alt=\"Software License\" src=\"https://img.shields.io/badge/license-MIT-red.svg?style=for-the-badge\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/booscaaa/zenvia-go-sdk/actions/workflows/test.yaml\"\u003e\u003cimg alt=\"Test status\" src=\"https://img.shields.io/github/workflow/status/booscaaa/zenvia-go-sdk/Test?label=TESTS\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/booscaaa/zenvia-go-sdk\"\u003e\u003cimg alt=\"Coverage\" src=\"https://img.shields.io/codecov/c/github/booscaaa/zenvia-go-sdk/master.svg?style=for-the-badge\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## Why?\n\nThis project is part of my personal portfolio, so, I'll be happy if you could provide me any feedback about the project, code, structure or anything that you can report that could make me a better developer!\n\nEmail-me: boscardinvinicius@gmail.com\n\nConnect with me at [LinkedIn](https://www.linkedin.com/in/booscaaa/).\n\n\u003cbr\u003e\n\n## Functionalities\n\n- Send single SMS\n\n\u003cbr\u003e\n\n## Getting Started\n\n### Prerequisites\n\nTo run this project in the development mode, you'll need to have a basic environment to run:\n\n- A Golang SDK, that can be found [here](https://golang.org/).\n\n\u003cbr\u003e\n\n### Installing\n\n```bash\n$ go get github.com/booscaaa/zenvia-go-sdk\n```\n\n\u003cbr\u003e\n\n### Create a config.json file inside your project like this\n\n**The access api_token can be found into Zenvia account**\n\n```json\n{\n  \"zenvia\": {\n    \"api_token\": \"api token\"\n  }\n}\n```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n### Create main.go file\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    \"github.com/booscaaa/zenvia-go-sdk/zenvia\"\n    \"github.com/spf13/viper\"\n)\n\nfunc init() {\n    viper.SetConfigFile(`config.json`)\n    err := viper.ReadInConfig()\n    if err != nil {\n        panic(err)\n    }\n}\n\nfunc main() {\n    // Get configuration variavables\n    authToken := viper.GetString(\"zenvia.auth_token\")\n\n    // Configure Sandbox access into Zenvia api\n\n    zenviaAccess := zenvia.ZenviaConfig().\n      ApiToken(authToken).\n      Sandbox()\n\n    zenviaSdk := zenvia.Instance(zenviaAccess)\n\n    // From and To with this format: PREFIX DDD NUMBER WITHOUT MASK\n    zenviaSdk.SendSingleSMS(\"5554999999999\", \"5554999999999\", \"Message\")\n\n    //see more examples into examples folder\n}\n```\n\n# Running local\n\n```bash\ngo run main.go\n```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Api application built With\n\n- [Viper](https://github.com/spf13/viper)\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Contributing\n\nYou can send how many PR's do you want, I'll be glad to analyze and accept them! And if you have any question about the project...\n\nEmail-me: boscardinvinicius@gmail.com\n\nConnect with me at [LinkedIn](https://www.linkedin.com/in/booscaaa/)\n\nThank you!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](https://github.com/booscaaa/zenvia-go-sdk/blob/master/LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbooscaaa%2Fzenvia-go-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbooscaaa%2Fzenvia-go-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbooscaaa%2Fzenvia-go-sdk/lists"}