Hi team )
I'm a programmer and I want to get games by lichess_user_name through the API.
My steps:
- I create token like lip_****************
- I use Laravel framework
- code example
$response = Http::withHeaders([
"Accept" => "application/x-ndjson",
'Authorization' => 'Bearer lip_*********************'
])
->get('https://lichess.org/api/games/user/Zaminitel_Grandmaste');
$games_response = $response->json();
So I am getting null.
Please help me to make that request correctly.
Hi team )
I'm a programmer and I want to get games by lichess_user_name through the API.
My steps:
1. I create token like lip_****************
2. I use Laravel framework
3. code example
$response = Http::withHeaders([
"Accept" => "application/x-ndjson",
'Authorization' => 'Bearer lip_*********************'
])
->get('https://lichess.org/api/games/user/Zaminitel_Grandmaste');
$games_response = $response->json();
So I am getting null.
Please help me to make that request correctly.