Video description
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.
What You Will Learn
- Use AJAX to get JSON data into their web pages
- Use XHR requests to connect to servers and APIs
- Explore how to connect to APIs
Audience
This course is for JavaScript developers and web developers who want to practice connecting to APIs. Anyone who wants to use JavaScript XHR to connect to APIs or wants to use JavaScript fetch to connect to APIs and also for anyone who wants to learn more about XHR.
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. He is always willing to help his students experience what technology has to offer and looks forward to sharing his knowledge and experiences with the world.
Table of contents
-
Chapter 1 : Introduction to connecting to API’s
- API course introduction
- web developer setup
- JavaScript XHR request AJAX
- Tweak and Adjust AJAX request
- JSON methods Parse to JavaScript Objects
- Quick Jokes API Click Button Get Joke
- Code Tweak AJAX.
- Getting Results AJAX
- Error handling and updates
- Introduction JavaScript fetch
- Fetch array objects
- fetch response methods
- Fetch Error Handling
- Fetch Adding Headers Params
- Using myJSON endpoints
- Short functions new JavaScript
- More fun with APIs
- Country Questions mini app
- Country Application complete.
- API Conclusion Lesson
Product information
- Title: API for Beginners: JavaScript and Getting Started with APIs and AJAX
- Author(s):
- Release date: January 2019
- Publisher(s): Packt Publishing
- ISBN: 9781838556570
You might also like
video
JSON JavaScript - A Quick Course JSON for Beginners
This course is perfect for anyone who wants to learn JSON quickly in a fast-paced course …
video
Node.js API Masterclass with Express and MongoDB
This course will help you to create an extensive, in-depth backend API for DevCamper, a Bootcamp …
video
JavaScript from Beginner to Expert
Become a JavaScript expert in 30 days, even if you are a beginner. Become a front-end …
video
RESTful Web API Design with Node.js
RESTful Web APIs allow developers to create unprecedented applications by leveraging the data on the Internet. …