Skip to content

datawowio/posmoni-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posmoni-php

Posmoni-php HTTP RESTFul for calling Posmoni APIs

support or question [email protected]

Requirements

  • php 5.4 or above
  • Built-in libcurl support.

Installation

Composer

You can install library via Compose. Please check you have installed Composer on your machine and copy below code to your composer.json If you don't have composer then click on the link Official website to install

Copy below code to your composer.json

"datawow/posmoni-php": "dev-master"

Run composer install

php composer.phar install

or (Global setup)

composer install

After you run composer install then you will have folder vendor/ to store your libs. Now you can load those libs via

require_once dirname(__FILE__).'/vendor/autoload.php';

API explanation

There is model for calling our API and each of its there are 2 operations to use such as create and get

moderation model.

  • Moderation

Model functions

For create data use create()

/**
@param string $token
@param array $params
**/
Moderation::create($token, $params);

For query list of data use get()

/**
@param string $token
@param array $params => array("query" => "")
**/
Moderation::get($token, $params);

Every function that being used must have $token which is a project token and $params is a parameter that required for each model. For $params we're going to explanation in a usage section

https://dashboard.posmoni.com/app

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages