Skip to content

jrean/sdk-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BeMyGuestAPIV1Lib

This API SDK was automatically generated by APIMATIC v2.0

How To Configure:

The generated code might need to be configured with your API credentials. To do that, provide the credentials and configuration values as a constructor parameters for the controllers

How To Build:

The generated code uses a PHP library namely UniRest. The reference to this library is already added as a composer dependency in the generated composer.json file. Therefore, you will need internet access to resolve this dependency.

How To Use:

For using this SDK do the following:

1. Open a new PHP >= 5.3 project and copy the generated PHP files in the project
   directory.
2. Use composer to install the dependencies. Usually this can be done through a 
   context menu command "Instal (dev)".
3. Import classes from your file in your code where needed for example,
       use BeMyGuestAPIV1Lib\Controllers\ConfigController;

    
4. You can now instantiate controllers and call the respective methods.

BeMyGuestAPIV1Lib - 中文版说明

这个API SDK 是由APIMATIC V2.0自动产生

如何设置:

这个生成的代码需要与你的API中的用户权限进行配置。你需要在controllers 里的 constructor 传用户权限和配置值

如何建立工程:

这个生成的代码使用了PHP library里的UniRest。这个library已经加入在composer.json的文件里。 你必须连接到互联网操作。

使用说明:

跟着以下的步骤使用该SDK:

1. 打开PHP >= 5.3 project,然后在project的文件夹里复制已生成的PHP文件。

2. 使用composer安装项目所需要的依赖. 通常这可以通过context menu command "Instal (dev)"以执行這行指令
3. 从你的文件里导入需要的classes , 例如,
       use BeMyGuestAPIV1Lib\Controllers\ConfigController;

4. 您现在可以实例化controllers并调用相应的方法。