Download the PHP package imactool/jinritemai without Composer

On this page you can find all versions of the php package imactool/jinritemai. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package jinritemai

jinritemai

工具型抖店开放平台SDK.

Build Status StyleCI

环境需求

Installing

Usage

具体可以看 example 示例代码 ,需要 composer install

其中 example/index.php 是针对 工具类型

example/self_use.php 则是针对的 自用型

授权相关

工具型应用授权

自用型应用授权

目前工具已支持 自用型应用授权工具型应用授权 两种授权类型。主要区别如下

店铺授权类型 调用方式 说明
工具型应用授权 1、$authUrl = $servic->Auth->generateAuthUrl('state'); 先获取 获取店铺授权URL
工具型应用授权 2、 $code = 'URL code'; $accessInfo = $servic->Auth->requestAccessToken($code); 拿到 URL code 之后,需要调用一次 requestAccessToken() 获取授权方授权信息 ;店铺同意授权后,使用授权code,GET方式请求可获取access_token:
自用型应用授权 1、$shopid = 23; $servic->Auth->getShopAccessToken($shopid) 自用型 - 获取access_token

获取授权方实例

这里 自用型应用授权工具型应用授权 都是一样的用法

实现接口

基于抖店开放平台的(工具型、自用型)SDK ,即本SDK是服务第三方开发者创建工具型应用(工具型应用必须上架,才能走授权流程) 以下列出来的接口都是已实现的 具体可以看 src/DouDianApp.php . $app 在本文档都是指的 $servic->shopApp($shopid,$refresh_token); 得到的实例 不需要自己刷新 refresh_token SDK 内部会自动实现刷新。 当如果返回 token 过期 请参考问题

店铺api $app->Shop

例如 $app->Shop->getShopBrandList()

商品api $app->Shop

$app->Shop->addProduct($params)

订单 api $app->Order

物流 api $app->Logistics

售后退款 api $app->AfterSale

运费险API $app->Insurance

库存 API $app->Stock

账单 API $app->Bill

评价 API $app->Commnet

BIC质检API $app->Btas

BIC 质检 也包含,这接口变动和改变的太快了~

问题

License

MIT


All versions of jinritemai with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^6.5|^7.0.1
symfony/cache Version ^4.4|^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package imactool/jinritemai contains the following files

Loading the files please wait ....