{"id":19251688,"url":"https://github.com/tonicpow/go-tonicpow","last_synced_at":"2025-04-21T13:30:35.689Z","repository":{"id":37622777,"uuid":"215606155","full_name":"tonicpow/go-tonicpow","owner":"tonicpow","description":"The official Go implementation for interacting with the TonicPow API","archived":false,"fork":false,"pushed_at":"2025-04-17T12:02:54.000Z","size":631,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T02:40:48.437Z","etag":null,"topics":["api","conversions","go","golang","gomod","gomodule","tonic","tonicpow","tonicpow-api"],"latest_commit_sha":null,"homepage":"https://docs.tonicpow.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/tonicpow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"tonicpow","custom":"https://tonicpow.com/?utm_source=github\u0026utm_medium=sponsor-link\u0026utm_campaign=go-tonicpow\u0026utm_term=go-tonicpow\u0026utm_content=go-tonicpow"}},"created_at":"2019-10-16T17:30:26.000Z","updated_at":"2025-04-17T12:02:51.000Z","dependencies_parsed_at":"2023-12-18T16:59:17.303Z","dependency_job_id":"78b99746-4ed7-48ac-9d05-80539acf284f","html_url":"https://github.com/tonicpow/go-tonicpow","commit_stats":null,"previous_names":["tonicpow/tonicpow-go"],"tags_count":181,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonicpow%2Fgo-tonicpow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonicpow%2Fgo-tonicpow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonicpow%2Fgo-tonicpow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonicpow%2Fgo-tonicpow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonicpow","download_url":"https://codeload.github.com/tonicpow/go-tonicpow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250064490,"owners_count":21368915,"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":["api","conversions","go","golang","gomod","gomodule","tonic","tonicpow","tonicpow-api"],"created_at":"2024-11-09T18:23:30.997Z","updated_at":"2025-04-21T13:30:35.249Z","avatar_url":"https://github.com/tonicpow.png","language":"Go","funding_links":["https://github.com/sponsors/tonicpow","https://tonicpow.com/?utm_source=github\u0026utm_medium=sponsor-link\u0026utm_campaign=go-tonicpow\u0026utm_term=go-tonicpow\u0026utm_content=go-tonicpow"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\".github/IMAGES/go-tonicpow.png\" alt=\"TonicPow \u0026 Go\"\u003e\n\n\u003e The official Go implementation for interacting with the [TonicPow API](https://docs.tonicpow.com)\n\n[![Release](https://img.shields.io/github/release-pre/tonicpow/go-tonicpow.svg?logo=github\u0026style=flat\u0026v=1)](https://github.com/tonicpow/go-tonicpow/releases)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/tonicpow/go-tonicpow/run-tests.yml?branch=master\u0026logo=github\u0026v=1)](https://github.com/tonicpow/go-tonicpow/actions)\n[![Report](https://goreportcard.com/badge/github.com/tonicpow/go-tonicpow?style=flat\u0026v=1)](https://goreportcard.com/report/github.com/tonicpow/go-tonicpow)\n[![codecov](https://codecov.io/gh/tonicpow/go-tonicpow/branch/master/graph/badge.svg?v=1)](https://codecov.io/gh/tonicpow/go-tonicpow)\n[![Go](https://img.shields.io/github/go-mod/go-version/tonicpow/go-tonicpow?v=1)](https://golang.org/)\n\u003cbr\u003e\n[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/tonicpow/go-tonicpow\u0026style=flat\u0026v=3)](https://mergify.io)\n[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/tonicpow/go-tonicpow)\n[![Slack](https://img.shields.io/badge/slack-tonicpow-orange.svg?logo=slack\u0026style=flat\u0026v=1)](https://join.slack.com/t/tonicpow/shared_invite/zt-mlccqx28-IEabvOGPx_QLyFJJbWE3hQ)\n\n\u003cbr/\u003e\n\n## Table of Contents\n- [Installation](#installation)\n- [Documentation](#documentation)\n- [Examples \u0026 Tests](#examples--tests)\n- [Benchmarks](#benchmarks)\n- [Code Standards](#code-standards)\n- [Usage](#usage)\n- [Maintainers](#maintainers)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003cbr/\u003e\n\n## Installation\n\n**go-tonicpow** requires a [supported release of Go](https://golang.org/doc/devel/release.html#policy).\n```shell script\ngo get -u github.com/tonicpow/go-tonicpow\n```\n\n\u003cbr/\u003e\n\n## Documentation\nYou can view the generated [documentation here](https://pkg.go.dev/github.com/tonicpow/go-tonicpow).\n\n### Features\n- [Client](client.go) is completely configurable\n- Using [heimdall http client](https://github.com/gojek/heimdall) with exponential backoff \u0026 more\n- Coverage for the [TonicPow.com API](https://docs.tonicpow.com/)\n    - [x] [Authentication](https://docs.tonicpow.com/#632ed94a-3afd-4323-af91-bdf307a399d2)\n    - [x] [Advertiser Profiles](https://docs.tonicpow.com/#2f9ec542-0f88-4671-b47c-d0ee390af5ea)\n    - [x] [Campaigns](https://docs.tonicpow.com/#5aca2fc7-b3c8-445b-aa88-f62a681f8e0c)\n    - [x] [Goals](https://docs.tonicpow.com/#316b77ab-4900-4f3d-96a7-e67c00af10ca)\n    - [x] [Conversions](https://docs.tonicpow.com/#75c837d5-3336-4d87-a686-d80c6f8938b9)\n    - [x] [Rates](https://docs.tonicpow.com/#fb00736e-61b9-4ec9-acaf-e3f9bb046c89)\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e\u003ccode\u003eLibrary Deployment\u003c/code\u003e\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr/\u003e\n\n[goreleaser](https://github.com/goreleaser/goreleaser) for easy binary or library deployment to GitHub and can be installed via: `brew install goreleaser`.\n\nThe [.goreleaser.yml](.goreleaser.yml) file is used to configure [goreleaser](https://github.com/goreleaser/goreleaser).\n\nUse `make release-snap` to create a snapshot version of the release, and finally `make release` to ship to production.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e\u003ccode\u003eMakefile Commands\u003c/code\u003e\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr/\u003e\n\nView all `makefile` commands\n```shell script\nmake help\n```\n\nList of all current commands:\n```text\nall                   Runs multiple commands\nclean                 Remove previous builds and any test cache data\nclean-mods            Remove all the Go mod cache\ncoverage              Shows the test coverage\ndiff                  Show the git diff\ngenerate              Runs the go generate command in the base of the repo\ngodocs                Sync the latest tag with GoDocs\nhelp                  Show this help message\ninstall               Install the application\ninstall-go            Install the application (Using Native Go)\ninstall-releaser      Install the GoReleaser application\nlint                  Run the golangci-lint application (install if not found)\nrelease               Full production release (creates release in Github)\nrelease               Runs common.release then runs godocs\nrelease-snap          Test the full release (build binaries)\nrelease-test          Full production test release (everything except deploy)\nreplace-version       Replaces the version in HTML/JS (pre-deploy)\nrun-examples          Runs all the examples\ntag                   Generate a new tag and push (tag version=0.0.0)\ntag-remove            Remove a tag if found (tag-remove version=0.0.0)\ntag-update            Update an existing tag to current commit (tag-update version=0.0.0)\ntest                  Runs lint and ALL tests\ntest-ci               Runs all tests via CI (exports coverage)\ntest-ci-no-race       Runs all tests via CI (no race) (exports coverage)\ntest-ci-short         Runs unit tests via CI (exports coverage)\ntest-no-lint          Runs just tests\ntest-short            Runs vet, lint and tests (excludes integration tests)\ntest-unit             Runs tests and outputs coverage\nuninstall             Uninstall the application (and remove files)\nupdate-linter         Update the golangci-lint package (macOS only)\nvet                   Run the Go vet application\n```\n\u003c/details\u003e\n\n\u003cbr/\u003e\n\n## Examples \u0026 Tests\nAll unit tests and [examples](examples) run via [GitHub Actions](https://github.com/tonicpow/go-tonicpow/actions) and\nuses [Go version 1.18.x](https://golang.org/doc/go1.18). View the [configuration file](.github/workflows/run-tests.yml).\n\n#### View all [real working examples](examples).\n- [Loading the Library](examples/new_client)\n- [Advertiser Profile Examples](examples/advertiser_profiles)\n- [Campaign Examples](examples/campaigns)\n- [Goal Examples](examples/goals)\n- [Conversion Examples](examples/conversions)\n- [Rates Example](examples/rates)\n\nRun all tests (including integration tests)\n```shell script\nmake test\n```\n\nRun tests (excluding integration tests)\n```shell script\nmake test-short\n```\n\n\u003cbr/\u003e\n\n## Benchmarks\nRun the Go [benchmarks](tonicpow_test.go):\n```shell script\nmake bench\n```\n\n\u003cbr/\u003e\n\n## Code Standards\nRead more about this Go project's [code standards](.github/CODE_STANDARDS.md).\n\n\u003cbr/\u003e\n\n## Usage\nCheckout all the [real working examples](examples).\n- [Loading the Library](examples/new_client)\n- [Advertiser Profile Examples](examples/advertiser_profiles)\n- [Campaign Examples](examples/campaigns)\n- [Goal Examples](examples/goals)\n- [Conversion Examples](examples/conversions)\n- [Rates Example](examples/rates)\n\n\u003cbr/\u003e\n\n## Maintainers\n| [\u003cimg src=\"https://github.com/mrz1836.png\" height=\"50\" alt=\"MrZ\" /\u003e](https://github.com/mrz1836) | [\u003cimg src=\"https://github.com/rohenaz.png\" height=\"50\" alt=\"Satchmo\" /\u003e](https://github.com/rohenaz) |\n|:------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------:|\n|                                [MrZ](https://github.com/mrz1836)                                 |                                [Satchmo](https://github.com/rohenaz)                                 |\n\n\u003cbr/\u003e\n\n## Contributing\nIf you're looking for a library using JavaScript, checkout [tonicpow-js](https://github.com/tonicpow/tonicpow-js)\n\nView the [contributing guidelines](.github/CONTRIBUTING.md) and follow the [code of conduct](.github/CODE_OF_CONDUCT.md).\n\nSupport the development of this project 🙏\n\n[![Donate](https://img.shields.io/badge/donate-bitcoin-brightgreen.svg?v=1)](https://tonicpow.com/?af=go-tonicpow) [![Twetch](https://img.shields.io/badge/share-twitter-00ACEE.svg?v=1)](https://twitter.com/intent/tweet?text=TonicPow%20integration%20with%20Go%20rocks!%20Check%20it%20out:%20https%3A%2F%2Ftncpw.co%2F7ca46e94) [![Twitter](https://img.shields.io/badge/share-twetch-085AF6.svg?v=1)](https://twetch.app/compose?description=TonicPow%20integration%20with%20Go%20rocks!%20Check%20it%20out:%20https%3A%2F%2Ftncpw.co%2F7ca46e94)\n\n[![Stars](https://img.shields.io/github/stars/tonicpow/go-tonicpow?label=Please%20like%20us\u0026style=social)](https://github.com/tonicpow/go-tonicpow/stargazers)\n\n\u003cbr/\u003e\n\n## License\n\n[![License](https://img.shields.io/github/license/tonicpow/go-tonicpow.svg?style=flat\u0026v=1)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonicpow%2Fgo-tonicpow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonicpow%2Fgo-tonicpow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonicpow%2Fgo-tonicpow/lists"}