littlebenlittle
littlebenlittle

Reputation: 853

In GCP, is there a canonical way to scrape data from an API?

I'm building an application that will periodically pull data from several APIs and write them to cloud storage for later processing by Dataflow. There are many different ways to do this so I wanted to sanity check before I jumped in.

My plan is this:

Is this a reasonable way to perform this sort of action? Is there a simpler or more straight-forward method? Thank you in advance for the replies.

Upvotes: 0

Views: 451

Answers (2)

oakinlaja
oakinlaja

Reputation: 906

Cloud Scheduler can schedule Compute Engine without App Engine however it seems that you cannot create and delete the VM with this method.

Upvotes: 1

Ying Li
Ying Li

Reputation: 2519

You can just use App Engine cron jobs to schedule the tasks. Your App Engine app cron handler can simply run the script that pulls data from the APIs. Maybe I am missing something, why do you need to use a Compute Engine instance to run the script?

Upvotes: 0

Related Questions