mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 03:57:25 +08:00
25 lines
599 B
C#
25 lines
599 B
C#
|
// 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>>
|
|||
|
{
|
|||
|
public GetUsersRequest()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
protected override string Target => $@"rankings/osu/performance";
|
|||
|
}
|
|||
|
|
|||
|
public class RankingEntry
|
|||
|
{
|
|||
|
[JsonProperty]
|
|||
|
public User User;
|
|||
|
}
|
|||
|
}
|