# eleme-api

> api client for eleme open api

Latest version **0.0.1** (published 2016-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install eleme-api
pnpm add eleme-api
yarn add eleme-api
bun add eleme-api
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-05-31 |
| First published | 2016-05-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | MadHouses |
| Maintainers | keller35 |
| Keywords | eleme, api |

## Links

- npm: https://www.npmjs.com/package/eleme-api
- Repository: https://github.com/MadHouses/eleme-api
- Homepage: https://github.com/MadHouses/eleme-api#readme
- Issues: https://github.com/MadHouses/eleme-api/issues
- npm.io page: https://npm.io/package/eleme-api

## Dependencies (2)

- [moment](https://npm.io/package/moment.md) ^2.12.0
- [request-promise](https://npm.io/package/request-promise.md) ^3.0.0

## Recent versions

- 0.0.1 (latest) — 2016-05-31

## README

# meituan

api client for meituan waimai open platform

## install 

    npm install meituan --save

## usage

    var Meituan = require('meituan');

    let mt = new Meituan(your_app_id, your_app_secret);
    
    const path = '/api/v1/order/confirm';
    const params = {order_id: '123'};
    
    mt.get(path, params)
        .then(body => console.log(body))
        .catch(err => console.log(err));
        
## signature validate

    mt.validateSign(yourUrl, params)    // return true or false
    
## config

    new Meituan(your_app_id, your_app_secret, [config]);
    
    // or you can 
    
    mt.config(config);
    
#### configuration

| attribute    | description   | default  |
| -------------|:-------------:| -----:   |
| debug        | 是否线下测试    | false    |

## test

    npm run test

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