On Sat, May 24, 2014 at 11:40 AM, Terry Smith <[email protected]> wrote:
> Just looking for a small bit of help in setting up the code in the link > below. > http://shanelynn.ie/index.php/scrapi...-using-python/ > <http://shanelynn.ie/index.php/scraping-dublin-city-bikes-data-using-python/> > I want to scrape the Dublin bike data for a number of docking stations and > monitor how the system is being used. > Would anyone be able to give me a quick setup guide on how I could get > this setup to scrape data using google app engine or indeed if this is > possible? > It looks like the script you linked to has the option to write to CSV or a SQLite DB. You can reuse most of the script, but you'll have to edit the parts that record data. If you want to go the CSV route, you'll have to write to Google Cloud Storage. You can see example code here: https://developers.google.com/appengine/docs/python/googlecloudstorageclient/getstarted If you want to store the data into a SQL DB, you'll need to edit the script to use Cloud SQL. Here's example code: https://developers.google.com/appengine/docs/python/cloud-sql/#Python_Connect_to_your_database ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
