From b5f06f2a1224b1e901e74379ce97a71c20d312c0 Mon Sep 17 00:00:00 2001 From: nimasdj Date: Sun, 20 Oct 2019 22:07:07 +0330 Subject: [PATCH 1/4] Update KavenegarApi.php --- src/KavenegarApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/KavenegarApi.php b/src/KavenegarApi.php index ff0e946..8042642 100644 --- a/src/KavenegarApi.php +++ b/src/KavenegarApi.php @@ -67,7 +67,7 @@ protected function execute($url, $data = null) if ($json_return->status != 200) { throw new ApiException($json_return->message, $json_return->status); } - return $json_response->entries; + return $response; } } @@ -291,4 +291,4 @@ public function CallMakeTTS($receptor, $message, $date = null, $localid = null) return $this->execute($path, $params); } } -?> \ No newline at end of file +?> From 26eb00b163b26ba1cac9d0abe10cd2210e59773d Mon Sep 17 00:00:00 2001 From: nimasdj Date: Mon, 21 Oct 2019 07:20:52 +0330 Subject: [PATCH 2/4] Update KavenegarApi.php Better to remove closing tag. --- src/KavenegarApi.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/KavenegarApi.php b/src/KavenegarApi.php index 8042642..94f93d7 100644 --- a/src/KavenegarApi.php +++ b/src/KavenegarApi.php @@ -291,4 +291,3 @@ public function CallMakeTTS($receptor, $message, $date = null, $localid = null) return $this->execute($path, $params); } } -?> From da60a96293de291d23855bc3927955cbfd775608 Mon Sep 17 00:00:00 2001 From: nimasdj Date: Sat, 2 Nov 2019 19:43:43 +0330 Subject: [PATCH 3/4] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a123abd..cc32c77 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,10 @@ # kavenegar-PHP [![Latest Stable Version](https://poser.pugx.org/kavenegar/php/v/stable.svg)](https://packagist.org/packages/kavenegar/php) [![Total Downloads](https://poser.pugx.org/kavenegar/php/downloads.svg)](https://packagist.org/packages/kavenegar/php) - + +[![Latest Stable Version](https://img.shields.io/github/v/release/phplicengine/bitly)](https://packagist.org/packages/kavenegar/php) + + # Kavenegar RESTful API Document If you need to future information about API document Please visit RESTful Document From 8ef1dd780aec2be7a4b159cb75db1298cf189e42 Mon Sep 17 00:00:00 2001 From: nimasdj Date: Sat, 2 Nov 2019 20:06:28 +0330 Subject: [PATCH 4/4] Update README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index cc32c77..ba25d84 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,6 @@ [![Latest Stable Version](https://poser.pugx.org/kavenegar/php/v/stable.svg)](https://packagist.org/packages/kavenegar/php) [![Total Downloads](https://poser.pugx.org/kavenegar/php/downloads.svg)](https://packagist.org/packages/kavenegar/php) -[![Latest Stable Version](https://img.shields.io/github/v/release/phplicengine/bitly)](https://packagist.org/packages/kavenegar/php) - - # Kavenegar RESTful API Document If you need to future information about API document Please visit RESTful Document