Google Cloud Functions Python QuickStart: Step-by-Step Shopify Example

Поділитися
Вставка
  • Опубліковано 1 чер 2024
  • In this video, I'm going to take a simple Python script
    that extracts orders from a Shopify store and deploy the script on the Google Cloud Platform using Google Cloud Functions.
    We want to do that because it allows us to extract order data needed for analytics continuously without having to run anything locally by setting up scheduled jobs using Google Cloud Scheduler.
    If you're new to Google Cloud Functions and Google Cloud Scheduler this video serves as a getting-started guide.
    We'll have the cloud scheduler send a message to a pub/sub topic once every 5 min. This message will then trigger a Cloud Function to extract orders from a Shopify store and print out the number of orders to the cloud functions log. This will be a good starting point for writing more advanced ETL pipelines.
    How to extract data from Shopify with Python:
    • How to Extract Any Sho...
    ▬▬▬▬▬▬ V I D E O C H A P T E R S & T I M E S T A M P S ▬▬▬▬▬▬
    0:00 Introduction and video overview
    0:39 Cloud Functions on GCP
    2:20 Setting up a Google Pub/Sub topic
    3:45 Setting up Google Cloud Scheduler
    5:14 Configuring the Google Cloud Function
    8:27 Deploying the Google Cloud Function
  • Наука та технологія

КОМЕНТАРІ • 12

  • @Cerivitus
    @Cerivitus 6 місяців тому

    Great content here! I think your video helped me understand why pub/sub is important in creating this automation

  • @saikumarkodathala8579
    @saikumarkodathala8579 27 днів тому

    Hi
    I created cloud function using storage triggers, but I am not able to see print results in logs.

  • @joshuarodriguez2219
    @joshuarodriguez2219 Рік тому

    Your channel has many interesting and useful videos. Keep going!

  • @user-is7up5uv2l
    @user-is7up5uv2l 3 місяці тому

    Curious - according to the doc it requires a VPC (serverless) to connect to the postgres instance

  • @the-ok-stuff
    @the-ok-stuff 4 місяці тому

    Can the Shopify webhook trigger the Cloud Function without the intermediary Google Pub/Sub?

  • @DesktopChronicles
    @DesktopChronicles Рік тому

    Keep up the good work. Very interesting videos.

  • @mmdigital123
    @mmdigital123 Рік тому

    Thank you for putting up these videos, really helpful for bridging the marketing and data science. Are you running an agency?

    • @rabbitmetrics
      @rabbitmetrics  Рік тому

      So glad to hear it was helpful for you! Yes, I am running an agency - for more information have a look at rabbitmetrics.com

  • @AngelTFC
    @AngelTFC Рік тому

    Thanks mate