Is it possible to search and replace text with the skydrive api? - onedrive

Is there a way to search for and replace text within a document hosted on MS Skydrive? Ive looked through the api but could not see anything that allows operations on text within documents...

Related

Create Dynamic Questions on a Google Form

I have a list of URLs for hundreds of images in a google spreadsheet. I want to create a google form that dynamically picks 50 of these images, displays them and asks a generic like it / hate it question, then submits this data along with the URL to a spreadsheet.
Is there a way to do this dynamically?
AFAIK, you can create form using apps script using a function. But once created it becomes static. Only updating a form would make it as dynamic as possible.
References:
Dynamic selection options in Google Apps Script for forms
Dynamically edit multiple choice options in live Google Form using Apps Script
Is it possible to show dynamic information in a Google Form based on a previous response?
OR
Create a web App using Apps Script.
Hope this helps.

Google Custom search API for BOTS

I am creating a kind of BOT. I would like to add web search functionality to my bot. i.e. I would like my BOT to search the web for user if your says so.
To implement that I am thinking of using GOOGLE search engine. But on overviewPage of its Custom Search API, it says
Create custom search engines that search across a specified collection
of sites or pages.
Is there any way that this specified collection defaults to whole web. or is there another way round this.

Using google custom search API to find images

I want to use Google's Custom Search API to find images using GET request. Like described here. But I don't want to look on images on one specific site, but want to get results like this. How I can do this with the Custom Search API?
Sending this request returns nothing:
https://www.googleapis.com/customsearch/v1?key=[MY_KEY]&cx=017576662512468239146:omuauf_lfve&q=some+request&&safe=off&searchType=image&fileType=png. This cx is from google's manual
I must set cx param, but this value links my request to site, specified in cse control panel. However I don't want to limit my results to one site.
According to the documentation here:
Google Custom Search > Overview
Google Custom Search enables you to create a search engine for your website, your blog, or a collection of websites.
It doesn't sound like that is what you are trying to do (you don't seem to want to search a predefined subset of resources).
I'm aware the question is over 6 years old, but better late than never. It's possible to create a Google programmable search engine that can search the entire web for images. When you create a programmable search engine, there is an option to search the entire web instead of just web sites that you specify. See https://programmablesearchengine.google.com/about/.
As an alternative, you could try Bing Image Search API. There is a limit to the number of image searches you can submit per day for free, but I have rarely hit the limit.

Getting The Results of a Google Search Programmatically via Custom Search

I am trying to send a request to Google.com via Custom Search API and get the response with a proper format (XML or HTML preferably). From the Custom Search API website, I have seen that this is actually possible via "Retrieving the Code for the Search Results" (it is here). The thing is that I cannot get it working. Every time the broken robot from Google shows up. I was wondering if anyone had any experience with it and they could help me. I am trying to use the search results for a small project.
Here are the things I have done:
I can use the Google search API in general (I have used it with the search text box)
I have set up my Custom Search API to search the entire web.
Here are a bunch of things that I am not going to do:
I'm not trying to have a Google search box in my site.
I'm not trying to grab what Google says by parsing the Google.com page.
Here is what I need to do:
I need the content of what Google returns as search results via whatever API Google has to offer.
I will be using PHP for writing this program. If anyone has a better way to get these search results in a proper format, it is very appreciated.

How do I make a VB.NET application that can rip websites from Google?

I'm trying to make a VB.NET application that can take some text in (via Text Box) and then search that text in Google, and take the resulting URLs from Google.
So my questions are:
How do I make it search Google?
How do I make it take the found URLs from Google?
And any ideas represented through code would be appreciated, I know I some how have to rip the URLs from google, but how?
It sounds like you want to use the Google search engine but have everything located inside your application. In this case, Google provides an API that will allow you to do this without doing web scraping or other hacks. You can read more about it and see examples (in .NET but usually C#) here:
http://code.google.com/p/google-api-for-dotnet/
Here is an example of how to do this in your code:
http://www.c-sharpcorner.com/UploadFile/mem_1910/1st08162006033511AM/1st.aspx