PHP is still a widely used programming language. It powers WordPress, which, in turns, powers hundreds of millions of websites.
I decided to open source parts of the code I used when I created steem.supply, namely the formalizable parts, in an Open Source library called PHP Steem Tools.
PHP Steem Tools wants to be a wrapper on top of a few APIs, including, but not limited to the Steem blockchain API.
Currently, it is packaged as a composer module and it has the following features:
- alternative transport: cURL / websocket
- get user JSON data
- get current prices for Steem / SBD from coinmarketcap.com
- converts vests to Steem Power
- access the following endpoints:
-- get_discussions_by_author_before_date,
-- get_replies_by_last_update,
-- get_current_median_history_price
-- get_content
-- get_content_replies
-- get_discussions_by_comments
-- get_account_votes
-- get_account_history
-- get_followers
-- lookup_accounts
-- get_accounts
-- get_api_by_name
-- get_dynamic_global_properties
In Steem.Supply this library is used as modules in a CodeIgniter setup. Steem Supply screenshots
Open Source Contribution posted via https://utopian.io