scrobble.life
#steemit

Additional Public API Change

api changes

Last month we published an article telling you about some of the upcoming changes to the public API that we host at api.steemit.com. Today we would like to announce one additional item to those set of changes. These changes will all go live as soon as 7 days from now (2019-01-10 16:00:00 UTC). If you are an app developer who relies on api.steemit.com to support your app this can be considered additional time to both review the original set of changes and also to test your apps against these changes.

get_account_votes

The get_account_votes method returns all votes made by an account since the beginning of time on the blockchain. For some accounts, this single call can return upwards of 20MB of data. Because of this, get_account_votes is an extremely inefficient way to regularly poll for vote history data and disk-backed instances cannot respond quickly enough to this method. For these reasons we will discontinue support for this method in our public API. In our review of utilization, we found that this method is not used very often and is not required by many apps.

The Replacement

For the few apps that do need this type of data, there is a much more efficient way to obtain it. The newer database_api.list_votes method allows you to specify a limit for votes returned and also allows you to start at a particular post. Documentation for this method has been recently added to our developer portal and is available here.

Next Steps

If you are a Steem app developer who relies on our public API, you should review our previous post about the upcoming API changes and pay special attention to whether you are using the soon-to-be-deprecated get_account_votes method. Our developer portal continues to be an excellent reference and feel free to ask any questions you may have in the comments.

The Steemit Team

Comments · 13

  • @clumsysilverdad(65)· 2729d

    wtf is going on with steem and steemit accounts on twitter ?

    they are not working.

  • @allyfortis(25)· 2775d

    HOW CAN I BLOCK SOMEONE ON DTUBE? WHERE CAN PEOPLE CONTACT SUPPORT TEAM FOR STEEMIT AND DTUBE???

  • @partiko(66)· 2777d

  • @mcfarhat(71)· 2781d

    hey there, We noticed at the time of rollout of changes (as of Jan 10) that the post's rshares data is now returning undefined Is this an intended behaviour? We are for example pulling post data using steem.api.getDiscussionsByCreatedand then accessing post's post.vote_rshares This is only no longer working on api.steemit.com and api.steemitdev.com Would be great if you can provide some insights or look into this. Thanks!

  • @ennosan(59)· 2782d

    @steemitdev, @roadscape

    get_reblogged_by is no longer supported? Is there a replacement or should I read 30,000,000 blocks to find out who is resteeming my articles?

    get_follower and get_following no longer supported follow_typ "undefined"? until 12.01.2019 I got here with a query Blog, Ignore and Unfollow. Now I have to query blog and ignore in a loop. But I have no info or possibility to get Unfollows.

    An idea the "follower with time (also ignore, unfollow, new follow ...)" and "Reblog my articles", and in "Comments the category, RootAuthor and RootPermlink". in the Account History!

    This saves many queries!!!!!!!!!!!

    The AccountHistory is all in and out. except Follower to me and Resteems of my Artikle!

    And if in the AccountHistory the comments are the fields Category, RootAuthor and Root Permlink I don't have to ask get_content before I can call get_state!

    Thanks Ps. I'm developing a desktop application right now.

  • @ansolas(42)· 2783d

    I cant update my profile image or anything, it always revers back to the previous after saving. Whom to report this issue ?

  • @eniolw(74)· 2785d

    I don't get along with this new method, it seems buggy. So far I've not been able to retrieve the data the same way I used to do. I try to download the votes made by an account when specific authors and permlinks are given but then many votes are missing. When I switch the limit from 30 to 200, for instance, the latest query doesn't include the full data that the first one retrieved. Some votes are missing between them and even some votes actually made by the account are never being retrieved by this method. It reminds me of the get_posts method. I 'm reporting this, otherwise, I need support. 😕

  • @eniolw(74)· 2785d
    "In our review of utilization, we found that this method is not used very often and is not required by many apps."

    Hey, I did use that a lot! It was pretty usefull. 💔

  • @singhpratyush(60)· 2790d

    I use get_account_votes to display posts upvoted by major community accounts such as @curie and @photofeed (https://alpha.1ramp.io/community/curie).

    What can be an alternative for this? I haven't made a full Hivemind sync yet (~19M blocks synced). Should I be streaming the blockchain for this?

  • @discutio(51)· 2792d

    That's great!

  • @steemitboard(66)· 2792d

    Congratulations @steemitdev! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

    You received more than 4000 upvotes. Your next target is to reach 5000 upvotes.

    Click here to view your Board If you no longer want to receive notifications, reply to this comment with the word STOP

    Support SteemitBoard's project! Vote for its witness and get one more award!

  • @guruvaj(67)· 2792d

    Anybody can answer how this will impact the common users? Or any practical benefits it may have in the user experience?

    ~not a coder,just inlove with steem

  • @partiko(66)· 2792d

    Awesome update!