Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/XiaoMiku01/bilibili-grpc-api-go
B站 gRPC API Golang 封装
https://github.com/XiaoMiku01/bilibili-grpc-api-go
bilibili grpc grpc-go
Last synced: 3 months ago
JSON representation
B站 gRPC API Golang 封装
- Host: GitHub
- URL: https://github.com/XiaoMiku01/bilibili-grpc-api-go
- Owner: XiaoMiku01
- License: mit
- Created: 2022-12-05T17:10:07.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-29T12:27:09.000Z (over 1 year ago)
- Last Synced: 2024-08-02T13:28:47.995Z (6 months ago)
- Topics: bilibili, grpc, grpc-go
- Language: Go
- Homepage:
- Size: 3.13 MB
- Stars: 18
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-luooooob - XiaoMiku01/bilibili-grpc-api-go - B站 gRPC API Golang 封装 (Go)
README
# B站 gRPC API Golang 封装
接口大部分来自于 [SocialSisterYi/bilibili-API-collect](https://github.com/SocialSisterYi/bilibili-API-collect)
## grpc主机
B站客户端的grpc接口主机为以下服务器
> grpc.biliapi.net
>
> app.bilibili.com### 安装
```bash
go get -u github.com/XiaoMiku01/bilibili-grpc-api-go
```### 示例
- [example.go](example/example.go):示例代码
### 注意事项
- 和B站建立的gRPC连接可以复用
- 每次请求都需要重新生成`metadata`头部