Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/speakeasy-sdks/anuraag-test-go

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

Last synced: 2 days ago
JSON representation

A go SDK for accessing the anuraag-test-go API.

Awesome Lists containing this project

README

        

# test-petstore

## SDK Installation

```bash
go get github.com/speakeasy-sdks/anuraag-test-go
```

## SDK Example Usage

```go
package main

import(
"context"
"log"
"test-petstore"
)

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

ctx := context.Background()
res, err := s.Pets.CreatePets(ctx)
if err != nil {
log.Fatal(err)
}

if res.StatusCode == http.StatusOK {
// handle response
}
}
```

## Available Resources and Operations

### [Pets](docs/sdks/pets/README.md)

* [CreatePets](docs/sdks/pets/README.md#createpets) - Create a pet
* [ListPets](docs/sdks/pets/README.md#listpets) - List all pets
* [ShowPetByID](docs/sdks/pets/README.md#showpetbyid) - Info for a specific pet

### Maturity

This SDK is in beta and 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 and maintained 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)