I'm trying to put together a webbot/scraper using google script.
Here is a book teaching how to do it but it is in PHP.
http://www.amazon.com/Webbots-Spiders-Screen-Scrapers-Developing/dp/1593273975/ref=pd_sim_b_3
Now, I know you can use PHP and link it into google spreadsheets. But i don't want to do that. I want everything to be in google script. Even running PHP in google script is ok. I just want to keep everything in the cloud.
Does anybody know the best way to approach this? Which libraries best to use? etc.
Thanks.
You should look at the UrlFetch Services provided in Apps Script. There are numerous questions already here about using this service, so you should be able to find many relevant examples.
Related
I have a template Google Doc with linked tables and charts that I need to programmatically update so that I can export it as PDF and send by email. I haven't found a way to do that neither with apps script nor google docs api. And I really want to avoid updating the template with static content.
I know this question has been asked before, but never has a positive solution been found.
If this is still not possible, maybe there is a work around? Like a chrome extension you can trigger that can simulate manual update? Or whatever. Doesn't have to be elegant or anything, just has to work somehow.
Thanks a lot for your help.
I'm not a savvy coder, so this is quite a challenge to me, but I'm trying to get this to work anyway:
I'm preparing a registration form on Google Forms. People will insert their personal data and, in the end, I would need people to be able to upload a few files (a photo, a CV, etc...). Such files would be stored on Google Drive.
Now, I've seen that there seems to be no straightforward way of doing it on Google Forms. I was thinking that my only option would be to try and get it done with Google Scripts and then embed that script inside my Google Form.
Is this possible? Can anyone help me with this?
Many, many thanks in advance!
In case you have a Google bussines account, you can create a file upload question type. See the announce here https://gsuiteupdates.googleblog.com/2016/10/five-new-ways-to-reach-your-goals.html
I would like to hide sheets that are not relevant to anyone who is logged in. There is a list of users on the top right of the screen next to the chat and comments functions.
Is it possible to get that information into script?
This isn't currently possible using the standard Google Apps Script services.
It might be possible with the experimental Google Real Time API, but you would have to investigate and experiment with that to determine both if it is possible, and to how to access that API from Apps Script. This wouldn't be a straight forward task.
I want to use the Research tool in Google Docs as apart of my app script, is there a way to call it in my script?
As far as I can tell from the Google App Scripts documentation, this is not possible. You might want to submit a feature request to Google to add this functionality (new issue button is on the left of the linked page, it's hard to see).
Can we write our front end design and use the google spreadsheet for the back-end for a website?
Thank You
Google Apps Script might also be a good option for you. You can host your code on the Google servers (all written in JavaScript) with easy access to all the spreadsheet and docs APIs. You can see a lot of tutorials on the site.
Another even simpler option might be Google Forms - if you are just trying to gather some data and record it in the spreadsheet.
You have probably already found an answer or a workaround, but here is an example from Google.
https://developers.google.com/apps-script/storing_data_spreadsheets