You are viewing a single comment's thread from:

RE: SteemPHP receiving new documentation

in #steemdev7 years ago

Very interested in this as a PHP developer.

I've been toying with SteemJS and built some fun little things but having something that could be run via cron would make life so much easier.

As I recall from looking at it a while back though it has several dependencies that stopped me from going any further. Any chance this is possible purely through curl?

Sort:  

You can use curl to grab data from the block chain.
simply write your small curl code and get the post values needed from the library and it should work.

If you want to post artices/comment or upvote which will be available soon is not possible without dependencies as it there has to be signature converting wif which heavily depends on bitcoin-php, which contains many of the functions needed

Thanks David, I'll have a play and see what I can come up with. :)

Okay, I got the basics up and running using curl. The argument setups were a bit different so some trial and error was involved but I'm now fetching things successfully.

I can now replicate the maths I was doing in javascript into PHP.

I'm not one to shy from a challenge so my next aim is to be able to drop an upvote on something in pure php :P

Coin Marketplace

STEEM 0.21
TRX 0.24
JST 0.038
BTC 94636.84
ETH 3278.73
USDT 1.00
SBD 3.16