Skip to content

Commit

Permalink
feat: migrate to github.com/thpiron/webex-teams
Browse files Browse the repository at this point in the history
  • Loading branch information
thpiron committed Oct 10, 2022
1 parent ce38c9b commit f681a95
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 25 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
# go-cisco-webex-teams
# webex-teams

go-cisco-webex-teams is a Go client library for the [Cisco Webex Teams API](https://developer.webex.com/index.html).
webex-teams is a Go client library for the [Cisco Webex Teams API](https://developer.webex.com/index.html).

## Usage

```go
import webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
import webexteams "github.com/thpiron/webex-teams/sdk"
```

## Documentation

Documentation for the library can be found [here](https://godoc.org/github.com/jbogarin/go-cisco-webex-teams/sdk)
Documentation for the library can be found [here](https://godoc.org/github.com/thpiron/webex-teams/sdk)

## Changes

- 2019-08-12: **Tag v0.2.0**: _Breaking change_, moved from resty v1 to resty v2. Include paginate option in List query params
- 2019-09-10: **Tag v0.3.0**: _Breaking change_, removed complexity from client, resty is a dependency for the library but it is not longer necessary to import it in the code using the SDK.
- 2020-10-14: **Tag v0.4.0**: _Breaking change_, added Go modules functionality
- 2021-02-23: **Tag v0.4.1**: Included events and admin audit events functionality
- 2022-08-01: **Tag v0.4.3**: Included attachment actions and membership changes
- 2022-10-10: **Tag v0.1.0**: forked from jbogarin/go-cisco-webex-teams, added auto retry on 429, fixed pagination (RequestBy), updating schemas

## Authorization Token

Expand Down
2 changes: 1 addition & 1 deletion examples/devices/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/events/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/licenses/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/memberships/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/messages/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/organizations/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/people/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/recordings/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/roles/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/rooms/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/team-memberships/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/teams/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
2 changes: 1 addition & 1 deletion examples/webhooks/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

webexteams "github.com/jbogarin/go-cisco-webex-teams/sdk"
webexteams "github.com/thpiron/webex-teams/sdk"
)

// Client is Webex Teams API client
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/jbogarin/go-cisco-webex-teams
module github.com/thpiron/webex-teams

go 1.14
go 1.17

require (
github.com/go-resty/resty/v2 v2.7.0
Expand Down
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

0 comments on commit f681a95

Please sign in to comment.