{"id":18384422,"url":"https://github.com/speakeasy-sdks/mergent-go","last_synced_at":"2025-04-11T23:47:49.718Z","repository":{"id":149314204,"uuid":"621219589","full_name":"speakeasy-sdks/mergent-go","owner":"speakeasy-sdks","description":"A go SDK for accessing the Mergent API.","archived":false,"fork":false,"pushed_at":"2024-04-02T21:19:38.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-11T23:47:46.823Z","etag":null,"topics":["api","go","golang","sdk","serverless"],"latest_commit_sha":null,"homepage":"https://mergent.co/","language":null,"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/speakeasy-sdks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-03-30T08:20:10.000Z","updated_at":"2023-03-30T08:59:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c3942cf-9573-40bf-9833-f0db12071e02","html_url":"https://github.com/speakeasy-sdks/mergent-go","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Fmergent-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Fmergent-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Fmergent-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Fmergent-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speakeasy-sdks","download_url":"https://codeload.github.com/speakeasy-sdks/mergent-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497890,"owners_count":21113983,"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","go","golang","sdk","serverless"],"created_at":"2024-11-06T01:14:32.518Z","updated_at":"2025-04-11T23:47:49.689Z","avatar_url":"https://github.com/speakeasy-sdks.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cpicture\u003e\n        \u003csource srcset=\"https://user-images.githubusercontent.com/6267663/228782760-eae443cd-8197-4667-91f5-656d90633db1.svg\" media=\"(prefers-color-scheme: dark)\" width=\"100\"\u003e\n        \u003cimg src=\"https://user-images.githubusercontent.com/6267663/228782746-c33cbcc8-4767-42c8-9a50-af6552703414.svg\" width=\"100\"\u003e\n    \u003c/picture\u003e\n    \u003ch1\u003eMergent Go SDK\u003c/h1\u003e\n   \u003cp\u003eDeveloper infrastructure for internal tools\u003c/p\u003e\n   \u003ca href=\"https://docs.mergent.co/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Docs\u0026message=API Ref\u0026color=000\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n   \u003ca href=\"https://github.com/speakeasy-sdks/mergent-go/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/speakeasy-sdks/mergent-go/speakeasy_sdk_generation.yml?style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/speakeasy-sdks/mergent-go/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/speakeasy-sdks/mergent-go?sort=semver\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003c!-- Start SDK Installation --\u003e\n## SDK Installation\n\n```bash\ngo get github.com/speakeasy-sdks/mergent-go\n```\n\u003c!-- End SDK Installation --\u003e\n\n## SDK Example Usage\n\u003c!-- Start SDK Example Usage --\u003e\n```go\npackage main\n\nimport (\n    \"context\"\n    \"log\"\n    \"github.com/speakeasy-sdks/mergent-go\"\n    \"github.com/speakeasy-sdks/mergent-go/pkg/models/shared\"\n    \"github.com/speakeasy-sdks/mergent-go/pkg/models/operations\"\n)\n\nfunc main() {\n    s := mergent.New(\n        mergent.WithSecurity(shared.Security{\n            APIKey: \"Bearer YOUR_BEARER_TOKEN_HERE\",\n        }),\n    )\n\n    req := shared.TaskNewInput{\n        Delay: \"60s\",\n        Name: \"mytask\",\n        Queue: \"process1\",\n        Request: shared.Request{\n            Body: \"Body String\",\n            Headers: map[string]interface{}{\n                \"provident\": \"distinctio\",\n                \"quibusdam\": \"unde\",\n                \"nulla\": \"corrupti\",\n            },\n            URL: \"http://example.com\",\n        },\n        ScheduledFor: \"2021-10-01T15:53:05Z\",\n    }\n\n    ctx := context.Background()\n    res, err := s.Tasks.Create(ctx, req)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    if res.Task != nil {\n        // handle response\n    }\n}\n```\n\u003c!-- End SDK Example Usage --\u003e\n\n\u003c!-- Start SDK Available Operations --\u003e\n## Available Resources and Operations\n\n\n### Schedules\n\n* `Create` - Create Schedule\n* `Delete` - Delete Schedule\n* `Get` - Get Schedule\n* `GetTasks` - Get Schedule Tasks\n* `List` - Get Schedules\n* `Update` - Update Schedule\n\n### Tasks\n\n* `BatchCreate` - Batch Create Tasks (Beta)\n* `BatchDelete` - Batch Delete Tasks (Beta)\n* `Create` - Create Task\n* `Delete` - Delete Task\n* `Get` - Get Task\n* `List` - Get Tasks\n* `Run` - Run Task\n* `Update` - Update Task\n\u003c!-- End SDK Available Operations --\u003e\n\n### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-sdks%2Fmergent-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeakeasy-sdks%2Fmergent-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-sdks%2Fmergent-go/lists"}