FullTimeGeek's First Attempt In Trying to Explain Steem's API

in dtube •  7 years ago  (edited)


In this video I attempt to explain how to query the steem api. I do not consider myself a steem expert so please let me know if anything I said is inaccurate or complete bullshit. lol. Also, sorry for the screen flickering, it seems to be caused by my video recording software.

cURL Example:

curl --data '{"jsonrpc": "2.0", "params": [0, "get_account_history", ["ned", -1, 15]], "id":1, "method":"call"}' https://steemd.steemit.com

api-number = 0 (database_api)
method = get_account_history
method_params = ["ned", -1, 15]
server = https://steemd.steemit.com

Windows users can download cURL here: https://curl.haxx.se/download.html


▶️ DTube
▶️ IPFS
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:  

This is great, I have a ton of questions. I recently started learning python and sql, to query data from steemsql.com by arcange. I am using #librarian channel in steemit.chat to run a bot and to make quick queries.

But I always wondered how to make queries directly from the blockchain. Since I am learning python now I was going to try our steem-python or piston apis. Not sure yet, still a lot to learn.

Do you keep going back and forth between terminal and curl, or do you automate it with java? Going back and forth might be tedious work.

Is curl only for linux or do they support mac too? I use mac.

Is there a place to get the list of all of the methods? like a reference or cheat sheet?

Thanks. Hope to see more educational and guide style posts from you on this topic.

Loading...

Wow, you are on fire now. There are more posts from you in 24 hours than I have ever seen from you in total - kind of. :D

It is really cool to see more from you. But I have skipped this one because I am not familiar with Javascript yet. Maybe a good thing to learn right now, particularly with my background in HTML and CSS. Do you think it is easy or difficult to start programming for Steem if you start fresh?

Hey flauwy, thanks for the support. I actually didn't use any programming language in this video. I just used the utility called cURL to perform the HTTP Post requests. But, yes, most of the best steem libraries are written in Javascript or Python and I know the struggle of learning them. I would say before you start programming you should get familiar with curl and what the data looks like from the server under the hood. This will also help you become acquainted with JSON formatting if you're not already.

Do you think it is easy or difficult to start programming for Steem if you start fresh?

All programming, at first, is a pain in the ...

I think I will slowly pick up on that. Currently I am still too much involved with animation and posting, moderating on Utopian and trying to find a balance with all. But this is something that I want to teach to my daughter because I belive it is one of the most important skills in the world - right after AI development and maybe survival skills. :D

I only have the faintest idea of how these work after watching the video. It is a great start by the way. Lol at most people thinking you guys are Santa Claus. I read big SP holder's memos for entertainment. The memos have such weird request that some of them are just downright hilarious.

So each user's data is gotten individually. I have this weird thought that the script allows you input many users account and hit run. Then all the data are beautifully presented :)
Thanks for sharing.

I am slowly learning the Programming basics, and API calls. But not yet that much great to understand the nodes and elements thingy :p

You are going good, as I see your posts are more geared towards blockchain development. Are you developing some SaaS @fulltimegeek?

Meanwhile, I crafted a Beginners Guide to "Dtube". If someone is new to @dtube , then it will surely help him.

PS: If putting my links in the reply annoys you, or if you consider it as spam, please let me know in response to this comment. I assure you to remove that ASAP. Afterall, I want our community to grow exponentially with mutual help.

Aw, you're not Santa Claus?

This is fantastic, now it's easier to understand things a little deeper. Keep going on with great work

@fulltimegeek
I'm new to this, so I cant even tell if anything you said is inapproprate but I guess they are all inline.

I just built a basic transaction checker for ETH yesterday. The API was easy enough to work with. I reeeeely want to make something for steemit though!

@shayne

I have the grandkids, will have to try again after they go home - you are way over my head lol! but I just saw your tag, about mining for truth. Even with 3 toddlers I wanted to say "that is awesome."

Me too. A little deep for me at the moment. Have everyone here for Christmas break. 7 small grandkids...Yikes!

Good luck... thanks for reminding me... I have to get on dtube, myself!

Thanks. Yes, jump on there while the getting is good!

  ·  7 years ago (edited)

Great content thank you! I wish to ask your advise as you're a steem guru :) I'm thinking about creating of web application based on steem blockchain and have one question regarding content publishing. Let's suppose that I'm trying to build IMDB on steem - each user can create film page, put basic info on page (Image, year, director, actors list etc.) and than publish it on my service. As I've understood the same content will be published in user's feed at Steemit. But this post will containing not very usable content for steem - just photo + simple list. It means that it provide a lot of "spam" content in user feed that will conflict wit content that submitted directly on steem. Is there any way to hide such posts (for example about 100 films) from user feed but display in only on external IMDB-service in appropriate view? What is the correct way to handle this issue? Could you please give your thoughts on this?

@fulltimegeek hit me up on [email protected] I have a couple questions for ya. Peace.

Thanks for making this, it was super helpful! Any idea what post query I would make to get my subscriber number??