定制 darkside666/nofrixion-api-client 二次开发

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

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

darkside666/nofrixion-api-client

Composer 安装命令:

composer require darkside666/nofrixion-api-client

包简介

Nofrixion API client in PHP

README 文档

README

⚠️ Note: This is a beta version of the Nofrixion API client library. Features and functionality may change in future updates.

Installation

To install the Nofrixion API client library, use Composer:

composer require darkside666/nofrixion-api-client

Usage Examples

You can find usage examples in the /example folder:

  • Authorization Example: See auth.php for implementing authorization.
  • API Client Example: See test.php for using the Nofrixion API client.

Updating Client API Code

While it's generally not necessary to manually update the client API code, if you need to re-generate the API classes, you can follow the steps below:

  1. Install OpenAPI Generator Ensure you have NPM installed, then install the OpenAPI Generator CLI globally:

    # install new
    npm install @openapitools/openapi-generator-cli -g
    # or update existing
    npm update @openapitools/openapi-generator-cli -g
  2. Generate the Nofrixion\Client Code Use the OpenAPI Generator to generate the client code from the Nofrixion API Swagger definition:

    # generate from live API
    openapi-generator-cli generate -i https://api.nofrixion.com/swagger/v1/swagger.json -g php -o ./src-client -c src-client-config.json
    # or generate from development API
    openapi-generator-cli generate -i https://api-dev.nofrixion.com/swagger/v1/swagger.json -g php -o ./src-client -c src-client-config.json

Client Documentation

For more detailed information on using the generated client, refer to the Client Documentation.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: unlicense
  • 更新时间: 2024-10-01