Hour 15. JSON APIs

What You’ll Learn in This Hour:

• What an API is

• What JSON is and how you can use it with Node.js

• Retrieving data from third-party APIs

• Creating a simple JSON API

APIs

An Application Programming Interface (API) is a means to create an interface between different software components. On the web, this usually means making data from your website or service available to third parties or applications on devices like mobiles or tablets.

Node.js is extremely well suited for creating APIs for a number of reasons:

• It is able to handle a large number of concurrent connections and has a low memory footprint.

• It is written in JavaScript, so creating JSON (JavaScript Object Notation) APIs is easy.

• The first-class HTTP support ...

Get Sams Teach Yourself Node.js in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.