Ability to query ask steem API and display simple results

in #utopian-io6 years ago (edited)

What is Steem Finder?

Steem finder is a javascript based website which will allow a user to search the STEEM blockchain using the Ask Steem API and display a set of results based on users and posts. Steem Finder will put a front end on all of the various different parameters that can be configured using the Steem API and then following that will provide the ability to view the results within the site on site using the http://steem.esteem.ws/

Currently, within this release I have completed the following:

  1. Initial Integration into Ask Steem API to get results based on user input
  2. Initial CSS for results and landing page

A screenshot of the current experience can be seen here:

Feb-17-2018 16-50-01.gif

What & How was this created?

The first peice of work was to intergrate the Ask Steem API, the code relating to this can be seen in ask.js (https://github.com/tobias-g1/steem-finder/blob/master/js/ask.js) within there I created a function which passes in the users input and goes to the ask steem api to get a list of results, following that I then define the author, title, resultSummary and tags to be used within the result. For each result I create a html element which is placed into index.html. I applied basic styling to show the results for first release.

The code used to generate the results can be seen here:

image.png

A screenshot of an individual result can be seen here:

image.png

Working Example

You can find a working example of this using the link below:

https://tobias-g1.github.io/steem-finder/

Roadmap

The following are examples of some of the features I hope to implement into this project in the coming weeks:

  1. Ability to search post and user
  2. Ability to filter based on dtube, utopian, steem
  3. Paged results
  4. Ability to view post in modal
  5. Links to view on busy, steem, it
  6. Ability to search by payout, tag, etc.
  7. Ability to sort by payout, views, votes
  8. Improvements in styling
  9. Ability to generate ask steem query to be used on ask steem

Contribute

Contributons made through utopian.io are welcome :D

Commits

The following commits are related to this release:

  1. https://github.com/tobias-g1/steem-finder/commit/652a744939326d6b68d13c36d89dd7dbae4457a6
  2. https://github.com/tobias-g1/steem-finder/commit/70dedc28742e45293b1d840226a7e3b1de117ae4
  3. https://github.com/tobias-g1/steem-finder/commit/da1f649efa1f041681c4e4c0d1b9b7af119d6235
  4. https://github.com/tobias-g1/steem-finder/commit/bb0e8863a3f977ed7b433a727961cd8aa45f7bcb
  5. https://github.com/tobias-g1/steem-finder/commit/7a708035e30c9624c511d7237fab355cbcdc3212
  6. https://github.com/tobias-g1/steem-finder/commit/4b38685dbd25ba0eebfba9d0703b5e2608b0137a
  7. https://github.com/tobias-g1/steem-finder/commit/bb66db42ee7cd2748f0af82d1f880b6b136834c0



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved. This is a very basic contribution but the roadmap looked very nice, so please next time try to add more features in-to your contribution.

You can contact us on Discord.
[utopian-moderator]

Thanks, @codingdefined, is my latest contribution to this a more suitable amount of features?

https://utopian.io/utopian-io/@tobias-g/multiple-additions-to-steem-finder

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by tobias-g from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

Hey @tobias-g I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.19
TRX 0.13
JST 0.030
BTC 63574.15
ETH 3404.81
USDT 1.00
SBD 2.54