Documentation ¶
Index ¶
- Constants
- func GetStackOverflowAnswers(params *structs.Params) (*structs.StackOverflowAnswers, error)
- func GetStackOverflowAnswersAll(params *structs.Params) ([]*structs.AnswerResult, error)
- func GetStackOverflowProfile(params *structs.Params) (*structs.StackOverflowProfile, error)
- func GetStackOverflowQuestions(params *structs.Params, qids []int) (*structs.StackOverflowQuestions, error)
- func GetStackOverflowTags(params *structs.Params) (*structs.StackOverflowTags, error)
Constants ¶
View Source
const (
STACKOVERFLOW_HOST = "https://api.stackexchange.com"
)
Variables ¶
This section is empty.
Functions ¶
func GetStackOverflowAnswers ¶
func GetStackOverflowAnswers(params *structs.Params) (*structs.StackOverflowAnswers, error)
https://api.stackexchange.com/2.2/users/1924657/answers?order=desc&sort=activity&site=stackoverflow
func GetStackOverflowAnswersAll ¶
func GetStackOverflowAnswersAll(params *structs.Params) ([]*structs.AnswerResult, error)
func GetStackOverflowProfile ¶
func GetStackOverflowProfile(params *structs.Params) (*structs.StackOverflowProfile, error)
https://api.stackexchange.com/2.2/users/1924657?order=desc&sort=reputation&site=stackoverflow
func GetStackOverflowQuestions ¶
func GetStackOverflowQuestions(params *structs.Params, qids []int) (*structs.StackOverflowQuestions, error)
https://api.stackexchange.com/2.2/questions/10105935?order=desc&sort=votes&site=stackoverflow
func GetStackOverflowTags ¶
func GetStackOverflowTags(params *structs.Params) (*structs.StackOverflowTags, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.