I am trying to pull the balances of my various tokens into a Google Sheet so I can live track as prices move.
I will use an old wallet as an example.
The list of token holdings is https://bscscan.com/tokenholdings?a=0x44B9D154c86975E1FBF66Ae30eE265F58e7d958A
There is only one token in the wallet, so in order to pull the balance I'm using
importXML("https://bscscan.com/tokenholdings?a=0x44B9D154c86975E1FBF66Ae30eE265F58e7d958A","//*[#id='tb1']/tr/td[4]")
But i get a response "#N/A" with an error "Imported content is empty".
Am I using this function wrong?
that is actually an expcted outcome. JS elements are not possible to scrape into google sheets. you can always test it by disabling JS for given site:
Related
I am trying to figure out whether it is possible to import latest parcel status from DPD.
For example, I would like to get 'Delivered' status from below link and import it to google sheets:
https://tracking.dpd.de/status/en_DE/parcel/05252044194808
Any attempts with importxml are, however, empty. Any chance there is a way to download the latest status to Google Sheets? Perhaps that site is secured from scrapping?
IMPORTXML and IMPORTHTML would return data whenever the web page information is not generated through JAVASCRIPT, disabling JAVASCRIPT on the web page you are trying to scrape data from shows no data, so most likely the whole content is generated through Javascript dynamically and that's the reason why those methods don't return any information.
so I'm trying to grab my grades from canvas.net and in order to see my grades on google sheets. but I have to sign in to see them.
so I'm using this code to grab the data but I know it can't see my grades because I'm not signed in so how do I sign into the website using google sheets.
importxml("https://learn.canvas.net/grades", "//td")
I haven't tried anything because I have no idea where to start
It is not possible to access site behind the login using importxml or other google sheets tools.
Why?
When you write import formula, it's not you who connects to canvas.net or other site, it's Google Sheets server. That's why it can't reach your data. You are authorised, google server is not.
Daily I want to update the google form (10+ forms dailys)
If there any way to send data to google form
I have google sheet with 3 column, COl1-Name, COl2-Age, COl-Location with 10+ rows of item,
Now i want to fill form for 10+ line of item one by one, So i want to send data from google sheet to google forms directly
Yes, you can Import data from Google Sheet and use it to fill out Google Forms. The idea here is that you have a make a little bot to automate your tasks. You can use any language you prefer.
Follow these steps:
Use Google Sheet API to import raw data.
Then, use the imported data to fill out the form and POST it to Google Forms
Here are some starter links to guide you through:
How to use Google Sheet API to import raw data?
How to dynamically prefill Google Form?
How to automate Google Form?
Let me know if you have any questions. Thanks.
PS: Google will limit your API usage if your traffic is quite large, but since you have mentioned 10+ forms on daily basis, it should be fine.
I am using google sheets to maintain a google product feed.
Often times we will have to de-activate a product on our website e-com back end and then go into the google sheet and change the status column from in stock to out of stock manually.
I was wondering if it is possible fully within google sheets to check on our website back end if the product is marked inactive (based on the product ID column) to change the status column.
I know there are ways to import html in sheets but I have not seen anything that can check if html is changed especially on a password protected admin page.
formulas from import family cluster (IMPORTHTML, IMPORTXML, IMPORTRANGE, IMPORTFEED, IMPORTDATA) are not able to bypass any kind of password protection (eg. they can't look/import data behind login access)
I have a Google sheet with a list of information on customers, one being a user count from a WaaS I run.
I would like to regularly run a script that makes a http api request that returns the user count from the platform and updates the value in the Googlesheet.
How easy is this?
I never worked with the Google Sheets API, but the documentation looks good. I hope this will help, https://developers.google.com/sheets/