SteemPHP. SteemMarket Receives 7 New Functions for Steemit Internal Market

in #steemdev7 years ago

SteemPHP (1).png

Many of you have used http://www.steemdollar.com/ to get STEEM and SBD price, but what if you could make your own Steem Ticker using PHP.

SteemMarket's 7 new functions allows you to build your own ticker website.
What are the New Functions?

$SteemMarket->getTicker();

Gets the market ticker for the internal SBD:STEEM market


$SteemMarket->getMarketHistory($startTime, $endTime, $bucket_seconds);

Gets the market history for the internal SBD:STEEM market.


$SteemMarket->getMarketHistoryBuckets();

Gets the bucket seconds being tracked by the plugin.


$SteemMarket->getOrderBookFromMarket($limit = 100);

Gets the current order book for the internal SBD:STEEM market.


$SteemMarket->getRecentTrades($limit = 100);

Gets the N most recent trades for the internal SBD:STEEM market.


$SteemMarket->getTradeHistory($startTime, $endTime, $limit = 100);

Gets the trade history for the internal SBD:STEEM market.


$SteemMarket->getVolume();

Gets the market volume for the past 24 hours

Now with the new functions you can easily build your steemit ticker website and Collect the data you want. Share your work with us by commenting the link of your ticker website.

SteemPHP is located at https://github.com/davidkevork/steemphp

Sort:  

I can't stop watching/reading/listening.

Congratulations @davidk! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 62025.78
ETH 2417.09
USDT 1.00
SBD 2.49