SteemPHP receiving new documentation

By @davidk8/11/2017steemdev

steemphp.png

SteemPHP (https://github.com/davidkevork/steemphp) will be receiving new documentation and soon more tests file.

the old documentation


/**		
 	 * Account History from: - account creation		
 	 *                       - account update		
 	 *                       - submited stories		
	 *                       - comment		
	 *                       - votes		
 	 *                       - followers		
 	 *                       - following		
 	 *                       - transfer		
 	 * @param String $username 		
 	 * @param int $limit 		
 	 * @param int $skip 		
 	 * @return array		
 	 */		
 	public function getAccountHistory($username, $limit = 100, $skip = -1)		
 	{		
 		try {		
 			return $this->client->call(0, 'get_account_history', [$username, SteemHelper::filterInt($skip), SteemHelper::filterInt($limit)]);		
 		} catch (\Exception $e) {		
 			return SteemHelper::handleError($e);		
 		}		
 	}

and the new code


/**
	 * Gets the account history.
	 *
	 * @param      string   $username  The username
	 * @param      integer  $limit     The limit
	 * @param      integer  $skip      Skip is the place to start for pagination
	 *
	 * @return     array   The account history.
	 */
	public function getAccountHistory($username, $limit = 100, $skip = -1)
	{
		try {
			return $this->client->call(0, 'get_account_history', [$username, SteemHelper::filterInt($skip), SteemHelper::filterInt($limit)]);
		} catch (\Exception $e) {
			return SteemHelper::handleError($e);
		}
	}

How to support this project?

upvote, resteem and star our repo on Github.

Which projects are being build using SteemPHP?

SteemHater and SteemDash

9

comments