API for Beginners: JavaScript and Getting Started with APIs and AJAX [Video]

By Laurence Svekis
    Advance your knowledge in tech with a Packt subscription

  • Instant online access to over 7,500+ books and videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies

About this video

Access several popular web APIs and retrieve response content for web applications. This course covers how to make AJAX requests using the XMLHttpRequest within JavaScript as well as fetch. JavaScript code knowledge is a prerequisite for the course. Scope of this course is focused on using JavaScript to connect to web APIs.

Examples and source code accessing over 7 different APIs

Course Covers: -

- Explore what XHR is and how it works

- How to use JSON response data

- Connect to Joke API to get new content and update it in your HTML page

- JavaScript Objects and how it relates to JSON data

- How to iterate JSON data and output it on your HTML

- Use JavaScript fetch

- Error handling and responses

- Setting up your own JSON endpoints to practice connecting to JSON content

- ES6 JavaScript fetch and short functions

- Learn how to build an api that output country data

- Online resources and more

- Connecting to web APIs

- Practice AJAX

You will be amazed at how easy it can be to do some much. Go ahead and hit that "take this course" button to start learning the how to use JavaScript to connect to web APIs Today. Taught by an instructor with over 20 years of web development experience. What are you waiting join now to start learning JavaScript API connections, you have nothing to lose. All the code and supporting files for this course are available at: https://github.com/PacktPublishing/API-for-Beginners-JavaScript-and-Getting-Started-with-APIs-and-AJAX

Style and Approach

Step by step instruction on how to access web APIs using JavaScript XHR and fetch to get JSON data and update your web content.

Publication date:
January 2019
1 hour 15 minutes

About the Author

  • Laurence Svekis

    Laurence Svekis is an experienced web application developer. He has worked on multiple enterprise-level applications, hundreds of websites, business solutions, and many unique and innovative web applications. He has expertise in HTML, CSS, JavaScript, JQuery, Bootstrap, PHP, and MySQL and is also passionate about web technologies, web application development, programming, and online marketing with a strong focus on social media and SEO. Laurence is always willing to help his students experience what technology has to offer. He looks forward to sharing his knowledge and experiences with the world.

    Browse publications by this author
Book Title
Access this video and the full library for FREE
Access now