https://github.com/xaionaro-go/kickcom
A reverse-engineering implementation of kick.com API for Go
https://github.com/xaionaro-go/kickcom
api chat go golang kick kick-com sdk
Last synced: about 2 months ago
JSON representation
A reverse-engineering implementation of kick.com API for Go
- Host: GitHub
- URL: https://github.com/xaionaro-go/kickcom
- Owner: xaionaro-go
- License: cc0-1.0
- Created: 2024-10-20T18:16:12.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-15T16:37:44.000Z (3 months ago)
- Last Synced: 2025-03-15T17:31:10.243Z (3 months ago)
- Topics: api, chat, go, golang, kick, kick-com, sdk
- Language: Go
- Homepage:
- Size: 39.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# To be deprecated
Kick.com finally published [the API documentation](https://github.com/KickEngineering/KickDevDocs/). After the required features will be implemented (&published) this package will be deprecated/archived.
Here are some examples of packages that are implemented based on the offical documentation:
* https://github.com/Scorfly/gokick
* https://github.com/glichtv/kick-sdk# About
[](https://godoc.org/github.com/xaionaro-go/kickcom)
[](https://goreportcard.com/report/github.com/xaionaro-go/kickcom)This is package for Go that implements a client to Kick.com API.
Currently, it supports only a couple of features, but feel free to extend it.
# Backstory
Unfortunately, Kick stuff does not respond me for more than a year on a request to provide docs to their API, and on questions "when?" they respond with:
> [...] we do not have an estimated time of when our relevant team will respond to your request. We may only advise you to remain patient and they will respond to your request in due time.
So I had to start reverse engineering how it works. This package is the result of this effort.
# How to use
An example how to get the current chat messages in the chat, given the channel's slug:
```go
package mainimport "github.com/davecgh/go-spew/spew"
import "github.com/xaionaro-go/kickcom"func main() {
...k, err := kickcom.New()
if err != nil { ... }channel, err := k.GetChannelV1(ctx, channelSlug)
if err != nil { ... }reply, err := k.GetChatMessagesV2(ctx, channel.ID, 0)
if err != nil { ... }for _, msg := range reply.Data.Messages {
spew.Dump(msg)
}...
}
```