Giter Site home page Giter Site logo

easytbk's Introduction

废弃

本想改写一下变成swoft里能用的,后来发现了另一个也比较好用,建议用这个 https://github.com/Hanson/open-taobao-sdk

~/swoft/vendor/yijie/easytbk git add . && git commit -m 'test' && git push

介绍

淘宝联盟、京东联盟、多多进宝SDK封装,有bug或者新增api请提交PR

联系方式

微信:bugfixed

使用方法

1、安装扩展包

composer require niugengyun/easytbk

2、执行下面的命令,然后修改config/easytbk.php

php artisan vendor:publish --provider "Yijie\EasyTBK\ServiceProvider"

3、淘宝SDK初始化

<?php
use Yijie\EasyTBK\Factory;
use Yijie\EasyTBK\TaoBao\Request\TbkItemInfoGetRequest;

$client = Factory::taobao ();
$req = new TbkItemInfoGetRequest;
$req->setNumIids ($numIids);
return $client->execute ($req);

4、京东、拼多多SDK初始化基本一样,自己摸索

easytbk's People

Contributors

flutterbest avatar cranux avatar wangzijie01 avatar wenbobao avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.