How To Interact With A Simple API in WordPress - Advanced WordPress Tutorial

preview_player
Показать описание
In this tutorial, we go over how to scrape a remote data source (API) and store that data in a Custom Post Type that has a set of Advanced Custom Fields. This is a real-world project that I used to create a timed-scrape for a side project.

Get WordPress Hosting:

**Don't forget to subscribe!**

** FULL CODE REPOSITORY **

**SOCIAL**

#WordPress #API #RealWorldProject
Рекомендации по теме
Комментарии
Автор

I really enjoyed this! Thanks for speaking slowly and clearly. I am 75 and trying to learn a bit more about Wordpress. I support about 6 sites and would like to learn how to do some customization work.

mountainman
Автор

As a programmer who has never touched wordpress, this was brilliant. Learnt far more from this (i actually watched this) and learnt the exact thing I was wanting to.
Excellent excellent excellent video!

priestofpsi
Автор

Just to give some feedback, this tutorial really helped me to get an api integration running on my company. As someone with a very limited background in coding, this was a perfect starting place. Thanks

chrisklightandsound
Автор

Correct me if I'm wrong, but when you put >= on line 73 (31:40), the = takes away the whole purpose of the function, which would be to update only the newest ones (>). Those with the same timestamp (=) shouldn't be updated.
The tutorial is excellent, and it helped me a lot. Thanks. 👍

RobertoTenil
Автор

Wow. This tutorial is really good and you made it very easy to follow without skipping important parts and giving a clear path to follow. I'm glad I found the video!

stillready
Автор

THIS video helped me saving my ass to my project. I really appreciate your effort on doing this video. Thanks Alex!

imarkdesigns
Автор

Your videos are just unbelievably simple professional and amazing

kerimtim
Автор

One of the best tutorials I've seen on this subject by far... but I died when you decided not to show the front-end. Do you think you'll ever take what this tutorial delivered and extend it a little further to show how you created what you did with the map and search etc?

paul
Автор

Excellent. I got a bit confused by the end but overall, thank you for showing everything from scratch instead of keep saying "i already wrote half of the code offsceen".

ashkanahmadi
Автор

Hi, first of all great video! Learned a lot from it. I have one question, What if a brewery is deleted from the API? How will you find the obsolete brewary in your WordPress database and delete it there as well? What checks can we run to achieve this?

rickyrozario
Автор

Not specifically looking for this function but this tutorial is amazing!

JassarDev
Автор

Hey Alex! Amazingly straightforward video and exactly what I needed for the project I'm working on! Right on!

JerryFerguson
Автор

Wow I was able to do this line by line, and then repurpose it for another API. Thanks so much WPCasts, let me know if I can buy you a coffee (virtually) Cheers!!!

jakeparrotta
Автор

Wow. This is a great video tutorial, a starting point for integrating any possible API. Thank you!

kerimtim
Автор

Amazing!! Can you plz give us a how-to series on building a whole CRUD app using WP Graph QL and React? Pleeeease?

ahmedmusawir
Автор

Great tutorial BUT what if a brewery is deleted from the API list, then its not deleted in the local db?

seniorlyxbo
Автор

Amazing tutorial! It helped me out soo much! Something I think that is missing is removing a brewery from WP if it no longer exists in the API response. Easy enough to figure out though.

kennyirvine
Автор

Thank you so much! As useful as usual! Keep inspiring us. Thanks a million. I've been waiting for this forever.
I cannot thank you enough 👍 - plz keep up the awesome work i would love to see more of your great vids - ...

martinkaspar
Автор

Incredibly useful and well delivered. Thank you!

mayanikolova
Автор

Great tutorial! I'm trying to figure out how to import products into WooCommerce via an API. This has helped me immensely.

kmmarch