All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.blizzed.opensongkick.methods.gigography.UserGigography Maven / Gradle / Ivy

The newest version!
package ru.blizzed.opensongkick.methods.gigography;

import ru.blizzed.opensongkick.ApiCaller;
import ru.blizzed.opensongkick.models.Event;
import ru.blizzed.opensongkick.models.ResultsPage;
import ru.blizzed.opensongkick.params.Param;
import ru.blizzed.opensongkick.params.ParamsConverter;

public class UserGigography {

    private UserGigographyCaller userGigographyCaller;

    public UserGigography(UserGigographyCaller userGigographyCaller) {
        this.userGigographyCaller = userGigographyCaller;
    }

    public ApiCaller> byName(String username) {
        return new ApiCaller<>(userGigographyCaller.byName(username));
    }

    public ApiCaller> byName(String username, Param... params) {
        return new ApiCaller<>(userGigographyCaller.byName(username, ParamsConverter.asMap(params)));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy