Skip to content

This is a quick 5 minute tutorial explaining what an API does and why you might want to use an API.

Notifications You must be signed in to change notification settings

KameronKales/API-Tutorial-Sourcers-Who-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

API-Tutorial-Sourcers-Who-Code

This is a quick 5 minute tutorial explaining what an API does and why you might want to use an API. If you run into any problems you can reach me at kam@glance.ai or my preferred way of communication via Facebook Messenger at http://m.me/kameron.kales

  • An API, or Application Programming Interface, enables your program to work with other programs.

  • Why would you want to work with other programs?

  • A lot of time using an API lets you skip having to write a lot of code yourself! They end up being very convenient.

  • Lets step through an example to better explain.

  • Everyone needs to eat dinner each day.

  • You could go to the grocery store and pick up what you want to eat, cook it all at your house, and then clean up afterwards.

  • OR

  • You could go to a restaurant and sit down to a great meal. You don't have to make the food or clean it up.

  • Let's discuss this.

  • If you cook at home every night you save money but lose time in preparing all of the food and cleaning up afterwards.

  • If you eat at a restaurant every night you save time but lose money.

  • You can think of an API like this, typically using an API has a cost (not in $$$, but slows your code down) but saves you from hours and hours of coding yourself!

  • Using an API is very similar to going to a restaurant you know has the kind of rice you like and ordering it. You don't have to worry about if the rice is going to be there, it just is.

  • There are thousands of APIs that we all use on a daily basis but just don't know about it. Any time programs, or Apps, on our iPhones work together that is an API.

  • For example, in a text message when we click the camera button the camera API is triggered and tells our phone to open the camera! And then the picture we took is pasted into our text message!

  • Why might you want to use an API in sourcing?

  • I am almost done with a full page about this...probably finish this weekend but with APIs you could piece together a few different data sourcers specific to your needs!

  • And like our restaurant example it will save you a bunch of time :)

  • Hopefully this is helpful, but if you have any questions just let me know!

About

This is a quick 5 minute tutorial explaining what an API does and why you might want to use an API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages