sk-web-app-api/skwebapp-api
Composer 安装命令:
composer create-project sk-web-app-api/skwebapp-api
包简介
'The best we are
README 文档
README
Welcome to our API
Here are a few steps to use this API :
Consume APi :
Step 1
- In your own project -> Create new folder
- Open it with your editor, Go to terminal or Git Bash ,
- Execute : 👇
* git init * composer require sk-web-app-api/skwebapp-api
-
if you take a look at this folder , you find some files added..
--.git --vendor --composer --sk-web-app-api --autoload.php --composer.json --composer.lock
Step 2
Wherever you want to use this APi, into your 'file.php':
-
Call : require_once './vendor/autoload.php';
-
Instantiate the class "SkMailing" with its namespace :
exemple :
$instClass = new \SkMailing\SkMailing();
-
Data to provide :
* $data['askmailconfirm'] = true; * $data['firstname'] = "..."; * $data['lastname'] = "..."; * $data['email'] = "..."; * $message_id = "..."; * $mailing_id= "..."; * $response_format = 'json';// json or array , default 'json'
Call functions :
-
Send Mail funcion $instClass->sendmail($data,$message_id, 'array'));
-
Subcribe funcion $instClass->subscribe_to_ml($data,$mailing_id));
Problems? Please let us know
If you run into any problems or issues, please let us know so we can address and fix them right away. You can contact us 😄
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-04-20