version: 2.1.3
api
you can call some of our build in apis with this method, some apis will need parameter , so you must use them in option parameter as array, NOTE : We try to make apis always online and always work, but sometimes that is not possible
Parameters
type | string | api name you want to use alaki arz tala arzdigital ayam danestani dastan chistan dialog hadis joke fall khatere pnp noroz capcha time corona uupload proxy screenshot short alexa num2text fin2pe |
Yes |
option | array | Set the api req field(s) in this parameter pdf need url field uupload need url field screenshot need url field short need url field alexa need url field num2text need num field fin2pe need text field |
Optional |
Method errors
ErrorName | description |
---|---|
type parameter not found | parameter type not founded , set it like example |
array parameter not found | parameter array not founded , set it like example |
pdf api need url field! | pdf api need url field , set it in option param |
uupload api need url field! | uupload api need url field , set it in option param |
screenshot api need url field! | screenshot api need url field , set it in option param |
short api need url field! | short api need url field , set it in option param |
alexa api need url field! | alexa api need url field , set it in option param |
num2text api need num field! | num2text api need num field , set it in option param |
fin2pe api need text field! | fin2pe api need text field , set it in option param |
Method examples
$this->api(['type'=>'pdf','option'=>['url'=>'https://bpt-proto.ir']]);
$this->api(['type'=>'dastan']);