Steem Java-API V0.0.3 – Update #3 - Central Repo, Many new methods, Unit-Tests, ..

in #steem9 years ago

Hay Steemers,

Happy new year to everyone of you! I hope you had great parties yesterday and wish you the best for the new year.

I just want to share some news on the Java-API-Wrapper project with you. Those of you who don‘t know of the project yet may want to have a look at the repository on GitHub:

https://github.com/marvin-we/steem-java-api-wrapper

API
Source

Contributors

Before I tell you which features have been added in this release I have to say thanks to a bunch of people:

  • @inertia provided a bunch of unit tests to this project.
  • An article from @klye has been used to improve the documentation of the methods.
  • The guide from @xeroc shows how to create and sign transactions.

If you have ideas or even better, can write Java code, feel free to become a contributor too :)

What‘s new

Pushed to Sonatype Nexus

I‘ve received an access to sonatype.org which is required to sync artifacts to the Maven Central Repository. V0.0.3 is the first release that has been pushed to sonatype and is currently waiting to get synced to the central repo! This is a huge step which allows you to integrate the API into your project pretty easy.

The cool thing about this is, that you can also use Maven dendencies in Gradle, which is the common build-management tool for Android apps.

Once the API is synced to the Maven Central Repository, you can include it like this:

Maven

        <dependency>
            <groupId>eu.bittrade.libs</groupId>
            <artifactId>steem-api-wrapper</artifactId>
            <version>0.0.3</version>
        </dependency>

Gradle

dependencies {
    compile 'eu.bittrade.libs:steem-api-wrapper:0.0.3'
}

New methods

Here is a list of methods that have been added in this release. You can find the complete list of all methods and their status of implementation at the bottom of this article.

  • GET_DISCUSSIONS_BY_VOTES,
  • GET_DISCUSSIONS_BY_BLOG,
  • GET_DISCUSSIONS_BY_CHILDREN,
  • GET_DISCUSSIONS_BY_COMMENTS,
  • GET_DISCUSSIONS_BY_HOT,
  • GET_DISCUSSIONS_BY_CREATED,
  • GET_DISCUSSIONS_BY_FEED,
  • GET_DISCUSSIONS_BY_TRENDING,
  • GET_DISCUSSIONS_BY_TRENDING30,
  • GET_DISCUSSIONS_BY_PROMOTED,
  • GET_DISCUSSIONS_BY_PAYOUT,
  • GET_DISCUSSIONS_BY_CASHOUT,
  • GET_BLOCK_HEADER,
  • GET_BLOCK,
  • GET_CONVERSATION_REQUEST,
  • GET_FEED_HISTORY,
  • GET_NEXT_SCHEDULED_HARDFORK,
  • GET_OPEN_ORDERS,
  • GET_ORDER_BOOK,
  • GET_ACTIVE_WITNESSES,
  • GET_KEY_REFERENCES,

Future plans

  • @inertia already provided some good tests to the project, but there are still a lot of things to do, to test this project in a more propper way. I am still thinking about setting up my own node and to create a new account just for some integration tests.
  • To make the life of people who are actually working with this API a bit easier, I would like to increase the quality and the amount of Javadoc.
  • And for sure, I would like continue to add missing methods.

So there is still a lot of work to do. Make sure to never miss an update again by pressing the button below.

alt text
Source

Thank you for supporting me and this project!

List of all methods

database_api

MethodImplementedKnown problems
set_subscribe_callbackNo-
set_pending_transaction_callbackNo-
set_block_applied_callbackNo-
cancel_all_subscriptionsNo-
get_trending_tagsYes-
get_discussions_by_trendingYes-
get_discussions_by_trending30Yes-
get_discussions_by_createdYes-
get_discussions_by_activeYes-
get_discussions_by_cashoutYes-
get_discussions_by_payoutYes-
get_discussions_by_votesYes-
get_discussions_by_childrenYes-
get_discussions_by_hotYes-
get_discussions_by_feedYes-
get_discussions_by_blogYes-
get_discussions_by_commentsYes-
get_discussions_by_promotedYes-
get_block_headerYes-
get_blockYes-
get_stateNo-
get_trending_categoriesNo-
get_best_categoriesNo-
get_active_categoriesNo-
get_recent_categoriesNo-
get_configYes-
get_dynamic_global_propertiesYes-
get_chain_propertiesYes-
get_feed_historyYes-
get_current_median_history_priceYes-
get_witness_scheduleYes-
get_hardfork_versionYes-
get_next_scheduled_hardforkYes-
get_key_referencesYes-
get_accountsNo-
get_account_referencesNo-
lookup_account_namesNo-
lookup_accountsYes-
get_account_countYes-
get_conversion_requestsNo-
get_account_historyYes-
get_owner_historyNo-
get_recovery_requestNo-
get_escrowNo-
get_withdraw_routesNo-
get_savings_withdraw_fromNo-
get_savings_withdraw_toNo-
get_order_bookYes-
get_open_ordersYes-
get_liquidity_queueNo-
get_transaction_hexNo-
get_transactionNo-
get_required_signaturesNo-
get_potential_signaturesNo-
verify_authorityNo-
verify_account_authorityNo-
get_active_votesYes-
get_account_votesYes-
get_contentYes-
get_content_repliesYes-
get_discussions_by_author_before_dateNo-
get_replies_by_last_updateNo-
get_witnessesYes-
get_witness_by_accountNo-
get_witnesses_by_voteNo-
lookup_witness_accountsYes-
get_witness_countYes-
get_active_witnessesNo-
get_miner_queueYes-

network_broadcast_api

MethodImplementedKnown problems
broadcast_transactionNo-
broadcast_transaction_with_callbackNo-
broadcast_transaction_synchronousNo-
broadcast_blockNo-
set_max_block_ageNo-

network_node_api

MethodImplementedKnown problems
get_infoNo-
add_nodeNo-
get_connected_peersNo-
get_potential_peersNo-
get_advanced_node_parametersNo-
set_advanced_node_parametersNo-

login_api

MethodImplementedKnown problems
loginYes-
get_api_by_nameYes-
get_versionYes-
Sort:  

Thanks for keeping us up to date, Dez!
Upvoted & Followed.
Happy New Year.

Thank you! :)

This post has been ranked within the top 80 most undervalued posts in the second half of Jan 01. We estimate that this post is undervalued by $5.58 as compared to a scenario in which every voter had an equal say.

See the full rankings and details in The Daily Tribune: Jan 01 - Part II. You can also read about some of our methodology, data analysis and technical details in our initial post.

If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.

Coin Marketplace

STEEM 0.09
TRX 0.31
JST 0.033
BTC 110643.13
ETH 3931.50
USDT 1.00
SBD 0.59