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

cn.blankcat.openapi.UserService Maven / Gradle / Ivy

There is a newer version: 2.1.3
Show newest version
package cn.blankcat.openapi;

import cn.blankcat.dto.guild.Guild;
import cn.blankcat.dto.member.User;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

import java.util.List;

public interface UserService {

    @GET("/users/@me")
    Call getUserMe();

    @GET("/users/@me/guilds")
    Call> getUserMeGuilds(@Query("before") String before,
                                      @Query("after") String after,
                                      @Query("limit") String limit);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy