定制 proxy-seller/user-api-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

proxy-seller/user-api-php

Composer 安装命令:

composer require proxy-seller/user-api-php

包简介

Interaction with user api

README 文档

README

Install from packagist.org

composer require proxy-seller/user-api-php:dev-master

Or manual install from proxy-seller/user-api-php repository

git clone https://bitbucket.org/proxy-seller/user-api-php
cd user-api-php
composer install

Quick start

Get API key here

require __DIR__ . '/vendor/autoload.php';
$api = new \ProxySeller\Userapi\Api(['key' => 'YOUR_API_KEY']);
//$api->setPaymentId(43);
//$api->setGenerateAuth('Y');
echo $api->balance();

Changelog

22.01.2024
Breaking changes:
! remove $targetId and $targetSectionId from all calc/make requests
! add $listId into proxyDownload method

New methods:
+ setPaymentId() - used in all calc/make requests (payment id=1(inner balance), id=43(subscribed card))
+ setGenerateAuth() - used in all calc/make requests (Y/N, default N)

+ authList
+ authActive
+ orderCalcResident
+ orderMakeResident
+ residentPackage
+ residentGeo
+ residentList
+ residentListRename
+ residentListDelete

Methods available:

  • authList
  • authActive
  • balance
  • balanceAdd
  • balancePaymentsList
  • referenceList
  • orderCalcIpv4
  • orderCalcIsp
  • orderCalcMix
  • orderCalcIpv6
  • orderCalcMobile
  • orderCalcResident
  • orderMakeIpv4
  • orderMakeIsp
  • orderMakeMix
  • orderMakeIpv6
  • orderMakeMobile
  • orderMakeResident
  • prolongCalc
  • prolongMake
  • proxyList
  • proxyDownload
  • proxyCommentSet
  • proxyCheck
  • ping
  • residentPackage
  • residentGeo
  • residentList
  • residentListRename
  • residentListDelete

统计信息

  • 总下载量: 2.62k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-10