stargazers_count of https://api.github.com/repos/openebs/openebs using go language by extracting it through json
Here is an example (completely neglecting error handling):
request, _ := http.Get("https://api.github.com/repos/openebs/openebs")
defer request.Body.Close()
bytes, _ := ioutil.ReadAll(request.Body)
var apiResponse struct {
StargazersCount int `json:"stargazers_count"`
}
json.Unmarshal(bytes, &apiResponse)
fmt.Println(apiResponse.StargazersCount)