From the course: Computer Science Principles: Programming

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Work with an API

Work with an API

From the course: Computer Science Principles: Programming

Start my 1-month free trial

Work with an API

- As a programmer, you are building rules for how to program. You and potentially others will use these rules to build out your program over time. Let's take a look at some examples of these rules. You create variables that can store certain types of values. You create functions that perform certain actions. You create functions that require parameters. You create functions that return values of certain types. And you create functions that are a combination of these. With all these mixed together, you are creating the set of rules that the programmer will work with in the program. You are creating their interface or API. API stands for Application Programming Interface. As you make more advanced programs, your API will expand and get more complex. But let's take a step back and look at what you are creating. As a programmer, you are doing two things at once. You are defining steps that you want the program to perform with the hardware. And you are defining the rules that you will use…

Contents