RE: SteemWorld / Developer Log / #1

You are viewing a single comment's thread from:

SteemWorld / Developer Log / #1

in steemworld •  4 years ago 

Hi!!!

Where can I get information about programming to consult block data?

Greatings

#onepercent #venezuela #affable

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi, here are some links to get you started:

If you are working with JavaScript, you can use the official Steem-JS API:

There are also many tutorials for working with other languages like Python and Ruby to be found at the Steem Developer Portal.

If you should have any further questions later on, just let me know ;)

Thanks!
and to send data, write or respond to comments on steemit?

In case you are using the Steem-JS API, you will find all you need at:
https://github.com/steemit/steem-js/tree/master/doc#broadcast-api

For example, broadcasting a Steem post or comment in JavaScript is as simple as:

steem.broadcast.comment(
    wif,
    parentAuthor,
    parentPermlink,
    author,
    permlink,
    title,
    body,
    jsonMetadata,
    function(err, result) {
        console.log(err, result);
    }
);

hello @steemchiller, I want to ask something and also some I want to ask if you have time can save my contact sir

iskandar#9885
regards @jcorner

I make any call to the api, of any function, and I get the same result as if I just query in the browser this:

https://api.steemit.com/

{"status":"OK","datetime":"2021-02-19T13:09:21.752599","source_commit":"ae6c6c77601436e496a8816ece2cbc6e26fbe3c2","docker_tag":"latest","jussi_num":51348897}

I don't understand why?

I have to do a previous step before making a query to the api? I want to just query the new votes, without reading that it has an account.

I guess there is something wrong with your request method. The target endpoint would be 'api.steemit.com' and you need to make a HTTP POST request with the request data in JSON format like:

{"jsonrpc":"2.0", "method":"condenser_api.get_accounts", "params":[["steemit", "alice"]], "id":1}

The request in this example would return the account data for 'steemit' and 'alice'.

Thank you @steemchiller for your usual and kind support

I got it to work.

Clarify me a doubt please, what would be the function to get ONLY the unread votes that an account has?

this function bridge.account_notifications

this function returns me votes, and other things, but votes and the value of each one.

But I want to know the votes that have not been marked as read, the votes that have not been read.

How do I get that?

Just curious, have you had any success with Steem? If so, I wish you luck.

If not, you might have a better time with: https://developers.hive.io/

It's not Steem, but it's where the talent is. Broader story here: https://hivedocs.info/