# lazada-sdk-client

> The sdk client imitated from python version.

Latest version **1.0.2** (published 2021-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install lazada-sdk-client
pnpm add lazada-sdk-client
yarn add lazada-sdk-client
bun add lazada-sdk-client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-02-27 |
| First published | 2021-02-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | bigshans |
| Maintainers | bigshans |

## Links

- npm: https://www.npmjs.com/package/lazada-sdk-client
- Repository: https://github.com/bigshans/lazada-sdk-client
- Issues: https://github.com/bigshans/lazada-sdk-client/issues
- npm.io page: https://npm.io/package/lazada-sdk-client

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.21.1

## Recent versions

- 1.0.2 (latest) — 2021-02-27
- 1.0.1 — 2021-02-27
- 1.0.0 — 2021-02-27

## README

# (WIP)lazada-sdk-client

This project is imitated from the Python SDK version. You can use it like python sdk.

## How to use?

```javascript
const { LazadaRequest, LazadaClient } = require('lazada-sdk-client');

const client = new LazadaClient('${you server api}', '${you api key}', '${you api secret}', '${timeout}'); // default timeout is 30000
const request = new LazadaRequest('${you request api endpoint}', '${http method}'); // http method default is post
request.addApiParam('${key}', '${value}');
const res = await client.execute(request, token); // the return is AxiosResponse
```

It works on normal API. I have not yet written the handling of the file upload interface.

---
_Source: https://npm.io/package/lazada-sdk-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
