As a developer, I've been struggling with finding the best way to get the meta data related to a post on Steemit: from creation, up to more advanced props, like beneficiaries, payment type, voters and so on and so forth.
You can obviously do this by using one of the blockchain API calls, by issuing a JSON 2.0 RPC call, or just by using one of the Python, JavaScript or PHP libraries.
But there is also a very easy way to do this, one that doesn't involve using third party software and which works instantly.
You only need to add ".json" at the end of an URL. The trick is that the URL must be taken from the user's blog feed, which has a specific order of the URL structure (tag, author nickname, post slug).
So here's what you get if you add ".json" to my previous post:
{"post":{"id":37226689,"author":"dragosroua","permlink":"we-may-have-a-pan-european-blockchain-framework-soon","category":"blockchain","parent_author":"","parent_permlink":"blockchain","title":"We May Have A Pan-European Blockchain Framework Soon","body":"![flags-1615129_1280.jpg](https://steemitimages.com/DQmNqgRLwe7gr34BFyLgfGPSbQ6kKam6EByZPznWHn6Ks13/flags-1615129_1280.jpg)\n***\nAccording to a document revealed by Reuters [a couple of days ago](https://www.reuters.com/article/us-eu-markets-fintech/eu-executive-to-propose-raft-of-measures-to-boost-fintech-document-idUSKBN1GH1QQ), the European Commission is working on a set of rules for a \"blanket framework\" across the entire European Union for blockchain activities and Initial Coin Offerings.\n\nThe final document may be seen \"sometime by the end of this week\" and it will contain the actual rules and provisions. \n\nSeems like EU is trying to achieve two things with this move:\n\n1. Cover up the \"patch-work\" done individually by each country, and provide a set of consistent rules for the entire ecosystem\n2. Create a permissive framework for fintech companies, following Britain Brexit. It's well known that London was the epicenter of the fintech startups and Brexit created an opportunity.\n\nMany countries across the EU showed interest in blockchain, as a technology, including France, Estonia or Lithuania and they were quite vocal in announcing permissive frameworks for blockchain-related businesses.\n\nimage source: [Pixabay](https://pixabay.com/en/flags-europe-eu-flag-european-1615129/)\n***\n_I'm a serial entrepreneur, blogger and ultrarunner. You can find me mainly on my blog at [Dragos Roua](http://dragosroua.com) where I write about productivity, business, relationships and running. Here on Steemit you may stay updated by following me @dragosroua._\n<center>\n![Dragos Roua](http://dragosroua.com/wp-content/uploads/2014/05/bamf-e1448824881306.png)</center>\n<hr/>\n<center>\n<h2>Wanna know when you're getting paid?</h2>\n</center>\n<table width=\"100%\">\n<tr>\n<td width=\"50%\" align=left>\n<imgt srct =\"https://steemitimages.com/DQmY5EgrAesnAbWyBazuHaA2Rqb2y9kkJjX4SkGq4NqA9b1/Screen%20Shot%202018-02-16%20at%2011.30.44%20AM.png\" width=\"250\" heigh=\"100\">\n</td>\n<td width=\"50%\" valign=\"top\">\nI know the feeling. That's why I created <a href=\"http://steem.supply\" target=\"_new\">steem.supply</a>, an easy to use and accurate tool for calculating your Steemit rewards\n</td>\n</tr>\n<tr>\n</table>\n<center><h2>It's free to use, but if you think this is a useful addition, I'd appreciate your <a href=\"https://steemit.com/~witnesses\" target=\"_new\">witness vote</a>.</h2>\n<h1>Thank you!</h1>\n</center>\n\n<center>\n# Psst: new to Steemit? [Start Here](https://steemit.com/@dragosroua/the-7-fundamental-questions-about-steemit)\n</center>","json_metadata":{"tags":["blockchain","europe","crypto","news","legal"],"users":["dragosroua"],"image":["https://steemitimages.com/DQmNqgRLwe7gr34BFyLgfGPSbQ6kKam6EByZPznWHn6Ks13/flags-1615129_1280.jpg","http://dragosroua.com/wp-content/uploads/2014/05/bamf-e1448824881306.png","https://steemitimages.com/DQmY5EgrAesnAbWyBazuHaA2Rqb2y9kkJjX4SkGq4NqA9b1/Screen%20Shot%202018-02-16%20at%2011.30.44%20AM.png"],"links":["https://www.reuters.com/article/us-eu-markets-fintech/eu-executive-to-propose-raft-of-measures-to-boost-fintech-document-idUSKBN1GH1QQ","https://pixabay.com/en/flags-europe-eu-flag-european-1615129/","http://dragosroua.com","http://steem.supply","https://steemit.com/~witnesses","https://steemit.com/@dragosroua/the-7-fundamental-questions-about-steemit"],"app":"steemit/0.1","format":"markdown"},"last_update":"2018-03-07T09:18:30","created":"2018-03-07T09:18:30","active":"2018-03-07T09:22:18","last_payout":"1970-01-01T00:00:00","depth":0,"children":2,"net_rshares":"38268547559","abs_rshares":"38268547559","vote_rshares":"38268547559","children_abs_rshares":"38268547559","cashout_time":"2018-03-14T09:18:30","max_cashout_time":"1969-12-31T23:59:59","total_vote_weight":204063,"reward_weight":10000,"total_payout_value":"0.000 SBD","curator_payout_value":"0.000 SBD","author_rewards":0,"net_votes":4,"root_comment":37226689,"max_accepted_payout":"1000000.000 SBD","percent_steem_dollars":10000,"allow_replies":true,"allow_votes":true,"allow_curation_rewards":true,"beneficiaries":[],"url":"/blockchain/@dragosroua/we-may-have-a-pan-european-blockchain-framework-soon","root_title":"We May Have A Pan-European Blockchain Framework Soon","pending_payout_value":"0.215 SBD","total_pending_payout_value":"0.000 STEEM","active_votes":[{"voter":"scalextrix","weight":9892,"rshares":"29081294597","percent":10000,"reputation":"4737174144417","time":"2018-03-07T09:21:09"},{"voter":"cflclosers","weight":515,"rshares":1885149981,"percent":600,"reputation":"1387297523044","time":"2018-03-07T09:22:48"},{"voter":"makerhacks","weight":3788,"rshares":"7074274869","percent":2000,"reputation":"8735347413730","time":"2018-03-07T09:20:03"},{"voter":"rbm","weight":75,"rshares":227828112,"percent":1000,"reputation":"646564532959","time":"2018-03-07T09:18:39"}],"replies":[],"author_reputation":"230249734042071","promoted":"0.000 SBD","body_length":0,"reblogged_by":[]},"status":"200"}
You get pretty much everything you need, and you didn't have to use any third party library.
Kinda neat!
I'm a serial entrepreneur, blogger and ultrarunner. You can find me mainly on my blog at Dragos Roua where I write about productivity, business, relationships and running. Here on Steemit you may stay updated by following me @dragosroua.
Wanna know when you're getting paid?
I know the feeling. That's why I created steem.supply, an easy to use and accurate tool for calculating your Steemit rewards | |
Less is more. 🤖
As any Unix / Linux user would know, obviously...
This is cool. So I get to see all those info I would need expertise of other complex apps for. Thanks for the info @dragosroua. Easy, stress-free and without cost.
Geek-tastic :)))
That a great tip for lazy guys like me
@dragosroua
That's simply awesome. JSON is easy to read anyways. Thanks a lot.
I am learning Python, JavaScript or PHP. Thanks Easy, stress-free and without cost. Information is very useful.
Now you just need to edit it to add the metadata of this post.
And edit again, to add the refreshed metadata..and edit again to.....
:)))
True such a great easy way👏 Thanks dude
Very intetesting one sir i will try it sir
Wow great,I think this is what have been looking for.thanks for sharing dragos
Information is very useful, I'll give it a try, thanks for the information @dragosroua
As non tech person could some one explain me when i should you it and what are the benefits of this?
Very important for me is a post about steemit. I really express my interest in all this because this site is my favorite and I work with lots of interest on this site. It is very important for me to share a tutorial or post Thank you so much for being with you.
cool way you just shared very nice :)
Full of knowledge block
its a nice plan of work..thanks @dragosroua
Holy shit, that's wild
very good information friend!
You always come up with something great thanks for sharing it :)
Ini sangat keren untuk kita semua , saya selalu bersama anda di sini
Yes, it's helpful for those who are not developers. However, what do we do after getting that data and info? Curious.