https://github.com/grokify/go-stackoverflow
Go Client SDK for Stack Exchange / Stack Overflow
https://github.com/grokify/go-stackoverflow
Last synced: 6 months ago
JSON representation
Go Client SDK for Stack Exchange / Stack Overflow
- Host: GitHub
- URL: https://github.com/grokify/go-stackoverflow
- Owner: grokify
- License: mit
- Created: 2018-07-05T00:55:47.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T23:19:34.000Z (over 1 year ago)
- Last Synced: 2024-10-12T00:47:47.915Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 253 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stack Overflow / StackExchange Go SDK
[![Build Status][build-status-svg]][build-status-url]
[![Go Report Card][goreport-svg]][goreport-url]
[![Docs][docs-godoc-svg]][docs-godoc-url]
[![License][license-svg]][license-url]
[build-status-svg]: https://github.com/grokify/go-stackoverflow/workflows/test/badge.svg
[build-status-url]: https://github.com/grokify/go-stackoverflow/actions
[goreport-svg]: https://goreportcard.com/badge/github.com/grokify/go-stackoverflow
[goreport-url]: https://goreportcard.com/report/github.com/grokify/go-stackoverflow
[docs-godoc-svg]: https://pkg.go.dev/badge/github.com/grokify/go-stackoverflow
[docs-godoc-url]: https://pkg.go.dev/github.com/grokify/go-stackoverflow
[license-svg]: https://img.shields.io/badge/license-MIT-blue.svg
[license-url]: https://github.com/grokify/go-stackoverflow/blob/master/LICENSE
## Overview
This is a API client built using [openapi-generator](https://github.com/OpenAPITools/openapi-generator) using this StackExchange API spec:
https://github.com/grokify/api-specs/tree/master/stackexchange
## Installation
`$ go get github.com/grokify/go-stackoverflow/...`
## Usage
See examples in the [`examples`](examples) directory. To get started, you can use [`examples/get_users/main.go`](examples/get_users/main.go).
## Documentation
The auto-generated Swagger files are in the [`client`](client) folder and you can find the Swagger docs there as [`client/README.md`](client/README.md)
## API Coverage
APIs: https://api.stackexchange.com/docs
- [ ] Questions
- [x] `questions`
- [x] `questions/featured`
- [x] `questions/no-answers`
- [x] `questions/unanswered`
- [ ] Users
- [x] `users`
- [x] `users/{userIds}/reputation`
- [x] `users/{userIds}/reputation-history`
- [x] `me`
- [x] `me/reputation`
- [x] `me/reputation-history`