Note that there are some explanatory texts on larger screens.

plurals
  1. POQuestions regarding Google site search in combination with Google API
    primarykey
    data
    text
    <p>I am trying to incorporate Google site search into my .NET MVC project and I am very confused about the documentation.</p> <p>The <a href="https://developers.google.com/custom-search/docs/xml_results" rel="nofollow noreferrer">google XML API</a> reference makes absolutely no reference to any code or classes that can be used for the search. As a result I am retreiving the XML and parsing it manually.</p> <p>However, I have also come across the <a href="https://stackoverflow.com/questions/8040824/how-can-i-do-a-search-with-google-custom-search-api-for-net">Google API</a> as well and I am not sure whether these are connected or two different things and also confused why developers.google.com makes no reference to the existence of code.google.com</p> <p>So my questions are here in order to put an end to the confusion.</p> <p>a) Google site search (paid service) is possible to be used with the Google API despite there being no information about that on the developer section of the XML API? Mind you, you don't need an API key for the use of Google site search.</p> <p>b) Is API an entirely separate entity that requires an API key and therefore not recommended for commercial use alongside Google site search because of API restrictions that otherwise don't exist with the plain paid service?</p> <p>c) What is best practice when implementing Google site search (which I understand is the paid version of Google custom search) inside a .NET MVC 4 application? To fetch the XML and parse it manually or to consume the request into de serialized objects using the API?</p> <p>Currently I am doing the former but I keep wondering if I can produce better, more testable code by combining my solution with the API.</p> <p>I keep finding mixed resources regarding that on the web and I am not sure which way to go.</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload