2017-06-07 19:05:43 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using osu.Game.Users;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Online.API.Requests
|
|
|
|
|
{
|
|
|
|
|
public class GetUsersRequest : APIRequest<List<RankingEntry>>
|
|
|
|
|
{
|
2017-06-07 19:16:34 +08:00
|
|
|
|
protected override string Target => @"rankings/osu/performance";
|
2017-06-07 19:05:43 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class RankingEntry
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty]
|
|
|
|
|
public User User;
|
|
|
|
|
}
|
|
|
|
|
}
|