@lichess-org/types 2.0.123 → 2.0.125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lichess-api.d.ts +14 -12
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -3704,9 +3704,9 @@ export interface paths {
|
|
|
3704
3704
|
};
|
|
3705
3705
|
/**
|
|
3706
3706
|
* Masters database
|
|
3707
|
-
* @description **Endpoint: <https://explorer.lichess.
|
|
3707
|
+
* @description **Endpoint: <https://explorer.lichess.org/masters>**
|
|
3708
3708
|
*
|
|
3709
|
-
* Example: `curl https://explorer.lichess.
|
|
3709
|
+
* Example: `curl https://explorer.lichess.org/masters?play=d2d4,d7d5,c2c4,c7c6,c4d5`
|
|
3710
3710
|
*/
|
|
3711
3711
|
get: operations["openingExplorerMaster"];
|
|
3712
3712
|
put?: never;
|
|
@@ -3726,11 +3726,11 @@ export interface paths {
|
|
|
3726
3726
|
};
|
|
3727
3727
|
/**
|
|
3728
3728
|
* Lichess games
|
|
3729
|
-
* @description **Endpoint: <https://explorer.lichess.
|
|
3729
|
+
* @description **Endpoint: <https://explorer.lichess.org/lichess>**
|
|
3730
3730
|
*
|
|
3731
3731
|
* Aggregated rated games from all Lichess players.
|
|
3732
3732
|
*
|
|
3733
|
-
* Example: `curl https://explorer.lichess.
|
|
3733
|
+
* Example: `curl https://explorer.lichess.org/lichess?variant=standard&speeds=blitz,rapid,classical&ratings=2200,2500&fen=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR%20w%20KQkq%20-%200%201`
|
|
3734
3734
|
*/
|
|
3735
3735
|
get: operations["openingExplorerLichess"];
|
|
3736
3736
|
put?: never;
|
|
@@ -3750,7 +3750,7 @@ export interface paths {
|
|
|
3750
3750
|
};
|
|
3751
3751
|
/**
|
|
3752
3752
|
* Player games
|
|
3753
|
-
* @description **Endpoint: <https://explorer.lichess.
|
|
3753
|
+
* @description **Endpoint: <https://explorer.lichess.org/player>**
|
|
3754
3754
|
*
|
|
3755
3755
|
* Games of a Lichess player.
|
|
3756
3756
|
*
|
|
@@ -3762,7 +3762,7 @@ export interface paths {
|
|
|
3762
3762
|
* Will index new games at most once per minute, and revisit previously
|
|
3763
3763
|
* ongoing games at most once every day.
|
|
3764
3764
|
*
|
|
3765
|
-
* Example: `curl https://explorer.lichess.
|
|
3765
|
+
* Example: `curl https://explorer.lichess.org/player?player=revoof&color=white&play=d2d4,d7d5&recentGames=1`
|
|
3766
3766
|
*/
|
|
3767
3767
|
get: operations["openingExplorerPlayer"];
|
|
3768
3768
|
put?: never;
|
|
@@ -3782,9 +3782,9 @@ export interface paths {
|
|
|
3782
3782
|
};
|
|
3783
3783
|
/**
|
|
3784
3784
|
* OTB master game
|
|
3785
|
-
* @description **Endpoint: `https://explorer.lichess.
|
|
3785
|
+
* @description **Endpoint: `https://explorer.lichess.org/masters/pgn/{gameId}`**
|
|
3786
3786
|
*
|
|
3787
|
-
* Example: `curl https://explorer.lichess.
|
|
3787
|
+
* Example: `curl https://explorer.lichess.org/masters/pgn/aAbqI4ey`
|
|
3788
3788
|
*/
|
|
3789
3789
|
get: operations["openingExplorerMasterGame"];
|
|
3790
3790
|
put?: never;
|
|
@@ -3804,9 +3804,9 @@ export interface paths {
|
|
|
3804
3804
|
};
|
|
3805
3805
|
/**
|
|
3806
3806
|
* Tablebase lookup
|
|
3807
|
-
* @description **Endpoint: <https://tablebase.lichess.
|
|
3807
|
+
* @description **Endpoint: <https://tablebase.lichess.org>**
|
|
3808
3808
|
*
|
|
3809
|
-
* Example: `curl http://tablebase.lichess.
|
|
3809
|
+
* Example: `curl http://tablebase.lichess.org/standard?fen=4k3/6KP/8/8/8/8/7p/8_w_-_-_0_1`
|
|
3810
3810
|
*/
|
|
3811
3811
|
get: operations["tablebaseStandard"];
|
|
3812
3812
|
put?: never;
|
|
@@ -3826,7 +3826,7 @@ export interface paths {
|
|
|
3826
3826
|
};
|
|
3827
3827
|
/**
|
|
3828
3828
|
* Tablebase lookup for Atomic chess
|
|
3829
|
-
* @description **Endpoint: <https://tablebase.lichess.
|
|
3829
|
+
* @description **Endpoint: <https://tablebase.lichess.org>**
|
|
3830
3830
|
*/
|
|
3831
3831
|
get: operations["tablebaseAtomic"];
|
|
3832
3832
|
put?: never;
|
|
@@ -3846,7 +3846,7 @@ export interface paths {
|
|
|
3846
3846
|
};
|
|
3847
3847
|
/**
|
|
3848
3848
|
* Tablebase lookup for Antichess
|
|
3849
|
-
* @description **Endpoint: <https://tablebase.lichess.
|
|
3849
|
+
* @description **Endpoint: <https://tablebase.lichess.org>**
|
|
3850
3850
|
*/
|
|
3851
3851
|
get: operations["antichessAtomic"];
|
|
3852
3852
|
put?: never;
|
|
@@ -8068,6 +8068,8 @@ export interface operations {
|
|
|
8068
8068
|
max?: number;
|
|
8069
8069
|
/** @description Download entries before this timestamp. Defaults to now. Use `before` and `max` for pagination. */
|
|
8070
8070
|
before?: number;
|
|
8071
|
+
/** @description Download entries since this timestamp. Defaults to account creation date. */
|
|
8072
|
+
since?: number;
|
|
8071
8073
|
};
|
|
8072
8074
|
header?: never;
|
|
8073
8075
|
path?: never;
|