4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

SteemPHP receiving new documentation

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,username,limit = 100, $skip = -1)		
 	{		
 		try {		
 			return this->client->call(0,'getaccounthistory',[this->client->call(0, 'get_account_history', [username, SteemHelper::filterInt(skip),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,username,limit = 100, $skip = -1)
	{
		try {
			return this->client->call(0,'getaccounthistory',[this->client->call(0, 'get_account_history', [username, SteemHelper::filterInt(skip),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

10 upvotes $0.04

Replies (4)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: