C# 클래스 Rest4Net.GoogleCustomSearch.GoogleCustomSearchProvider

상속: RestApiProvider
파일 보기 프로젝트 열기: acropolium/Rest4Net

공개 메소드들

메소드 설명
GoogleCustomSearchProvider ( string key, string cxCustomSearchId, bool keyIsAccessToken = false ) : System.Collections.Generic
Search ( string dataToSearch, SearchParameters parameters = null ) : SearchResult

Makes a search with google API https://developers.google.com/custom-search/v1/using_rest

비공개 메소드들

메소드 설명
CheckForError ( JToken arg ) : JToken
HasError ( IEnumerable properties ) : bool
Run ( ) : Command

메소드 상세

GoogleCustomSearchProvider() 공개 메소드

public GoogleCustomSearchProvider ( string key, string cxCustomSearchId, bool keyIsAccessToken = false ) : System.Collections.Generic
key string
cxCustomSearchId string
keyIsAccessToken bool
리턴 System.Collections.Generic

Search() 공개 메소드

Makes a search with google API https://developers.google.com/custom-search/v1/using_rest
public Search ( string dataToSearch, SearchParameters parameters = null ) : SearchResult
dataToSearch string actually Query String
parameters SearchParameters number of search parameters like described at https://developers.google.com/custom-search/v1/using_rest#query-params
리턴 SearchResult