This course will be retired on July 14, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introduction to Functional Programming!
You have completed Introduction to Functional Programming!
Preview
Let's download the project and get up and running!
Get the code
git@github.com:treehouse-projects/java-fp-indeed-jobs.git
Learn more
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
I wanted to create a project that we
could use to explore some big data.
0:00
So, I was looking for
a large dataset I could use.
0:05
There are a ton of external APIs that you
can connect to to get data like movies,
0:08
and books, and recipes,
muppets, you name it.
0:12
So I thought,
0:16
what's something that has a really
large amount of recent relative data?
0:17
I know, how about job listings for
java developers?
0:22
So I used an API from the site indeed.com.
0:25
Indeed is what is known as job aggregator
they gather jobs from all sorts of sites.
0:29
It's wonderful if you're on the hunt.
0:33
They also offer access to their search.
0:35
So, I wrote some code that grabs the first
thousand recent java job postings and
0:38
I cached them, or saved them for later.
0:42
Now, the code is up on GitHub, and
also available in the downloads.
0:44
I'm going to install it using GitHub.
0:48
If this is new to you,
check the teacher's notes.
0:49
>> Okay so here in IntelliJ, I'm going to
choose Check out from Version Control, and
0:52
I'm gonna choose GitHub.
0:56
I'm gonna go ahead and paste the URL
from the teacher's notes in there, and
0:58
I'm gonna choose clone.
1:02
And I'm open it up, and
I'm gonna let Gradle do it's thing.
1:05
I'm gonna go ahead and
click the import Gradle Project.
1:08
And then I'm gonna click
Create Directories for empty content where
1:12
it's automatically just in case I
always like to have that one checked.
1:15
And I click OK.
1:18
These are okay to click OK through.
1:20
Doing its thing right now, it's going and
it's downloading some sources for us.
1:22
If you get one of these,
don't worry about it.
1:28
Okay, and
now I'm gonna open up the projects.
1:32
So I'm gonna go do this
project view right here.
1:36
And let's open it up and
let's take a look in here.
1:38
Main java com.teamtreehouse jobs,
and then I'm gonna go to app.
1:42
And you're gonna see it, but
doesn't know what string is.
1:47
That's because the SDK isn't defined yet
here, I'm going to set up SDK,
1:49
I want to chose that one.
1:52
Okay, so this has those cached
jobs that we were looking at, so
1:56
there should be about a 1,000.
1:59
I'm just going to print something here,
make sure that we're working.
2:01
Hi mom and I'm gonna go ahead,
I'm gonna click the play button over here,
2:05
we're gonna say Run App.main.
2:08
Cool.
2:13
So we have a 1,000 jobs to play with,
it's saying hi mom.
2:14
I was thinking that we could kinda
just slice and dice this data and
2:17
keep the methods that we write throughout
the course as a little cheat sheet to
2:20
refer back to later.
2:23
That sound good?
2:24
Okay, all right, so
now we're ready to roll.
2:26
So, let's open up the stream on
these jobs, right after this break.
2:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up