- Course
- Core Tech
TypeScript in Practice: Consuming Web APIs
TypeScript’s type system is powerful, but it can give developers a false sense of security. This course will teach you how to safely consume data APIs so that your types can be relied upon throughout your application.
What you'll learn
TypeScript offers the promise of stabilizing JavaScript’s fluid nature through strong types. However, TypeScript’s capabilities falter at boundaries, such as the client-server interface. In this course, TypeScript in Practice: Consuming Web APIs, you’ll learn to load and transform data APIs while enforcing type safety. First, you’ll explore how to retrieve data from a server and store the results using types. Next, you’ll discover the secrets to validating API data and handling error responses. Finally, you’ll learn how to transform API data to align it with the client’s types. When you’re finished with this course, you’ll have the skills and knowledge of consuming web APIs needed to confidently consume API data, knowing that the data your application is receiving is exactly what you expect it to be.
Table of contents
About the author
Michael VanSickle is an application architect in Akron, Ohio. He is a mechanical engineer by training and a software engineer by choice. He is passionate about learning new programming languages and user experience design.