Let's build DApps on SpkNetwork Platform - Part 1

in Threespeak6 days ago (edited)





Watch on 3Speak



---

Hello 3Speak Community members

  • Let’s talk about creating DApps on 3Speak Platform
  • This would be the first video for series of the videos for the same.
  • In this series of videos, I’ll explain how to build an app on 3speak platform.
  • In this specific video, we’ll talk about how to display the data of different feeds like first uploads, trending content, new content, communities, leaderboard.

API Documentation

All one has to do is open following URL in the browser.

https://3speak.tv/apiv2

  • It’s API documentation.
  • Use https://jsoneditoronline.org/ or any other JSON Editor of your choice to view it in formatted manner.
  • As highlighted in the following screenshot, as a developer, one can consume it & render the user-interface of one’s own choice.

API to display Home page - videos feed

https://3speak.tv/apiv2/feeds/home

Use values indicated in the screenshot below to populate the user-interface.

API to display Trending videos Feed

https://3speak.tv/apiv2/feeds/trending

API to display New Content - videos Feed

https://3speak.tv/apiv2/feeds/new

API to display First Uploads - videos Feed

https://3speak.tv/apiv2/feeds/firstUploads

API to display Leaderboard

https://3speak.tv/apiv2/leaderboard

Refer to Mobile App source code

  • Mobile app source code is open source
  • Explore it
  • Find what you need.
  • Ask me in the comment section or in 3Speak Discord

It’s too centralised

  • No worries.
  • You can use HiveSearcher API or HiveSQL or any other hive-tool
  • Query data you need & display on the user-interface you need.
  • All you have to look for is - https://3speak.tv/watch in the search query.
  • Add any additional parameters to prepare feeds like trending, new etc. on your own.

TaDa 🎉

  • That’s it for this post.
  • In this video/post, I’ve covered followings
    • Render Home Page with videos on your DApp
    • Render New Content videos on your DApp
    • Render First Uploads videos on your DApp
    • Render Trending videos on your DApp
    • Render Leaderboard of users on your DApp

More details are cooking 🧑‍🍳


Who am I?


Support Me Back 🙏

Support 3Speak

Download Android AppVote me as Hive WitnessDownload iOS App
Join 3Speak DiscordSetup Encoder NodeVote for 3Speak Proposal
Earn Money using HoneyGainGet a server

Cheers
Have a good one

---

3Speak

Posted from 3Speak iOS App for 3Speak
Developed and maintained by @sagarkothari88

Sort:  

This post has been manually curated by @bhattg from Indiaunited community. Join us on our Discord Server.

Do you know that you can earn a passive income by delegating to @indiaunited. We share 100 % of the curation rewards with the delegators.

Here are some handy links for delegations: 100HP, 250HP, 500HP, 1000HP.

Read our latest announcement post to get more information.

image.png

Please contribute to the community by upvoting this comment and posts made by @indiaunited.

Great work. Need to have a playabout in python myself.

Thank you @mypathtofire . I find you appreciative & motivative. I am so glad to have you as follower.


The rewards earned on this comment will go directly to the people sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.

Congratulations @sagarkothari88! Your post has been a top performer on the Hive blockchain And you have been rewarded with the following badge

Post with the highest payout of the day.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

HiveBuzz World Cup Contest - Recap of Day 5
HiveBuzz World Cup Contest - Check your ranking
HiveBuzz World Cup Contest - Recap of Day 4

3speak with hive is my favourite blockchain platform site.