Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new domain #21

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [Lolzteam](https://lolz.guru/) API for node.js
# [Lolzteam Market](https://lzt.market/) API for node.js

## ⚠️ Attention! This project uses ES modules.
### Please make sure you have `"type": "module"` in your package.json
Expand Down
4 changes: 2 additions & 2 deletions docs-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ await api.market.search({ categoryName: 'steam', pmin: 250, pmax: 250 })
```

## LZTApi
* `token: string` - токен API, получать [тут](https://lolz.guru/account/api)
* `token: string` - токен API, получать [тут](https://lzt.market/account/api) (обязательно с scope "market" - для этого нужно иметь 200 симпатий или приобрести "Доступ к маркету" [тут](https://zelenka.guru/payment/method?service_type=user-upgrade&service_id=8))
* `locale?: string` - ISO 639-1 код языка
* `fetchParams?: Object` - дополнительные параметры для node-fetch
* `interval_between_requests?: number` - интервал между запросами в мс, если не указано - 3000 мс

## LZTApi#market
Маркет, в целом повторяет [http api](https://github.com/NztForum/Lolzteam-Public-API/blob/master/docs/market_api.markdown)
Маркет, в целом повторяет [Official api](https://docs.api.zelenka.guru/?market)

### market.search
Поиск аккаунтов по параметрам
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"email": "[email protected]"
},
"type": "module",
"funding": "https://lolz.guru/market/balance/transfer?username=%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B5%D0%B9%D0%9B%D1%8B%D0%BA%D0%BE%D0%B2&comment=node-lzt",
"keywords": [
"lzt",
"lolz",
Expand Down