*This release fixes most of the issues reported on GitHub and adds some additional functionalities and improvements.* <center> ![SteemJV2Logo](https://steemitimages.com/0x0/https://steemitimages.com/0x0/https://steemitimages.com/0x0/http://imgur.com/F54Tflg.png) </center> <center> Previous 0.3.x releases: [0.3.0](https://steemit.com/steemdev/@dez1337/steemj-v0-3-0-has-been-released-update-12) </center> # SteemJ v0.3.1 has been released Hello Steemians! So another four weeks have passed since the last update I am really proud to share a new SteemJ version with you. In [the last update post](https://steemit.com/steemdev/@dez1337/steemj-v0-3-0-has-been-released-update-12) I’ve said: >According to the access numbers on [GitHub](https://github.com/marvin-we/steem-java-api-wrapper) more and more people start to test/use SteemJ which makes me really really happy. And what can I say? The numbers are still increasing and in the last 7 days, 100 different users visited the project page on GitHub – This is a new "User Record"! Thank you for that, it is absolutly great to see this project growing! With the increasing number of users and people who really want to start something based on SteemJ, a lot of issues have been identified. This release will cover a lot of the requested fixes. I hope once again that this release supports all the functionality needed to finish your projects – Otherwise, please let me know - I am always happy about any feedback, request or bug report and will try to help you as soon as possible. # Code Quality Before we have a look at the detailed changes, let’s take a look at the SonarQube dashboard for this release. <center> ![SonarQube](http://imgur.com/lJXwkYl.png) </center> The number of tests and the overall code coverage has slightly increased as I’ve added tests for all the reported and fixed issues just to make sure I will never miss those bugs again. Beside that the duplication rate has been decreased a little bit due to some code clean ups. # Changelog Let’s now have a look at the detailed changelog. #### Functional Updates * The API method “getOpsInBlock” has been added [#44](https://github.com/marvin-we/steem-java-api-wrapper/issues/37). This operation allows you to fetch all Operations for a specific block. * Fix several methods reported in [#37](https://github.com/marvin-we/steem-java-api-wrapper/issues/37) * getFeedHistory * getOrderBook * getOpenOrders * Dates are now wrapped in a separate TimePointSec-Object [38](https://github.com/marvin-we/steem-java-api-wrapper/issues/38) * Fix Timestamp is always 0 for getBlock method [#40](https://github.com/marvin-we/steem-java-api-wrapper/issues/40) * It is now possible to disable the timeout mechanism by setting the timeout to „0“ [#39](https://github.com/marvin-we/steem-java-api-wrapper/issues/39). * From now on a “jar-with-dependencies” will be provided. This Jar contains all required dependencies to run SteemJ. This only effects those people who do not use a build management tool like Maven. #### Code Quality Improvements * Additional tests have been added. #### Documentation * Additional JavaDoc has been added to several methods and fields Sadly, the [Wiki](https://github.com/marvin-we/steem-java-api-wrapper/wiki) is not up to date yet, but I’ll try to solve this in the upcoming days. # General information ## What is SteemJ? SteemJ is a project that allows you to communicate with a Steem node using Java. So far, the project supports most of the API calls and is also able to broadcast most of the common operation types. Further information can be found on [GitHub](https://github.com/marvin-we/steem-java-api-wrapper). > https://github.com/marvin-we/steem-java-api-wrapper ## How to add it to your project? SteemJ binaries are pushed into the maven central repository and can be integrated with a bunch of build management tools like Maven. The [Wiki](https://github.com/marvin-we/steem-java-api-wrapper/wiki/How-to-add-SteemJ-to-your-project) provides a lot of examples for the most common build tools. If you do not use a build management tool you can download the binaries as described [here](https://github.com/marvin-we/steem-java-api-wrapper/wiki/How-to-add-SteemJ-to-your-project#download). ## Contribute The project became quite big and there is still a lot to do. If you want to support the project simply clone the git repository and submit a pull request. I would really appreciate it =). > git clone https://github.com/marvin-we/steem-java-api-wrapper.git ## Get in touch! Most of my projects are pretty time consuming and I always try to provide some useful stuff to the community. What keeps me going for that is your feedback and your support. For that reason I would love to get some Feedback from you <3. Just contact me here on [Steemit](https://steemit.com/@dez1337) or ping me on [GitHub](https://github.com/marvin-we/steem-java-api-wrapper). <hr> <center>If you want to stay up to date or just like the stuff I am doing it would be great if you could press the button below =). <br> [![follow me](http://imgur.com/GlepNAo.png)](https://steemit.com/@dez1337) <br> Thanks for reading and best regards, @dez1337 </center>
post_id | 7,837,171 |
---|---|
author | dez1337 |
permlink | steemj-v0-3-1-has-been-released-update-13 |
category | steemdev |
json_metadata | "{"format": "markdown", "links": ["https://steemit.com/steemdev/@dez1337/steemj-v0-3-0-has-been-released-update-12", "https://github.com/marvin-we/steem-java-api-wrapper", "https://github.com/marvin-we/steem-java-api-wrapper/issues/37", "https://github.com/marvin-we/steem-java-api-wrapper/issues/38", "https://github.com/marvin-we/steem-java-api-wrapper/issues/40", "https://github.com/marvin-we/steem-java-api-wrapper/issues/39", "https://github.com/marvin-we/steem-java-api-wrapper/wiki", "https://github.com/marvin-we/steem-java-api-wrapper/wiki/How-to-add-SteemJ-to-your-project", "https://github.com/marvin-we/steem-java-api-wrapper/wiki/How-to-add-SteemJ-to-your-project#download", "https://github.com/marvin-we/steem-java-api-wrapper.git", "https://steemit.com/@dez1337"], "app": "steemit/0.1", "tags": ["steemdev", "steem", "programming", "steem-dev", "steemj"], "users": ["dez1337"], "image": ["https://steemitimages.com/0x0/https://steemitimages.com/0x0/https://steemitimages.com/0x0/http://imgur.com/F54Tflg.png"]}" |
created | 2017-07-21 16:27:57 |
last_update | 2017-07-21 16:27:57 |
depth | 0 |
children | 23 |
net_rshares | 34,598,946,420,765 |
last_payout | 2017-07-28 16:27:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 104.334 SBD |
curator_payout_value | 32.726 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 5,221 |
author_reputation | 20,522,119,974,925 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
igster | 0 | 21,618,323,031 | 12% | ||
transisto | 0 | 11,500,612,044,231 | 100% | ||
raymonjohnstone | 0 | 20,855,596,347 | 100% | ||
sergey44 | 0 | 418,847,236 | 100% | ||
shaka | 0 | 1,839,214,194,467 | 49% | ||
dez1337 | 0 | 60,796,459,133 | 100% | ||
julianita | 0 | 5,874,810,423,975 | 100% | ||
smasher | 0 | 2,588,975,390 | 49% | ||
tunnelrat | 0 | 0 | 100% | ||
gutzofter | 0 | 152,445,917,960 | 100% | ||
lawrenceho84 | 0 | 467,761,600,169 | 100% | ||
velimir | 0 | 1,492,293,893 | 9.8% | ||
secter | 0 | 2,740,044,895 | 100% | ||
me-do | 0 | 222,622,432 | 1% | ||
oroger | 0 | 5,098,463,232 | 100% | ||
headliner | 0 | 12,537,168,875 | 100% | ||
soon8013 | 0 | 6,301,587,049 | 100% | ||
markangeltrueman | 0 | 5,384,083,046 | 100% | ||
tamy | 0 | 13,853,878,360 | 100% | ||
steemj | 0 | 155,791,203 | 100% | ||
newsflash | 0 | 14,545,507,951,031 | 100% | ||
coinlend | 0 | 0 | 100% | ||
seymourbucks | 0 | 164,146,692 | 4% | ||
rayfrek | 0 | 42,818,110,390 | 100% | ||
anonfolderall | 0 | 401,850,112 | 12% | ||
folderall.net | 0 | 372,994,003 | 12% | ||
shadmannnn | 0 | 2,064,667,225 | 100% | ||
andyonline | 0 | 15,091,864,384 | 51% | ||
kdogdiggles13 | 0 | 105,908,159 | 100% | ||
vlpl | 0 | 447,390,108 | 100% | ||
kasho | 0 | 540,021,420 | 100% | ||
mitchellfinesse | 0 | 474,626,241 | 100% | ||
steveik | 0 | 255,347,272 | 100% | ||
a1n21t | 0 | 1,160,666,493 | 100% | ||
nainuanis12 | 0 | 319,182,851 | 100% | ||
aryan12o | 0 | 313,379,460 | 100% |
Hello Follow @secter
post_id | 7,837,651 |
---|---|
author | secter |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170721t163309409z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "users": ["secter"], "tags": ["steemdev"]}" |
created | 2017-07-21 16:32:57 |
last_update | 2017-07-21 16:32:57 |
depth | 1 |
children | 0 |
net_rshares | 2,740,044,895 |
last_payout | 2017-07-28 16:32:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 21 |
author_reputation | 1,002,561,703,450 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
secter | 0 | 2,740,044,895 | 100% |
Very excited about SteemJ Wrote about SteemJ in an article Do read @dez1337 :) Link: https://steemit.com/steemit/@shadmannnn/can-steemit-community-help-me-buy-a-macbook-pro-worth-usd2-399-00-for-steemj-and-other-freelance-work-i-do
post_id | 7,869,886 |
---|---|
author | shadmannnn |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170721t235722931z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "users": ["dez1337"], "links": ["https://steemit.com/steemit/@shadmannnn/can-steemit-community-help-me-buy-a-macbook-pro-worth-usd2-399-00-for-steemj-and-other-freelance-work-i-do"], "tags": ["steemdev"]}" |
created | 2017-07-21 23:57:30 |
last_update | 2017-07-21 23:57:30 |
depth | 1 |
children | 0 |
net_rshares | 23,919,918,347 |
last_payout | 2017-07-28 23:57:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.070 SBD |
curator_payout_value | 0.022 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 232 |
author_reputation | 314,613,806,869 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 23,919,918,347 | 38% |
good! i waited about this about two week. thank you.
post_id | 7,886,188 |
---|---|
author | sesangsokuro |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170722t045339396z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-07-22 04:53:39 |
last_update | 2017-07-22 04:53:39 |
depth | 1 |
children | 1 |
net_rshares | 63,786,448,926 |
last_payout | 2017-07-29 04:53:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.185 SBD |
curator_payout_value | 0.061 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 52 |
author_reputation | 6,025,595,860,743 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 63,786,448,926 | 100% |
Thank you for your help and for making this project better and better - Let me know if you find more problems :)
post_id | 7,907,394 |
---|---|
author | dez1337 |
permlink | re-sesangsokuro-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170722t104959586z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-07-22 10:50:00 |
last_update | 2017-07-22 10:50:00 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2017-07-29 10:50:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 112 |
author_reputation | 20,522,119,974,925 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Do you know of a good, up to date article on how to set up a local node either in Macosx or in an Ubuntu Server vm? Would like to get into development using this API but struggling to get going.
post_id | 7,907,349 |
---|---|
author | markangeltrueman |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170722t104921528z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-07-22 10:49:21 |
last_update | 2017-07-22 10:49:21 |
depth | 1 |
children | 3 |
net_rshares | 23,587,697,259 |
last_payout | 2017-07-29 10:49:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.085 SBD |
curator_payout_value | 0.005 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 194 |
author_reputation | 48,852,735,715,194 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 23,587,697,259 | 38% |
Hay @markangeltrueman , I think the fastes way is a docker image at the moment. You should have a look at @someguy123 s project [on GitHub](https://github.com/Someguy123/steem-docker). For me this is the most easisiest way to start a node :) Beside that you do not need your own node if its only about playing with the api as some witnesses allow you to connect to their node :)
post_id | 7,907,893 |
---|---|
author | dez1337 |
permlink | re-markangeltrueman-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170722t105707677z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "users": ["markangeltrueman", "someguy123"], "links": ["https://github.com/Someguy123/steem-docker"], "tags": ["steemdev"]}" |
created | 2017-07-22 10:57:06 |
last_update | 2017-07-22 10:57:06 |
depth | 2 |
children | 2 |
net_rshares | 5,284,377,804 |
last_payout | 2017-07-29 10:57:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.020 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 380 |
author_reputation | 20,522,119,974,925 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
markangeltrueman | 0 | 5,284,377,804 | 100% |
thanks for the response. The Steem In A Box was what i was trying, but getting it configured to accept incoming rpc calls is proving problematic for some reason. I'll keep working on it though :)
post_id | 7,908,467 |
---|---|
author | markangeltrueman |
permlink | re-dez1337-re-markangeltrueman-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170722t110514965z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-07-22 11:05:15 |
last_update | 2017-07-22 11:05:15 |
depth | 3 |
children | 1 |
net_rshares | 23,255,476,171 |
last_payout | 2017-07-29 11:05:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.083 SBD |
curator_payout_value | 0.006 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 195 |
author_reputation | 48,852,735,715,194 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 23,255,476,171 | 38% |
Hi I am a java developer in Korea. I am very grateful for your steemj project. With your steemj I think I can easily develop my project. Thank you.
post_id | 8,530,979 |
---|---|
author | nhj12311 |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170728t083547976z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-07-28 08:35:51 |
last_update | 2017-07-28 08:35:51 |
depth | 1 |
children | 4 |
net_rshares | 25,251,409,074 |
last_payout | 2017-08-04 08:35:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.070 SBD |
curator_payout_value | 0.022 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 147 |
author_reputation | 24,421,806,043,412 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 25,251,409,074 | 38% |
post_id | 8,557,329 |
---|---|
author | dez1337 |
permlink | re-nhj12311-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170728t145859053z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-07-28 14:59:03 |
last_update | 2017-07-28 14:59:03 |
depth | 2 |
children | 3 |
net_rshares | 88,357,596,232 |
last_payout | 2017-08-04 14:59:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.246 SBD |
curator_payout_value | 0.079 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 61 |
author_reputation | 20,522,119,974,925 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 64,755,674,515 | 100% | ||
nhj12311 | 0 | 23,601,921,717 | 100% |
I do not speak English well and use the Google translation system. You have to understand this. Koreans are very interested in steemit. Koreans are now online auctions through steemit. 1. Buyers "vote" on sales postings. 2. Buyers write down the desired price. 3. The seller discounts the amount (votes / 0.375) from the winning bid. The interface of steemit is very inconvenient for auction. I will create a web page that makes this screen easy and convenient. Here is an example of the screen ui. Https://cobot.co.kr/kr-market.html The data interface will use your steemj. I am very pleased with your interest.
post_id | 8,561,140 |
---|---|
author | nhj12311 |
permlink | re-dez1337-re-nhj12311-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170728t154442193z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "links": ["Https://cobot.co.kr/kr-market.html"], "tags": ["steemdev"]}" |
created | 2017-07-28 15:44:42 |
last_update | 2017-07-28 15:45:27 |
depth | 3 |
children | 2 |
net_rshares | 63,045,310,355 |
last_payout | 2017-08-04 15:44:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.174 SBD |
curator_payout_value | 0.058 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 613 |
author_reputation | 24,421,806,043,412 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 63,045,310,355 | 100% |
Following you to know more. I am interested to know how we can post a story using API, also I want to find out posts based on some criteria, is that possible ?
post_id | 8,634,789 |
---|---|
author | sanjeevm |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170729t130557875z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-07-29 13:05:57 |
last_update | 2017-07-29 13:05:57 |
depth | 1 |
children | 1 |
net_rshares | 13,291,954,242 |
last_payout | 2017-08-05 13:05:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.038 SBD |
curator_payout_value | 0.011 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 159 |
author_reputation | 17,069,555,901,365 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 13,291,954,242 | 20% |
Thanks for following :) The question about "How to post a story" has been asked and answered [in this issue on GitHub](https://github.com/marvin-we/steem-java-api-wrapper/issues/47). To answer your second question: Yes, basically everything is possible - The question is how easy it can be achieved with the Steem API :P Steem supports some basic requests (have a look at the getDiscussion method). If those methods do not fit your needs you can still "scan" all operations on your own by using the getOpsInBlock method. If you have more questions it would be cool if you could create a GitHub issue for them, because it makes it easier for me to track them and to be aware of things users would like to see in the documentation.
post_id | 8,637,450 |
---|---|
author | dez1337 |
permlink | re-sanjeevm-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170729t134454235z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "links": ["https://github.com/marvin-we/steem-java-api-wrapper/issues/47"], "tags": ["steemdev"]}" |
created | 2017-07-29 13:44:54 |
last_update | 2017-07-29 13:44:54 |
depth | 2 |
children | 0 |
net_rshares | 27,962,766,752 |
last_payout | 2017-08-05 13:44:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.080 SBD |
curator_payout_value | 0.025 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 733 |
author_reputation | 20,522,119,974,925 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 27,962,766,752 | 47% |
Few more questions : how do we know the address of Steem nodes ? Is it officially published somewhere ? And any documentation on how to connect those nodes ?
post_id | 8,635,035 |
---|---|
author | sanjeevm |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170729t130926442z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-07-29 13:09:27 |
last_update | 2017-07-29 13:09:27 |
depth | 1 |
children | 1 |
net_rshares | 13,291,954,242 |
last_payout | 2017-08-05 13:09:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.039 SBD |
curator_payout_value | 0.010 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 157 |
author_reputation | 17,069,555,901,365 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 13,291,954,242 | 20% |
Hay @sanjeevm, thank you for your interest. The sample on the [GitHub main Page](https://github.com/marvin-we/steem-java-api-wrapper) shows basically how to connect to a node. Regarding the documentation: The project is still under heavy development and a lot of stuff is changing from version to version. I know it makes it quite hard to use, but currently I am focusing on functionallity. I would suggest to just check the methods provided by the [SteemAPIWrapper](https://github.com/marvin-we/steem-java-api-wrapper/blob/master/src/main/java/eu/bittrade/libs/steemj/SteemApiWrapper.java) - The Javadoc for the most methods is up to date and should give you first a idea of what is possible.
post_id | 8,637,191 |
---|---|
author | dez1337 |
permlink | re-sanjeevm-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170729t134109542z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "users": ["sanjeevm"], "links": ["https://github.com/marvin-we/steem-java-api-wrapper", "https://github.com/marvin-we/steem-java-api-wrapper/blob/master/src/main/java/eu/bittrade/libs/steemj/SteemApiWrapper.java"], "tags": ["steemdev"]}" |
created | 2017-07-29 13:41:09 |
last_update | 2017-07-29 13:41:36 |
depth | 2 |
children | 0 |
net_rshares | 27,621,757,401 |
last_payout | 2017-08-05 13:41:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.078 SBD |
curator_payout_value | 0.025 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 698 |
author_reputation | 20,522,119,974,925 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 27,621,757,401 | 47% |
Hi @dez1337 I would like to retrieve all comments of a user. I came up with the following code: ``` List<CommentOperation> commentOperations = new ArrayList<>(); Map<Integer, AccountActivity> accountHistoryCL = steemApiWrapper.getAccountHistory("accountName", 9999, 9999); for(AccountActivity activity : accountHistoryCL.values()){ if(activity.getOperations() instanceof CommentOperation){ CommentOperation commentOperation = (CommentOperation)activity.getOperations(); if(commentOperation.getAuthor().getAccountName().equalsIgnoreCase("accountName")){ commentOperations.add(commentOperation); } } } ``` But this seem to also retrieve blog posts and other stuff?. Is there a better way to retrieve all comments of a specific account?
post_id | 9,002,404 |
---|---|
author | coinlend |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170802t124022480z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "users": ["dez1337"], "tags": ["steemdev"]}" |
created | 2017-08-02 12:40:21 |
last_update | 2017-08-02 12:41:06 |
depth | 1 |
children | 2 |
net_rshares | 176,388,711,720 |
last_payout | 2017-08-09 12:40:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.710 SBD |
curator_payout_value | 0.012 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 769 |
author_reputation | 2,261,749,195,153 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 32,046,706,094 | 47% | ||
coinlend | 0 | 144,342,005,626 | 100% |
Hay @coinlend, Thank your for your question :) Actually I think you already went for the solution with the best performance 👍 Depending on what you are exactly doing it could boost the performance a lot if you go for a datacollector/datapresenter architecture. The datacollector would periodically insert the comment operations in a db so on a request the presenter only needs to perform a sql query instead of pulling all operations from a steem node for every single request . Hope that helps at least a bit 💪
post_id | 9,020,357 |
---|---|
author | dez1337 |
permlink | re-coinlend-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170802t160820560z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "users": ["coinlend"], "tags": ["steemdev"]}" |
created | 2017-08-02 16:08:21 |
last_update | 2017-08-02 16:08:21 |
depth | 2 |
children | 1 |
net_rshares | 190,314,803,194 |
last_payout | 2017-08-09 16:08:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.580 SBD |
curator_payout_value | 0.190 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 514 |
author_reputation | 20,522,119,974,925 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 28,303,776,102 | 47% | ||
coinlend | 0 | 162,011,027,092 | 100% |
post_id | 9,141,913 |
---|---|
author | coinlend |
permlink | re-dez1337-re-coinlend-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170803t223601387z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-08-03 22:36:00 |
last_update | 2017-08-03 22:36:00 |
depth | 3 |
children | 0 |
net_rshares | 173,370,037,653 |
last_payout | 2017-08-10 22:36:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.680 SBD |
curator_payout_value | 0.005 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 19 |
author_reputation | 2,261,749,195,153 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 14,322,626,910 | 24% | ||
coinlend | 0 | 159,047,410,743 | 100% |
Another question: I tried to run SteemJ on the Google Appengine Cloud, but I get the following error: Could not reconfigure JMX java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory is a restricted class. Please see the Google App Engine developer's guide for more details. Seems to be using classes restricted by Google Appengine. Is there any chance to get this running at the Google Cloud?
post_id | 9,142,020 |
---|---|
author | coinlend |
permlink | re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170803t223814593z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-08-03 22:38:15 |
last_update | 2017-08-03 22:38:15 |
depth | 1 |
children | 2 |
net_rshares | 170,747,436,229 |
last_payout | 2017-08-10 22:38:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.669 SBD |
curator_payout_value | 0.005 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 416 |
author_reputation | 2,261,749,195,153 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 14,663,641,836 | 24% | ||
coinlend | 0 | 156,083,794,393 | 100% |
Hay @coinled, Could you create a GitHub issue for that? I'll try to figger out where this class is used and check if I can remove it. Thank you and best regards! 💪
post_id | 9,164,159 |
---|---|
author | dez1337 |
permlink | re-coinlend-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170804t052150011z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "users": ["coinled"], "tags": ["steemdev"]}" |
created | 2017-08-04 05:21:48 |
last_update | 2017-08-04 05:21:48 |
depth | 2 |
children | 1 |
net_rshares | 180,590,984,731 |
last_payout | 2017-08-11 05:21:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.538 SBD |
curator_payout_value | 0.177 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 165 |
author_reputation | 20,522,119,974,925 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 13,640,597,057 | 24% | ||
coinlend | 0 | 166,950,387,674 | 100% |
Thanks for taking the time, I did open an issue: https://github.com/steemit/steem-js/issues/225
post_id | 9,170,879 |
---|---|
author | coinlend |
permlink | re-dez1337-re-coinlend-re-dez1337-steemj-v0-3-1-has-been-released-update-13-20170804t072747625z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "links": ["https://github.com/steemit/steem-js/issues/225"], "tags": ["steemdev"]}" |
created | 2017-08-04 07:27:48 |
last_update | 2017-08-04 07:27:48 |
depth | 3 |
children | 0 |
net_rshares | 218,036,457,032 |
last_payout | 2017-08-11 07:27:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.651 SBD |
curator_payout_value | 0.215 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 96 |
author_reputation | 2,261,749,195,153 |
root_title | "SteemJ V0.3.1 has been released - Update #13" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dez1337 | 0 | 55,926,447,935 | 100% | ||
coinlend | 0 | 162,110,009,097 | 100% |