UsersService class abstract
Access registered users on Lichess. https://lichess.org/player
- Each user blog exposes an atom (RSS) feed, like https://lichess.org/@/thibault/blog.atom.
- User blogs mashup feed: https://lichess.org/blog/community.atom.
- User blogs mashup feed for a language: https://lichess.org/blog/community/fr.atom.
- Mixed in types
- Implementers
Constructors
- UsersService()
-
Interface for this client.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
{bool force = false}) → Future< void> -
Close any resources associated with this object.
override
-
getChessVariantLeaderboard(
{required PerfType variant, int limit = 100}) → Future< List< User> > - Method with semantic names for getPerfTypeLeaderboard.
-
getLiveStreamers(
) → Future< List< User> > - Get basic info about currently streaming users.
-
getManyById(
{required List< String> ids}) → Future<List< User> > - Get up to 300 users by their IDs. Users are returned in the same order as the IDs.
-
getPerfTypeLeaderboard(
{required PerfType perfType, int nb = 100}) → Future< List< User> > -
Get the leaderboard for a single speed or variant (a.k.a.
perfType
). There is no leaderboard for correspondence or puzzles. -
getPublicData(
{required String username, bool trophies = false}) → Future< User> - Read public data of a user.
-
getRatingHistory(
{required String username}) → Future< List< RatingHistory> > - Read rating history of a user, for all perf types.
-
getRealTimeStatus(
{required List< String> ids, bool withGameIds = false}) → Future<List< RealTimeUserStatus> > -
Read the
online
,playing
andstreaming
flags of several users. -
getTop10(
) → Future< Map< String, List< >User> > - Get the top 10 players for each speed and variant.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchByTerm(
{required String term, bool friend = false}) → Future< List< User> > - Provides autocompletion options for an incomplete username.
-
searchNamesByTerm(
{required String term, bool friend = false}) → Future< List< String> > - Provides autocompletion options for an incomplete username.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited