func (api *API) Get(path string) (body []byte, statusCode int, err error) {
	req, err := http.NewRequest("GET", api.host+path, nil)
	if err != nil {
		return nil, 0, err
	}

	r, statusCode, err := api.do(req)
	if err != nil {
		return nil, statusCode, err
	}
	body, err = ioutil.ReadAll(r)
	_ = r.Close()
	return body, statusCode, err
}
// Get gets raw bytes from API
Get gets raw bytes from API
// Get gets raw bytes from API
func (api *API) Get(path string) (body []byte, statusCode int, err error) {
	req, err := http.NewRequest("GET", api.host+path, nil)
	if err != nil {
		return nil, 0, err
	}
	r, statusCode, err := api.do(req)
	if err != nil {
		return nil, statusCode, err
	}
	body, err = ioutil.ReadAll(r)
	_ = r.Close()
	return body, statusCode, err
}
func ( api * API ) Get ( path string ) ( body [ ] byte , statusCode int , err error ) { req , err := http . NewRequest ( " " , api . host + path , nil ) if err != nil { return nil , 0 , err } r , statusCode , err := api . do ( req ) if err != nil { return nil , statusCode , err } body , err = ioutil . ReadAll ( r ) _ = r . Close ( ) return body , statusCode , err }
Get gets raw bytes from API
Get gets raw bytes from API