php-graphene-node-client
It is PHP API client for Steem/GOLOS blockchain
Github or packagist with MIT license. Author @t3ran13 and active helper @semasping
In Release v3.0.2
- new Http connection
- SteemitHttpConnector in InitConnector by default
Aсcording this post libraries need to use new endpoint and http/jsonrpc calls instead of websockets.
Usage example:
Let get account count in Steemit
use GrapheneNodeClient\Connectors\Http\SteemitHttpConnector;
$command = new GetAccountCountCommand(new SteemitHttpConnector());
$commandQuery = new CommandQueryData();
$content = $command->execute($commandQuery);
var_dump($content);
If you use own connector witch extends WSConnectorAbstract()
You have to use new HttpConnectorAbstract()
<?php
namespace My\App;
use GrapheneNodeClient\Commands\DataBase\CommandAbstract;
use GrapheneNodeClient\Connectors\ConnectorInterface;
class MySteemitConnector extends HttpConnectorAbstract
{
/**
* @var string
*/
protected $platform = self::PLATFORM_STEEMIT;
/**
* max number of tries to get answer from the node
*
* @var int
*/
protected $maxNumberOfTriesToCallApi = 3;
/**
* https or http servers, can be list. First node is default, other are reserve.
* After $maxNumberOfTriesToCallApi tries connects to default it is connected to reserve node.
*
* @var string|array
*/
protected $nodeURL = ['https://api.steemit.com'];
}
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @semasping I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Могу сказать одно, @semasping, что если человек крут, то он крут во всем!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Спасибо!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Мне пoнрaвилось, а чтo вы дyмaете по этомy поводу?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
солидарен
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
😁
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
✔️
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
cool
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
great post
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
впечатляет
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
огонь
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
👍
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
nice post
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
☑️
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
😄
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
и я решил мимо не проходить
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
круто
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
upvote this!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
👏
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
💪
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Ап
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@OriginalWorks
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
The @OriginalWorks bot has determined this post by @semasping to be original material and upvoted it!
To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @semasping! 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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit