I have a list of addresses that I pulled from a county site but I dont have the zip codes. How can I get the zip codes from the addresses in google sheets or excel? I have the street name and city and state info.
Thanks
I copied a script online but after a few codes were populated in received and error of service invoked too many times.
Related
I've used importxml to get public info from a website. But sometimes info changed when we access though different country. For example http://www.ebay.com/itm/221998403138?_trksid=p2057872.m2749.l2649&var=520870142881
this item is not available in USA but when we'll access from different country where seller shipped or changed the country of shipping, we can find the shipping cost. If I use importxml from Google Sheet, that means the access country will be USA. How far I understand i can't change the IP of Google Sheet. So I would like to know if is there any way to sent login detail though URL. That means I want to specific Google Sheet to access URL though my login details(username and password).
So that shipping cost will appear under xpath.
//*[#id="fshippingCost"]/span[1] -- Non-US country where seller ship
//*[#id="shSummary"]/span[1] - USA, shipping is not available
Please see the image for clarification.
http://prntscr.com/ad6fqi
IMPORTXML is a Google Sheets built-in function that use Google servers to be ran anonymously. The same applies to IMPORTDATA, IMPORTFEED, IMPORTHTML.
If you need to sign in in order to get access to restricted access information you should use another thing like the URL Fetch Service from Google Apps Script. It could be used to create a custom function like IMPORTJSON, or other types of scripts.
Related
How to know if Google Sheets IMPORTDATA, IMPORTFEED, IMPORTHTML or IMPORTXML functions are able to get data from a resource hosted on a website?
References
https://developers.google.com/apps-script/guides/sheets/functions
I am trying to get a specific value from a public company's balance sheet into Google Spreadsheet to better analyze the company financials. I want to add the ticker in one of the cells and via a formula, I will get the Total Current Assets for example.
Is there a way to it?
The main issue is that the data is populated after the page is being rendered, so even if I use the IMPORTHTML and set the right XPath I am getting Imported content is empty. It because the value is since it is being fetched on the on a later script.
I found this service which provides the company's financials in a JSON and CSV formats, but I dont know how to parse it on the googlesheet.
Should be something that someone already solved.
Thanks
I would like to use following url to retrive the hoildays for each country
http://www.google.com/calendar/feeds/tr.turkish%23holiday%40group.v.calendar.google.com/public/full
As i am developing application for windows phone, i don't know in which country it will be used.
So i am trying to find the language.timezone combination which i can formulate to use.
I check the following link for timezone names, http://www.timezoneconverter.com/cgi-bin/zonehelp.tzc
but its different than what google accepts.
like, Turkey listed as Europe/Istanbul, but google acceptes as tr.turkish. if I try tr.Europe/Istanbul, i get error.
Another example South Africa is accepted as en.sa. I can't find the corelation between country codes and timezone codes.
is there any way to find the list for all countries to code in program that google accepts?
Thanks a lot for the help
A colleague of mine is a small builder here in London. He works all over town. He uses many different suppliers.
Most suppliers send him their sales invoice via email when he buys something.
My friend could set up a gmail address to be used only by suppliers. But could emails sent to it be "automagically" processed and their contents inserted into a google spreadsheet ?
What is the relative practicality of what I've outlined ?
Tom
So, your query finally boils down to two questions:
Save PDF attachments from Inbox to Google Drive
Parse PDFs and store the data into google spreadsheet
Save PDF attachments
This can be easily achieved by processing the attachments from the emails and storing them google drive. This link will help you achieve the same. Kindly go through the script provided in the sheet for better understanding.
Parse PDF attachments
After storing the PDFs in google drive, you could easily retrieve the content via Document Class using method getBlob or getBody as per your requirement and store in google spreadsheets.
Yesterday I've used mailpareser to parse an order email and create a google spreadsheet raw for each line item in the order. So this is now automatic.
I've found this question with google so it's still relevent.
Google drive does not always index files that are in google document format - specifically spreadsheets. Searching for a field in the spreadsheet works perfectly when excel spreadsheets are uploaded and not converted, but are not searchable when uploaded and converted to a google spreadsheet.
My testing within the Google Drive web application has shown that:
- searching for "UNIQUE1234" in the exact same document uploaded twice fails when the document is "converted" to google document format but succeeds with left unconverted (as an excel, .xlsx file).
- searching for the same string in a newly created spreadsheet (through the drive interface) also does not return the new document.
- these google document spreadsheets are at some point indexed as I can search some of my older documents.
The real problem is that I'm writing an application that uses the Drive SDK to search for a specific string within drive spreadsheets - and it doesn't work when the files aren't indexed. The only workaround I've seen is to have users not convert uploaded documents - but this isn't great as it is nice for them to occasionally alter uploaded fields.
My questions are: What triggers google drive to index Google documents? Is there a way to trigger indexing on a particular document? Is this a bug?
Any help is greatly appreciated as I'd like to autodetect spreadsheets with particular values in user's drive accounts.