{"id":25654220,"url":"https://github.com/magicbell/magicbell-go-project-client","last_synced_at":"2026-01-12T00:05:15.892Z","repository":{"id":268948242,"uuid":"905949976","full_name":"magicbell/magicbell-go-project-client","owner":"magicbell","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T06:01:42.000Z","size":191,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T17:50:11.628Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/magicbell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-12-19T20:52:43.000Z","updated_at":"2025-02-12T11:08:19.000Z","dependencies_parsed_at":"2024-12-19T22:35:45.675Z","dependency_job_id":"7e30367e-8bac-4b36-abd4-a7143c584926","html_url":"https://github.com/magicbell/magicbell-go-project-client","commit_stats":null,"previous_names":["magicbell/magicbell-go-project-client"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicbell%2Fmagicbell-go-project-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicbell%2Fmagicbell-go-project-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicbell%2Fmagicbell-go-project-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicbell%2Fmagicbell-go-project-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicbell","download_url":"https://codeload.github.com/magicbell/magicbell-go-project-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371856,"owners_count":19790904,"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":[],"created_at":"2025-02-23T20:18:38.842Z","updated_at":"2025-02-23T20:18:39.521Z","avatar_url":"https://github.com/magicbell.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MagicbellProjectClient Go SDK 0.1.1\n\nWelcome to the MagicbellProjectClient SDK documentation. This guide will help you get started with integrating and using the MagicbellProjectClient SDK in your project.\n\n[![This SDK was generated by liblab](https://public-liblab-readme-assets.s3.us-east-1.amazonaws.com/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)\n\n## Versions\n\n- API version: `2.0.0`\n- SDK version: `0.1.1`\n\n## About the API\n\nOpenAPI 3.0.3 Specification for MagicBell API.\n\n## Table of Contents\n\n- [Setup \u0026 Configuration](#setup--configuration)\n  - [Supported Language Versions](#supported-language-versions)\n  - [Installation](#installation)\n- [Authentication](#authentication)\n  - [Access Token Authentication](#access-token-authentication)\n- [Services](#services)\n  - [Response Wrappers](#response-wrappers)\n- [Models](#models)\n- [License](#license)\n\n# Setup \u0026 Configuration\n\n## Supported Language Versions\n\nThis SDK is compatible with the following versions: `Go \u003e= 1.19.0`\n\n## Authentication\n\n### Access Token Authentication\n\nThe magicbell-project-client API uses an Access Token for authentication.\n\nThis token must be provided to authenticate your requests to the API.\n\n#### Setting the Access Token\n\nWhen you initialize the SDK, you can set the access token as follows:\n\n```go\nimport (\n    \"github.com/magicbell/magicbell-go-project-client/pkg/magicbellprojectclient\"\n    \"github.com/magicbell/magicbell-go-project-client/pkg/magicbellprojectclientconfig\"\n  )\n\nconfig := magicbellprojectclientconfig.NewConfig()\nconfig.SetAccessToken(\"YOUR-TOKEN\")\n\nsdk := magicbellprojectclient.NewMagicbellProjectClient(config)\n```\n\nIf you need to set or update the access token after initializing the SDK, you can use:\n\n```go\nimport (\n    \"github.com/magicbell/magicbell-go-project-client/pkg/magicbellprojectclient\"\n    \"github.com/magicbell/magicbell-go-project-client/pkg/magicbellprojectclientconfig\"\n  )\n\nconfig := magicbellprojectclientconfig.NewConfig()\n\nsdk := magicbellprojectclient.NewMagicbellProjectClient(config)\nsdk.SetAccessToken(\"YOUR-TOKEN\")\n```\n\n## Services\n\nThe SDK provides various services to interact with the API.\n\n\u003cdetails\u003e \n\u003csummary\u003eBelow is a list of all available services with links to their detailed documentation:\u003c/summary\u003e\n\n| Name                                                                  |\n| :-------------------------------------------------------------------- |\n| [BroadcastsService](documentation/services/broadcasts_service.md)     |\n| [ChannelsService](documentation/services/channels_service.md)         |\n| [EventsService](documentation/services/events_service.md)             |\n| [IntegrationsService](documentation/services/integrations_service.md) |\n| [JwtService](documentation/services/jwt_service.md)                   |\n\n\u003c/details\u003e\n\n### Response Wrappers\n\nAll services use response wrappers to provide a consistent interface to return the responses from the API.\n\nThe response wrapper itself is a generic struct that contains the response data and metadata.\n\n\u003cdetails\u003e\n\u003csummary\u003eBelow are the response wrappers used in the SDK:\u003c/summary\u003e\n\n#### `MagicbellProjectClientResponse[T]`\n\nThis response wrapper is used to return the response data from the API. It contains the following fields:\n\n| Name     | Type                                     | Description                                 |\n| :------- | :--------------------------------------- | :------------------------------------------ |\n| Data     | `T`                                      | The body of the API response                |\n| Metadata | `MagicbellProjectClientResponseMetadata` | Status code and headers returned by the API |\n\n#### `MagicbellProjectClientError`\n\nThis response wrapper is used to return an error. It contains the following fields:\n\n| Name     | Type                                     | Description                                 |\n| :------- | :--------------------------------------- | :------------------------------------------ |\n| Err      | `error`                                  | The error that occurred                     |\n| Body     | `T`                                      | The body of the API response                |\n| Metadata | `MagicbellProjectClientResponseMetadata` | Status code and headers returned by the API |\n\n#### `MagicbellProjectClientResponseMetadata`\n\nThis struct is shared by both response wrappers and contains the following fields:\n\n| Name       | Type                | Description                                      |\n| :--------- | :------------------ | :----------------------------------------------- |\n| Headers    | `map[string]string` | A map containing the headers returned by the API |\n| StatusCode | `int`               | The status code returned by the API              |\n\n\u003c/details\u003e\n\n## Models\n\nThe SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.\n\n\u003cdetails\u003e \n\u003csummary\u003eBelow is a list of all available models with links to their detailed documentation:\u003c/summary\u003e\n\n| Name                                                                                              | Description |\n| :------------------------------------------------------------------------------------------------ | :---------- |\n| [ArrayOfBroadcasts](documentation/models/array_of_broadcasts.md)                                  |             |\n| [Broadcast](documentation/models/broadcast.md)                                                    |             |\n| [ProjectDeliveryConfig](documentation/models/project_delivery_config.md)                          |             |\n| [CategoryDeliveryConfig](documentation/models/category_delivery_config.md)                        |             |\n| [ArrayOfMetadataApnsTokens](documentation/models/array_of_metadata_apns_tokens.md)                |             |\n| [MetadataApnsToken](documentation/models/metadata_apns_token.md)                                  |             |\n| [DiscardResult](documentation/models/discard_result.md)                                           |             |\n| [ArrayOfMetadataExpoTokens](documentation/models/array_of_metadata_expo_tokens.md)                |             |\n| [MetadataExpoToken](documentation/models/metadata_expo_token.md)                                  |             |\n| [ArrayOfMetadataFcmTokens](documentation/models/array_of_metadata_fcm_tokens.md)                  |             |\n| [MetadataFcmToken](documentation/models/metadata_fcm_token.md)                                    |             |\n| [ArrayOfMetadataSlackTokens](documentation/models/array_of_metadata_slack_tokens.md)              |             |\n| [MetadataSlackToken](documentation/models/metadata_slack_token.md)                                |             |\n| [ArrayOfMetadataTeamsTokens](documentation/models/array_of_metadata_teams_tokens.md)              |             |\n| [MetadataTeamsToken](documentation/models/metadata_teams_token.md)                                |             |\n| [ArrayOfMetadataWebPushTokens](documentation/models/array_of_metadata_web_push_tokens.md)         |             |\n| [MetadataWebPushToken](documentation/models/metadata_web_push_token.md)                           |             |\n| [ArrayOfEvents](documentation/models/array_of_events.md)                                          |             |\n| [ArrayOfIntegrationObjects](documentation/models/array_of_integration_objects.md)                 |             |\n| [ArrayOfApnsConfigObjects](documentation/models/array_of_apns_config_objects.md)                  |             |\n| [ApnsConfig](documentation/models/apns_config.md)                                                 |             |\n| [ArrayOfAwssnsConfigObjects](documentation/models/array_of_awssns_config_objects.md)              |             |\n| [AwssnsConfig](documentation/models/awssns_config.md)                                             |             |\n| [ArrayOfExpoConfigObjects](documentation/models/array_of_expo_config_objects.md)                  |             |\n| [ExpoConfig](documentation/models/expo_config.md)                                                 |             |\n| [ArrayOfFcmConfigObjects](documentation/models/array_of_fcm_config_objects.md)                    |             |\n| [FcmConfig](documentation/models/fcm_config.md)                                                   |             |\n| [ArrayOfGithubConfigObjects](documentation/models/array_of_github_config_objects.md)              |             |\n| [GithubConfig](documentation/models/github_config.md)                                             |             |\n| [ArrayOfInboxConfigObjects](documentation/models/array_of_inbox_config_objects.md)                |             |\n| [InboxConfig](documentation/models/inbox_config.md)                                               |             |\n| [ArrayOfMailgunConfigObjects](documentation/models/array_of_mailgun_config_objects.md)            |             |\n| [MailgunConfig](documentation/models/mailgun_config.md)                                           |             |\n| [ArrayOfPingConfigObjects](documentation/models/array_of_ping_config_objects.md)                  |             |\n| [PingConfig](documentation/models/ping_config.md)                                                 |             |\n| [ArrayOfSendgridConfigObjects](documentation/models/array_of_sendgrid_config_objects.md)          |             |\n| [SendgridConfig](documentation/models/sendgrid_config.md)                                         |             |\n| [ArrayOfSesConfigObjects](documentation/models/array_of_ses_config_objects.md)                    |             |\n| [SesConfig](documentation/models/ses_config.md)                                                   |             |\n| [ArrayOfSlackConfigObjects](documentation/models/array_of_slack_config_objects.md)                |             |\n| [SlackConfig](documentation/models/slack_config.md)                                               |             |\n| [ArrayOfStripeConfigObjects](documentation/models/array_of_stripe_config_objects.md)              |             |\n| [StripeConfig](documentation/models/stripe_config.md)                                             |             |\n| [ArrayOfTemplatesConfigObjects](documentation/models/array_of_templates_config_objects.md)        |             |\n| [ArrayOfTwilioConfigObjects](documentation/models/array_of_twilio_config_objects.md)              |             |\n| [TwilioConfig](documentation/models/twilio_config.md)                                             |             |\n| [ArrayOfWebpushConfigObjects](documentation/models/array_of_webpush_config_objects.md)            |             |\n| [WebpushConfig](documentation/models/webpush_config.md)                                           |             |\n| [ArrayOfFetchTokensResponseTokens](documentation/models/array_of_fetch_tokens_response_tokens.md) |             |\n| [CreateProjectTokenRequest](documentation/models/create_project_token_request.md)                 |             |\n| [AccessToken](documentation/models/access_token.md)                                               |             |\n| [DiscardTokenResponse](documentation/models/discard_token_response.md)                            |             |\n| [CreateUserTokenRequest](documentation/models/create_user_token_request.md)                       |             |\n| [Links](documentation/models/links.md)                                                            |             |\n| [ApnsToken](documentation/models/apns_token.md)                                                   |             |\n| [TokenMetadata](documentation/models/token_metadata.md)                                           |             |\n| [ExpoToken](documentation/models/expo_token.md)                                                   |             |\n| [FcmToken](documentation/models/fcm_token.md)                                                     |             |\n| [SlackToken](documentation/models/slack_token.md)                                                 |             |\n| [TeamsToken](documentation/models/teams_token.md)                                                 |             |\n| [WebPushToken](documentation/models/web_push_token.md)                                            |             |\n| [Event](documentation/models/event.md)                                                            |             |\n| [IntegrationObject](documentation/models/integration_object.md)                                   |             |\n| [ApnsConfigObject](documentation/models/apns_config_object.md)                                    |             |\n| [AwssnsConfigObject](documentation/models/awssns_config_object.md)                                |             |\n| [ExpoConfigObject](documentation/models/expo_config_object.md)                                    |             |\n| [FcmConfigObject](documentation/models/fcm_config_object.md)                                      |             |\n| [GithubConfigObject](documentation/models/github_config_object.md)                                |             |\n| [InboxConfigObject](documentation/models/inbox_config_object.md)                                  |             |\n| [MailgunConfigObject](documentation/models/mailgun_config_object.md)                              |             |\n| [PingConfigObject](documentation/models/ping_config_object.md)                                    |             |\n| [SendgridConfigObject](documentation/models/sendgrid_config_object.md)                            |             |\n| [SesConfigObject](documentation/models/ses_config_object.md)                                      |             |\n| [SlackConfigObject](documentation/models/slack_config_object.md)                                  |             |\n| [StripeConfigObject](documentation/models/stripe_config_object.md)                                |             |\n| [TemplatesConfigObject](documentation/models/templates_config_object.md)                          |             |\n| [TwilioConfigObject](documentation/models/twilio_config_object.md)                                |             |\n| [WebpushConfigObject](documentation/models/webpush_config_object.md)                              |             |\n| [FetchTokensResponseToken](documentation/models/fetch_tokens_response_token.md)                   |             |\n\n\u003c/details\u003e\n\n## License\n\nThis SDK is licensed under the MIT License.\n\nSee the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicbell%2Fmagicbell-go-project-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicbell%2Fmagicbell-go-project-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicbell%2Fmagicbell-go-project-client/lists"}