Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/speakeasy-sdks/spost-golang

A go SDK for accessing the spost-golang API.
https://github.com/speakeasy-sdks/spost-golang

Last synced: 1 day ago
JSON representation

A go SDK for accessing the spost-golang API.

Awesome Lists containing this project

README

        

# sendpost

## SDK Installation

```bash
go get github.com/speakeasy-sdks/spost-golang
```

## SDK Example Usage

```go
package main

import(
"context"
"log"
"github.com/speakeasy-sdks/spost-golang"
"github.com/speakeasy-sdks/spost-golang/pkg/models/operations"
"github.com/speakeasy-sdks/spost-golang/pkg/models/shared"
)

func main() {
s := sendpost.New()

ctx := context.Background()
res, err := s.SubaccountEmail.EmailRouterSendEmail(ctx, []byte("corrupti"), "provident", false, "distinctio")
if err != nil {
log.Fatal(err)
}

if res.Body != nil {
// handle response
}
}
```

## Available Resources and Operations

### [SubaccountEmail](docs/sdks/subaccountemail/README.md)

* [EmailRouterSendEmail](docs/sdks/subaccountemail/README.md#emailroutersendemail) - Send Email To Contacts
* [EmailRouterSendEmailWithTemplate](docs/sdks/subaccountemail/README.md#emailroutersendemailwithtemplate) - Send Email To Contacts With Template

### Maturity

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.

### Contributions

While we value open-source contributions to this SDK, this library is generated programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!

### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)