承接 iaipes/apiclient 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

iaipes/apiclient

Composer 安装命令:

composer require iaipes/apiclient

包简介

REST client for the IAIP API

README 文档

README

Latest Version on Packagist Total Downloads

Client for the REST API at developers portal of IAIP.

Note: This package is under development and should not be used in production sites, until version 1.0.0 or above is released.

Dependencies

Installation

Via Composer

$ composer require iaipes/apiclient

Configuration

Laravel

Publish configuration

php artisan vendor:publish --provider aipes\ApiClient\ApiClientServiceProvider

Configure the next variables in you .env file:

IAIPES_API_TOKEN={token}
IAIPES_API_URL=http://developers.iaip.iw.sv
IAIPES_API_TIMEOUT=10

Note: replace {token} with your developer access token.

Usage

PHP

// Load dotenv if you have not (Not necessary in Laravel)
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();

use Iaipes\ApiClient\Http\Client\Api\V1\InformationRequestClient;

$client = new InformationRequestClient;

$response = $client->index([
        'include' => 'institution',
        'filter' => [
            'profession_cont' => 'Desarrollador'
        ],
        'sort' => 'created_at desc'
    ]);

Note: For more information about classes and methods, please check the documentation

Change log

Please see the changelog for more information on what has changed recently.

Testing

Create a .dot file inside the tests folder

IAIPES_API_TOKEN={token}
IAIPES_API_URL=http://developers.iaip.iw.sv
IAIPES_API_TIMEOUT=30

Note: Replace {token} with your developer access token

Run the rest with the next command

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固