Skip to content

Commit

Permalink
feat(api): manual updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jul 5, 2024
1 parent 46f02c2 commit 053b4b6
Show file tree
Hide file tree
Showing 82 changed files with 360 additions and 421 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/release-doctor.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.prism.log
codegen.log
Brewfile.lock.json
.idea/
3 changes: 0 additions & 3 deletions .release-please-manifest.json

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To use a local version of this library from source in another project, edit the
directive. This can be done through the CLI with the following:

```bash
go mod edit -replace github.com/phoebe-bird/phoebe-go=/path/to/phoebe-go
go mod edit -replace github.com/stainless-sdks/phoebe-go=/path/to/phoebe-go
```

## Running tests
Expand Down
22 changes: 7 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Phoebe Go API Library

<a href="https://pkg.go.dev/github.com/phoebe-bird/phoebe-go"><img src="https://pkg.go.dev/badge/github.com/phoebe-bird/phoebe-go.svg" alt="Go Reference"></a>
<a href="https://pkg.go.dev/github.com/stainless-sdks/phoebe-go"><img src="https://pkg.go.dev/badge/github.com/stainless-sdks/phoebe-go.svg" alt="Go Reference"></a>

The Phoebe Go library provides convenient access to [the Phoebe REST
API](https://science.ebird.org/en/use-ebird-data/download-ebird-data-products) from applications written in Go. The full API of this library can be found in [api.md](api.md).
Expand All @@ -9,26 +9,18 @@ It is generated with [Stainless](https://www.stainlessapi.com/).

## Installation

<!-- x-release-please-start-version -->

```go
import (
"github.com/phoebe-bird/phoebe-go" // imported as phoebe
"github.com/stainless-sdks/phoebe-go" // imported as phoebe
)
```

<!-- x-release-please-end -->

Or to pin the version:

<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/phoebe-bird/phoebe-go@v0.0.1-alpha.0'
go get -u 'github.com/stainless-sdks/phoebe-go@v0.0.1-alpha.0'
```

<!-- x-release-please-end -->

## Requirements

This library requires Go 1.18+.
Expand All @@ -44,8 +36,8 @@ import (
"context"
"fmt"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/option"
)

func main() {
Expand Down Expand Up @@ -153,7 +145,7 @@ client.Ref.Hotspot.Info.Get(context.TODO(), ...,
)
```

See the [full list of request options](https://pkg.go.dev/github.com/phoebe-bird/phoebe-go/option).
See the [full list of request options](https://pkg.go.dev/github.com/stainless-sdks/phoebe-go/option).

### Pagination

Expand Down Expand Up @@ -337,4 +329,4 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an [issue](https://www.github.com/phoebe-bird/phoebe-go/issues) with questions, bugs, or suggestions.
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/phoebe-go/issues) with questions, bugs, or suggestions.
2 changes: 1 addition & 1 deletion aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package phoebe

import (
"github.com/phoebe-bird/phoebe-go/internal/apierror"
"github.com/stainless-sdks/phoebe-go/internal/apierror"
)

type Error = apierror.Error
68 changes: 34 additions & 34 deletions api.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net/http"
"os"

"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// Client creates a struct with services and top level methods that help with
Expand Down
6 changes: 3 additions & 3 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"testing"
"time"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal"
"github.com/stainless-sdks/phoebe-go/option"
)

type closureTransport struct {
Expand Down
2 changes: 1 addition & 1 deletion data.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package phoebe

import (
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataService contains methods and other services that help with interacting with
Expand Down
4 changes: 2 additions & 2 deletions dataobservation.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package phoebe

import (
"github.com/phoebe-bird/phoebe-go/internal/apijson"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apijson"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationService contains methods and other services that help with
Expand Down
2 changes: 1 addition & 1 deletion dataobservationgeo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package phoebe

import (
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationGeoService contains methods and other services that help with
Expand Down
8 changes: 4 additions & 4 deletions dataobservationgeorecent.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"net/http"
"net/url"

"github.com/phoebe-bird/phoebe-go/internal/apiquery"
"github.com/phoebe-bird/phoebe-go/internal/param"
"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apiquery"
"github.com/stainless-sdks/phoebe-go/internal/param"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationGeoRecentService contains methods and other services that help
Expand Down
6 changes: 3 additions & 3 deletions dataobservationgeorecent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal/testutil"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal/testutil"
"github.com/stainless-sdks/phoebe-go/option"
)

func TestDataObservationGeoRecentListWithOptionalParams(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions dataobservationgeorecentnotable.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"net/http"
"net/url"

"github.com/phoebe-bird/phoebe-go/internal/apiquery"
"github.com/phoebe-bird/phoebe-go/internal/param"
"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apiquery"
"github.com/stainless-sdks/phoebe-go/internal/param"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationGeoRecentNotableService contains methods and other services that
Expand Down
6 changes: 3 additions & 3 deletions dataobservationgeorecentnotable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal/testutil"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal/testutil"
"github.com/stainless-sdks/phoebe-go/option"
)

func TestDataObservationGeoRecentNotableListWithOptionalParams(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions dataobservationgeorecentspecie.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"net/http"
"net/url"

"github.com/phoebe-bird/phoebe-go/internal/apiquery"
"github.com/phoebe-bird/phoebe-go/internal/param"
"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apiquery"
"github.com/stainless-sdks/phoebe-go/internal/param"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationGeoRecentSpecieService contains methods and other services that
Expand Down
6 changes: 3 additions & 3 deletions dataobservationgeorecentspecie_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal/testutil"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal/testutil"
"github.com/stainless-sdks/phoebe-go/option"
)

func TestDataObservationGeoRecentSpecieListWithOptionalParams(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion dataobservationnearest.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package phoebe

import (
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationNearestService contains methods and other services that help with
Expand Down
8 changes: 4 additions & 4 deletions dataobservationnearestgeospecie.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"net/http"
"net/url"

"github.com/phoebe-bird/phoebe-go/internal/apiquery"
"github.com/phoebe-bird/phoebe-go/internal/param"
"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apiquery"
"github.com/stainless-sdks/phoebe-go/internal/param"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationNearestGeoSpecieService contains methods and other services that
Expand Down
6 changes: 3 additions & 3 deletions dataobservationnearestgeospecie_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal/testutil"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal/testutil"
"github.com/stainless-sdks/phoebe-go/option"
)

func TestDataObservationNearestGeoSpecieListWithOptionalParams(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions dataobservationrecent.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"net/http"
"net/url"

"github.com/phoebe-bird/phoebe-go/internal/apiquery"
"github.com/phoebe-bird/phoebe-go/internal/param"
"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apiquery"
"github.com/stainless-sdks/phoebe-go/internal/param"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationRecentService contains methods and other services that help with
Expand Down
6 changes: 3 additions & 3 deletions dataobservationrecent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal/testutil"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal/testutil"
"github.com/stainless-sdks/phoebe-go/option"
)

func TestDataObservationRecentListWithOptionalParams(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions dataobservationrecenthistoric.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"net/http"
"net/url"

"github.com/phoebe-bird/phoebe-go/internal/apiquery"
"github.com/phoebe-bird/phoebe-go/internal/param"
"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apiquery"
"github.com/stainless-sdks/phoebe-go/internal/param"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationRecentHistoricService contains methods and other services that
Expand Down
6 changes: 3 additions & 3 deletions dataobservationrecenthistoric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal/testutil"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal/testutil"
"github.com/stainless-sdks/phoebe-go/option"
)

func TestDataObservationRecentHistoricListWithOptionalParams(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions dataobservationrecentnotable.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"net/http"
"net/url"

"github.com/phoebe-bird/phoebe-go/internal/apiquery"
"github.com/phoebe-bird/phoebe-go/internal/param"
"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apiquery"
"github.com/stainless-sdks/phoebe-go/internal/param"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationRecentNotableService contains methods and other services that
Expand Down
6 changes: 3 additions & 3 deletions dataobservationrecentnotable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal/testutil"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal/testutil"
"github.com/stainless-sdks/phoebe-go/option"
)

func TestDataObservationRecentNotableListWithOptionalParams(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions dataobservationrecentspecie.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"net/http"
"net/url"

"github.com/phoebe-bird/phoebe-go/internal/apiquery"
"github.com/phoebe-bird/phoebe-go/internal/param"
"github.com/phoebe-bird/phoebe-go/internal/requestconfig"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go/internal/apiquery"
"github.com/stainless-sdks/phoebe-go/internal/param"
"github.com/stainless-sdks/phoebe-go/internal/requestconfig"
"github.com/stainless-sdks/phoebe-go/option"
)

// DataObservationRecentSpecieService contains methods and other services that help
Expand Down
6 changes: 3 additions & 3 deletions dataobservationrecentspecie_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/phoebe-bird/phoebe-go"
"github.com/phoebe-bird/phoebe-go/internal/testutil"
"github.com/phoebe-bird/phoebe-go/option"
"github.com/stainless-sdks/phoebe-go"
"github.com/stainless-sdks/phoebe-go/internal/testutil"
"github.com/stainless-sdks/phoebe-go/option"
)

func TestDataObservationRecentSpecieGetWithOptionalParams(t *testing.T) {
Expand Down
Loading

0 comments on commit 053b4b6

Please sign in to comment.