//user.getArtistTracks
357728
func (api userApi) GetArtistTracks(args map[string]interface{}) (result UserGetArtistTracks, err error) {
	defer func() { appendCaller(err, "lastfm.User.GetArtistTracks") }()
	err = callGet("user.getartisttracks", api.params, args, &result, P{
		"plain": []string{"user", "artist", "startTimeStamp", "page", "endTimeStamp"},
	})
	return
}
1200386
func (c *collectorImpl) GetUserRecords() map[string]*collector.UserRecord {
	c.Lock()
	defer c.Unlock()

	if len(c.Users) == 0 {
		return nil
	}

	retval := c.Users
	c.Users = map[string]*collector.UserRecord{}
	return retval
}
1270635
func (api geoApi) GetTopTracks(args map[string]interface{}) (result GeoGetTopTracks, err error) {
	defer func() { appendCaller(err, "lastfm.Geo.GetTopTracks") }()
	err = callGet("geo.gettoptracks", api.params, args, &result, P{
		"plain": []string{"country", "location", "limit", "page"},
	})
	return
}
1141286
func (f *FastHttpMultipartForm) GetValues() url.Values {
	return url.Values(f.Form.Value)
}
70091
func (t *Template) GetAllAWSStepFunctionsActivityResources() map[string]*resources.AWSStepFunctionsActivity {
	results := map[string]*resources.AWSStepFunctionsActivity{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSStepFunctionsActivity:
			results[name] = resource
		}
	}
	return results
}
845796
func (api albumApi) GetTopTags(args map[string]interface{}) (result AlbumGetTopTags, err error) {
	defer func() { appendCaller(err, "lastfm.Album.GetTopTags") }()
	err = callGet("album.gettoptags", api.params, args, &result, P{
		"plain": []string{"artist", "album", "autocorrect", "mbid"},
	})
	return
}
930617
func (t *Track) Artist(n int) *Artist {
	if n < 0 || n >= t.Artists() {
		panic("spotify: track artist index out of range")
	}
	sp_artist := C.sp_track_artist(t.sp_track, C.int(n))
	return newArtist(t.session, sp_artist)
}
508259
func (c *Client) NextTrackResults(s *SearchResult) error {
	if s.Tracks == nil || s.Tracks.Next == "" {
		return ErrNoMorePages
	}
	return c.get(s.Tracks.Next, s)
}
450724
func (c *Client) NextArtistResults(s *SearchResult) error {
	if s.Artists == nil || s.Artists.Next == "" {
		return ErrNoMorePages
	}
	return c.get(s.Artists.Next, s)
}
275529
func (api trackApi) GetTopTags(args map[string]interface{}) (result TrackGetTopTags, err error) {
	defer func() { appendCaller(err, "lastfm.Track.GetTopTags") }()
	err = callGet("track.gettoptags", api.params, args, &result, P{
		"plain": []string{"artist", "track", "mbid", "autocorrect"},
	})
	return
}
922547
func (a *Client) GetCatalogs(params *GetCatalogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCatalogsOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewGetCatalogsParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetCatalogs",
		Method:             "GET",
		PathPattern:        "/catalogs",
		ProducesMediaTypes: []string{"application/json", "application/x-gzip"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https"},
		Params:             params,
		Reader:             &GetCatalogsReader{formats: a.formats},
		AuthInfo:           authInfo,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetCatalogsOK), nil
}
1145510
func (fs *FSObjects) getMultipartSHADir(bucket, object string) string {
	return pathJoin(fs.fsPath, minioMetaMultipartBucket, getSHA256Hash([]byte(pathJoin(bucket, object))))
}
192713
def getTracksForArtistInCollection(artist,user=nil,extras=nil)
      method = 'getTracksForArtistInCollection'
      type = Track
      args = {:artist=>artist}
      args[:user] = user if user
      args[:extras] = extras if extras
      return_object type,method,args
    end
1308864
func (api artistApi) GetTags(args map[string]interface{}) (result ArtistGetTags, err error) {
	defer func() { appendCaller(err, "lastfm.Artist.GetTags") }()
	if _, ok := args["user"]; !ok && api.params.sk != "" {
		err = callGet("artist.gettags", api.params, args, &result, P{
			"plain": []string{"artist", "mbid", "user", "autocorrect"},
		})
	} else {
		err = callGet("artist.gettags", api.params, args, &result, P{
			"plain": []string{"artist", "mbid", "user", "autocorrect"},
		})
	}
	return
}
705626
func (api userApi) GetWeeklyArtistChart(args map[string]interface{}) (result UserGetWeeklyArtistChart, err error) {
	defer func() { appendCaller(err, "lastfm.User.GetWeeklyArtistChart") }()
	err = callGet("user.getweeklyartistchart", api.params, args, &result, P{
		"plain": []string{"user", "from", "to"},
	})
	return
}
277515
func getObjectResources(values url.Values) (uploadID string, partNumberMarker, maxParts int, encodingType string, errCode APIErrorCode) {
	var err error
	errCode = ErrNone

	if values.Get("max-parts") != "" {
		if maxParts, err = strconv.Atoi(values.Get("max-parts")); err != nil {
			errCode = ErrInvalidMaxParts
			return
		}
	} else {
		maxParts = maxPartsList
	}

	if values.Get("part-number-marker") != "" {
		if partNumberMarker, err = strconv.Atoi(values.Get("part-number-marker")); err != nil {
			errCode = ErrInvalidPartNumberMarker
			return
		}
	}

	uploadID = values.Get("uploadId")
	encodingType = values.Get("encoding-type")
	return
}
638647
func (args *Arguments) GetArtifactByName(name string) *Artifact {
	for _, art := range args.Artifacts {
		if art.Name == name {
			return &art
		}
	}
	return nil
}