Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA CompTIA Security+ Amazon AWS Microsoft AZ-900
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Personal Transformation Mindfulness Life Purpose Meditation CBT Emotional Intelligence
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Vue JS
Google Flutter Android Development iOS Development React Native Swift Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
Microsoft Power BI SQL Tableau Business Analysis Data Modeling Business Intelligence MySQL Data Analysis Blockchain
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Business Plan Startup Freelancing Online Business Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
Development Web Development JavaScript

API for beginners JavaScript Getting Started with APIs AJAX

Explore using JavaScript XHR and fetch to connect to multiple web API endpoints retrieve JSON data and update HTML
Rating: 4.6 out of 54.6 (50 ratings)
3,548 students
Created by Laurence Svekis
Last updated 1/2021
English
English [Auto]
30-Day Money-Back Guarantee

What you'll 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

Course content

2 sections • 23 lectures • 1h 17m total length

  • Preview04:13
  • Source Code and downloadable files for the course.
    00:24
  • web developer setup
    04:53
  • JavaScript XHR request AJAX
    04:57
  • Tweak and Adjust AJAX request
    02:49
  • JSON methods Parse to JavaScript Objects
    04:53
  • Quick Jokes api Click Button Get Joke
    01:49
  • Preview02:35
  • Getting Results AJAX
    08:52
  • Preview02:15
  • Introduction JavaScript fetch
    04:22
  • Preview02:15
  • fetch response methods
    03:47
  • Preview01:25
  • Fetch Adding Headers Params
    02:13
  • Using myJSON endpoints
    03:26
  • Short functions new JavaScript
    02:19
  • More fun with APIs
    05:54
  • Country Questions mini app
    06:03
  • Country Application complete.
    04:26
  • API Conclusion Lesson
    01:54
  • Resources and Source Code
    00:04

  • Bonus Lecture
    01:13

Requirements

  • JavaScript Experience and HTML and CSS
  • You should have web development Experience

Description

Access several popular web APIs and retrieve response content for web applications.  Step by step instruction on how to access web APIs using JavaScript XHR and fetch to get JSON data and update your web content.

JavaScript is a prerequisite to this course - do not take this course if you do not have JavaScript core knowledge

HTML and using an editor is also a prerequisite to the course - the scope of the course is to focus on JavaScript APIs

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'll get friendly support in the Q&A area and all the source code available for download. 

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, ready to help you learn and answer any questions you may have.

What are you waiting join now to start learning JavaScript API connections, you have nothing to lose.

Who this course is for:

  • Web developers who want to practice connecting to APIs
  • Anyone who wants to use JavaScript xHR to connect to APIs
  • Anyone who wants to use JavaScript fetch to connect to APIs
  • Anyone who wants to learn more about XHR
  • JavaScript developers

Instructor

Laurence Svekis
Instructor, GDE, Application Developer
Laurence Svekis
  • 4.3 Instructor Rating
  • 43,798 Reviews
  • 732,209 Students
  • 374 Courses

I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today
Google Developers Expert - GSuite

Providing Web development courses and digital marketing strategy courses since 2002.

Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses.

"I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998.  I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides."

"Learning, understanding with a strong passion for education.  The internet has provided us with new opportunities to expand and share knowledge."

Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how to bring amazing things to life online.  Technology connects us all in many ways.  It opens up doors to those who embrace it and learn how to make those connections real.

"My courses are designed to help you achieve your goals, learn and update skills"

Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications.  Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO. 

"Understanding technology provides a means to better connect with users.  It also opens so many doors.   Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.