You are viewing a single comment's thread from:

RE: SteemWorld / Developer Log / #1

in #steemworld5 years ago

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.

Sort:  

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?