sk-web-app-api / skwebapp-api
'The best we are
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
This package is not auto-updated.
Last update: 2025-04-30 11:33:47 UTC
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 😄