Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 395 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 395 Bytes

Go-WeiboSDK

Sina weibo api in golang

Example

	wb := weibo.New("APPKey", "APPSecret")
	// options is of type map[string]interface{} for addition params.
	// sync call. For async, please use goroutine outside.
	userTimeline, err := wb.Statuses.UserTimeline(access_token, uid, "", options) 
	if err!=nil {
		panic(err)
	}
	fmt.Println(userTimeline.Statuses)