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, $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

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now