I'm trying to import an exchange rate from this website
I'm using the importXML function and have the following syntax
=IMPORTXML("https://eximbank.com.vn/WebsiteExrate/ExchangeRate_vn_2012.aspx","//span[#id='ExchangeRateRepeater_lblTTBUYRT_0']")
but I don't know how to import information based on other date, I only know how to import information in one specific date.
This is the spreadsheet I'm working on it.
Any help!
scraping with the changed date is not possible in this case because picking the different date won't change the URL, therefore, there is no way how to tell Google Sheets to look up stuff for a different date. the best course of action would be to find another website that hosts the same data.
Related
I was reviewing the Google Classroom API and noticed there was not an option for getting grades. I need to extract the assignment grades from Google Classroom into an external grade book app that I am creating. Does anyone know if this is possible, or how to do this?
You can definitely get grades from the API.
Classroom.Courses.CourseWork.StudentSubmissions.list(course.id, work.id).studentSubmissions
From there, loop through the studentSubmissions:
studentSubmissions[i].assignedGrade
That gets the assigned grade for that specific assignment. I also grab studentSubmissions.userId in order to get the student name. Let me know if you need anything else.
It is possible with Google Sheets and Apps Script. You can export your grades to Google Sheets and from there, you can use Apps Script to extract data from the sheets. To do that, you can check this SO question and the methods to access and modify spreadsheet sheets.
The product uploading feature will be automated, so all you need to do is enter a product link through the back-end itself and that then add the product photo and description during the night preferably
Please let us know its possible in Magento
IMHO, the best way to achieve that is to create a csv uploader in the backend like you can find in Mage_ImportExport_Adminhtml_ImportController (the whole module can be source of inspiration). The csv feeds a special table that you create with during your module initialization. At the end, with a cron, at the desired time you check this table for the url and then retrieve the photo and description using curl or something similar.
Side considerations :
If you have a large amount of products to inject, you will prefer direct sql queries than the slow Magento ORM
Do not forget to deactivate the indexation during import process
If you need to update and references are different between your source and your Magento, create a special attribute to be sure to have a link between both
If you feel more confortable with other framework or language and you need to create a large amount of data, the importation process can be done with any language able to interact with mysql.
I need to be able to import IMDB user's movie ratings into my website. Is there any API for this purpose?
The short answer is that there is not an API for this purpose (at the moment).
If you need to get a user's movie ratings I think that the best solution for you is to log in at IMDB, go inside the user profile page, click on rating and in the bottom of the page click on the CSV export.
This should contains all the data you are looking for and in a good format. The bad news is that you have to follow these steps for each user you want to get the ratings. There is not an automatic procedure to get them.
I would like to create one web service in Ruby (Rails 3 application), which will
accept an Excel file having data for users and user profiles
(about 30 columns),
migrate the data to Database and
generate a match report (another Excel) and send that back to
user.
The Import Excel files columns are like Email,First Name, Last Name, Country, City, Tags (comma separated values)
The Match Excel file will be having columns like Email_excel, Email_db, match(true/false), First Name_Excel, First Name_db, match(true/false)...
Or is there any other way to deal with this scenario.
Update 1:
I am using spreadsheet 0.6.5.9 to perform all the above mentioned operations and everything is working fine in web interface through file upload (paperclip).
But how can I make this feature available as web service.
Any help, link or suggestions is appreciated.
Thanks.
This is a good start on how to do what you want. Once you read the spreadhseet in and then parse it you would cycle through and post the data to your DB. This may also help.
I'd like to automatically create one of these pivot tables:
https://drive.googleblog.com/2011/05/summarize-your-data-with-pivot-tables.html
Given some data and parameters, the script would create a new google spreadsheet, complete with pivot-table and chart, non-interactively.
Is this possible?
It appears that there is a partial answer. I haven't tried it yet, and I wouldn't swear by it till I do. If anyone does try this technique, post here.