func (p Pushy) DeviceInfo(deviceID string) (*DeviceInfo, *Error, error) {
	url := fmt.Sprintf("%s/devices/%s?api_key=%s", p.APIEndpoint, deviceID, p.APIToken)
	var errResponse *Error
	var info *DeviceInfo
	err := get(p.httpClient, url, &info, &errResponse)
	return info, errResponse, err
}
func (p Pushy) DeviceInfo(deviceID string) (*DeviceInfo, *Error, error) {
	url := fmt.Sprintf("%s/devices/%s?api_key=%s", p.APIEndpoint, deviceID, p.APIToken)
	var errResponse *Error
	var info *DeviceInfo
	err := get(p.httpClient, url, &info, &errResponse)
	return info, errResponse, err
}
// DeviceInfo returns information about a particular device