aoxiang/quanma

Quan Ma 51 Api SDK

0.0.2 2021-05-16 16:04 UTC

This package is auto-updated.

Last update: 2024-12-17 09:05:19 UTC


README

Quan Ma 51 Api SDK

Usage

$username     = env('QUANMA_USER_NAME');
$password     = env('QUANMA_PASSWORD');
$key          = env('QUANMA_KEY');
$code         = env('QUANMA_CODE');
$quanma       = new Client($username, $password, $key, $code);

$quanma->coupon($id);

$quanma->coupons();

$quanma->buy($id);