Building a crypto coin search app (Part 3).
Building a crypto coin search app (Part 3).
Hi,
This is Jay again. Welcome back to part three of our alt coin search application development.
Today we are going to talk a little bit about what's going to happen next. If you recall from the last episode I mentioned that I was going to use Foundation to implement the look and feel of the application. I've gone ahead and done that and this is what we have.
Starting small and understanding what is being built
It's fairly simple right now. If you look at the application there is simply just the ability to search for something, to select a coin, and then to go ahead and click the search button and have it return search results for you. So, right now it doesn't do much.
There's a few features that I want to talk about that we're going to implement tomorrow on the next episode. So, you'll notice a couple things that are happening here so we have the select box that's a drop down and it's got this list of coins that we can select from. Well these are not the only coins we probably care about right? So there's a there's a fundamental problem that we have. This is where the code is that generates that list of coins right there.
We don't want to have to maintain this we don't want to have to constantly... You know, if another new coin comes out we come in and add a coin or remove a coin or coin dies... You know, we don't have to maintain that.
Delegation is your friend (avoid creating more work for yourself in the future)
So, what we're going to do is we're going to delegate the data that we can get from this portion out to coin market cap. As you can see they've got... they're great right? They've got a great long list of all the popular coins. It's very likely that they're going to have any asset that anyone is looking for.
So how are we going to pull this information? Are we gonna to like, scrape the information off this webpage. Goodness let's not! Say it isn't so right?
What were going to do is... We're actually going to leverage APIs that they have built for us. They actually have APIs that allow you to own query their system to pull that coin information. As you can see, if I pull back just the first five coins that are in this list we get Ethereum and Ripple and Bitcoin and Ethereum a Ripple right Litecoin and Ethereum classic.
So when this list gets to be hundreds of it gets it gets pretty long if you look at the scrollie bar over here it... It's pretty pretty long so, now if you imagine in this list having hundreds of names in here this list for just go on and on and on. So one of the other things we are going to need to build into this is the ability to filter down to just the coins that we care about.
What is coming next?
Those are the two things that we're going to do in the next video. Well those are the two things I have to do and then I'm going to present them in the next video rather.
So what we'll do is we'll capture data from coinmarketcap.com through this api here that they expose to us. And then we will provide some filtering functionality to this search list right here.
So with that in mind I look forward to talking to you on the next run.
So, we'll talk to you soon!
Thanks take care!
Hope you enjoy it!
Bye bye!
Still here? Here are a few things go do next.
- Tell me what you think about the project in the comments.
- Not a commenter? You can learn more about who I am when you
check out my introduction post!