[NEWS] Nowy zasób do pobrania danych użytkownika / New resource for retrieving user data
- 主要语言
- 没有语言数据
- 星标
- 244
- 派生
- 40
- PR 合并指标
- 30 天内没有已合并 PR
描述
Udostępniliśmy dziś nowy zasób, dzięki któremu pobierzesz dane użytkownika, którego token przesyłasz w requeście:
- [GET /me](https://developer.allegro.pl/documentation/#operation/meGET) - pobierz dane użytkownika
Przykładowy request:
```
curl -X GET \
https://api.allegro.pl/me \
-H 'Accept: application/vnd.allegro.public.v1+json' \
-H 'Content-Type: application/vnd.allegro.public.v1+json'
```
Przykładowy response:
```
{
"id": "12345678",
"login": "example_login",
"firstName": "Jan",
"lastName": "Nowak",
"company": {
"name": "Allegro.pl”
}
}
```
-----
Today we have released new resource, which allows you to retrieve user data, whose token is sent in the request:
- [GET /me](https://developer.allegro.pl/documentation/#operation/meGET) - retrieve user data
Sample request:
```
curl -X GET \
https://api.allegro.pl/me \
-H 'Accept: application/vnd.allegro.public.v1+json' \
-H 'Content-Type: application/vnd.allegro.public.v1+json'
```
Sample response:
```
{
"id": "12345678",
"login": "example_login",
"firstName": "Jan",
"lastName": "Nowak",
"company": {
"name": "Allegro.pl"
}
}
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。