{"action":"created","comment":{"url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/comments/41922219","id":41922219,"diff_hunk":"@@ -0,0 +1,237 @@\n+note\n+\tdescription: \"[\n+\t\tRepresent google custom search parameters\n+\t\tExample url template\n+\t\t  \"template\": \"https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&cref={cref?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json\"\n+\t]\"\n+\tdate: \"$Date: 2015-10-08 07:51:29 -0300 (ju., 08 oct. 2015) $\"\n+\trevision: \"$Revision: 97966 $\"\n+\tEIS: \"GCSE parameters\", \"src=https://developers.google.com/custom-search/json-api/v1/reference/cse/list\", \"protocol=URI\"\n+\n+class\n+\tGCSE_QUERY_PARAMETERS\n+\n+create\n+\tmake\n+\n+feature {NONE} -- Initialization\n+\n+\tmake (a_secret_key,  a_cx, a_query: READABLE_STRING_8)\n+\t\t\t-- Create an object GCSE_QUERY_PARAMETERS with secret key `a_secret_key' and a custom search engine id `a_cx'.\n+\t\t\t-- and query `a_query'.\n+\t\tdo\n+\t\t\t\t-- TODO\n+\t\t\t\t-- At the moment the API only use cx as Google Custom Search id.\n+\t\t\t\t-- Custom search engine ID - Use either cx or cref to specify the custom search engine you want to use to perform this search\n+\n+\t\t\tsecret := a_secret_key\n+\t\t\tcx := a_cx\n+\t\t\tquery := a_query\n+\t\tensure\n+\t\t\tsecret_set: secret.same_string (a_secret_key)\n+\t\t\tcx_set: cx.same_string (a_cx)\n+\t\t\tquery_set: query.same_string (a_query)\n+\t\tend\n+\n+feature -- Access : Required Parameters\n+\n+\tsecret: READABLE_STRING_8\n+\t\t\t-- Required. The shared key between your site and Google Custom Search Engine.\n+\n+\tcx: READABLE_STRING_8\n+\t\t\t-- Custom search engine id to perform this search.\n+\n+\tquery: READABLE_STRING_8\n+\t\t\t-- Search query, query parameter to specify your search expression.\n+\n+feature -- Optional Parameters\n+\n+--Optional parameters","path":"library/gcse/src/gcse_query_parameters.e","position":49,"original_position":49,"commit_id":"0e63c14613c1b8b02ea74d1468e3999e6d637b23","original_commit_id":"0e63c14613c1b8b02ea74d1468e3999e6d637b23","user":{"login":"jocelyn","id":31598,"avatar_url":"https://avatars.githubusercontent.com/u/31598?v=3","gravatar_id":"","url":"https://api.github.com/users/jocelyn","html_url":"https://github.com/jocelyn","followers_url":"https://api.github.com/users/jocelyn/followers","following_url":"https://api.github.com/users/jocelyn/following{/other_user}","gists_url":"https://api.github.com/users/jocelyn/gists{/gist_id}","starred_url":"https://api.github.com/users/jocelyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jocelyn/subscriptions","organizations_url":"https://api.github.com/users/jocelyn/orgs","repos_url":"https://api.github.com/users/jocelyn/repos","events_url":"https://api.github.com/users/jocelyn/events{/privacy}","received_events_url":"https://api.github.com/users/jocelyn/received_events","type":"User","site_admin":false},"body":"This should be in an indexing note.\r\n\r\n(side note, it may be nice to have indexing note for feature clauses..)","created_at":"2015-10-13T20:44:15Z","updated_at":"2015-10-13T20:44:15Z","html_url":"https://github.com/EiffelWebFramework/ROC/pull/44#discussion_r41922219","pull_request_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/comments/41922219"},"html":{"href":"https://github.com/EiffelWebFramework/ROC/pull/44#discussion_r41922219"},"pull_request":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/44","id":47533442,"html_url":"https://github.com/EiffelWebFramework/ROC/pull/44","diff_url":"https://github.com/EiffelWebFramework/ROC/pull/44.diff","patch_url":"https://github.com/EiffelWebFramework/ROC/pull/44.patch","issue_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/44","number":44,"state":"open","locked":false,"title":"Added Module Custom Search","user":{"login":"jvelilla","id":23418,"avatar_url":"https://avatars.githubusercontent.com/u/23418?v=3","gravatar_id":"","url":"https://api.github.com/users/jvelilla","html_url":"https://github.com/jvelilla","followers_url":"https://api.github.com/users/jvelilla/followers","following_url":"https://api.github.com/users/jvelilla/following{/other_user}","gists_url":"https://api.github.com/users/jvelilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jvelilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvelilla/subscriptions","organizations_url":"https://api.github.com/users/jvelilla/orgs","repos_url":"https://api.github.com/users/jvelilla/repos","events_url":"https://api.github.com/users/jvelilla/events{/privacy}","received_events_url":"https://api.github.com/users/jvelilla/received_events","type":"User","site_admin":false},"body":"Added Google custom search library\r\nAdded HTTP client extension libaray\r\nUpdated demo example to use the Module Custom Search","created_at":"2015-10-13T13:35:46Z","updated_at":"2015-10-13T20:44:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d18fcf6c8edfe4a473c3715839cc6dd38c7f7eba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/44/commits","review_comments_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/44/comments","review_comment_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/44/comments","statuses_url":"https://api.github.com/repos/EiffelWebFramework/ROC/statuses/0e63c14613c1b8b02ea74d1468e3999e6d637b23","head":{"label":"jvelilla:roc_gcse","ref":"roc_gcse","sha":"0e63c14613c1b8b02ea74d1468e3999e6d637b23","user":{"login":"jvelilla","id":23418,"avatar_url":"https://avatars.githubusercontent.com/u/23418?v=3","gravatar_id":"","url":"https://api.github.com/users/jvelilla","html_url":"https://github.com/jvelilla","followers_url":"https://api.github.com/users/jvelilla/followers","following_url":"https://api.github.com/users/jvelilla/following{/other_user}","gists_url":"https://api.github.com/users/jvelilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jvelilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvelilla/subscriptions","organizations_url":"https://api.github.com/users/jvelilla/orgs","repos_url":"https://api.github.com/users/jvelilla/repos","events_url":"https://api.github.com/users/jvelilla/events{/privacy}","received_events_url":"https://api.github.com/users/jvelilla/received_events","type":"User","site_admin":false},"repo":{"id":24698278,"name":"ROC","full_name":"jvelilla/ROC","owner":{"login":"jvelilla","id":23418,"avatar_url":"https://avatars.githubusercontent.com/u/23418?v=3","gravatar_id":"","url":"https://api.github.com/users/jvelilla","html_url":"https://github.com/jvelilla","followers_url":"https://api.github.com/users/jvelilla/followers","following_url":"https://api.github.com/users/jvelilla/following{/other_user}","gists_url":"https://api.github.com/users/jvelilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jvelilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvelilla/subscriptions","organizations_url":"https://api.github.com/users/jvelilla/orgs","repos_url":"https://api.github.com/users/jvelilla/repos","events_url":"https://api.github.com/users/jvelilla/events{/privacy}","received_events_url":"https://api.github.com/users/jvelilla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jvelilla/ROC","description":"Rest on CMS ","fork":true,"url":"https://api.github.com/repos/jvelilla/ROC","forks_url":"https://api.github.com/repos/jvelilla/ROC/forks","keys_url":"https://api.github.com/repos/jvelilla/ROC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jvelilla/ROC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jvelilla/ROC/teams","hooks_url":"https://api.github.com/repos/jvelilla/ROC/hooks","issue_events_url":"https://api.github.com/repos/jvelilla/ROC/issues/events{/number}","events_url":"https://api.github.com/repos/jvelilla/ROC/events","assignees_url":"https://api.github.com/repos/jvelilla/ROC/assignees{/user}","branches_url":"https://api.github.com/repos/jvelilla/ROC/branches{/branch}","tags_url":"https://api.github.com/repos/jvelilla/ROC/tags","blobs_url":"https://api.github.com/repos/jvelilla/ROC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jvelilla/ROC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jvelilla/ROC/git/refs{/sha}","trees_url":"https://api.github.com/repos/jvelilla/ROC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jvelilla/ROC/statuses/{sha}","languages_url":"https://api.github.com/repos/jvelilla/ROC/languages","stargazers_url":"https://api.github.com/repos/jvelilla/ROC/stargazers","contributors_url":"https://api.github.com/repos/jvelilla/ROC/contributors","subscribers_url":"https://api.github.com/repos/jvelilla/ROC/subscribers","subscription_url":"https://api.github.com/repos/jvelilla/ROC/subscription","commits_url":"https://api.github.com/repos/jvelilla/ROC/commits{/sha}","git_commits_url":"https://api.github.com/repos/jvelilla/ROC/git/commits{/sha}","comments_url":"https://api.github.com/repos/jvelilla/ROC/comments{/number}","issue_comment_url":"https://api.github.com/repos/jvelilla/ROC/issues/comments{/number}","contents_url":"https://api.github.com/repos/jvelilla/ROC/contents/{+path}","compare_url":"https://api.github.com/repos/jvelilla/ROC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jvelilla/ROC/merges","archive_url":"https://api.github.com/repos/jvelilla/ROC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jvelilla/ROC/downloads","issues_url":"https://api.github.com/repos/jvelilla/ROC/issues{/number}","pulls_url":"https://api.github.com/repos/jvelilla/ROC/pulls{/number}","milestones_url":"https://api.github.com/repos/jvelilla/ROC/milestones{/number}","notifications_url":"https://api.github.com/repos/jvelilla/ROC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jvelilla/ROC/labels{/name}","releases_url":"https://api.github.com/repos/jvelilla/ROC/releases{/id}","created_at":"2014-10-01T22:47:50Z","updated_at":"2015-10-12T19:56:16Z","pushed_at":"2015-10-13T13:23:45Z","git_url":"git://github.com/jvelilla/ROC.git","ssh_url":"git@github.com:jvelilla/ROC.git","clone_url":"https://github.com/jvelilla/ROC.git","svn_url":"https://github.com/jvelilla/ROC","homepage":null,"size":4999,"stargazers_count":0,"watchers_count":0,"language":"Eiffel","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EiffelWebFramework:master","ref":"master","sha":"f6185612b2943401869a9dc0beaba0974bbc6116","user":{"login":"EiffelWebFramework","id":1617859,"avatar_url":"https://avatars.githubusercontent.com/u/1617859?v=3","gravatar_id":"","url":"https://api.github.com/users/EiffelWebFramework","html_url":"https://github.com/EiffelWebFramework","followers_url":"https://api.github.com/users/EiffelWebFramework/followers","following_url":"https://api.github.com/users/EiffelWebFramework/following{/other_user}","gists_url":"https://api.github.com/users/EiffelWebFramework/gists{/gist_id}","starred_url":"https://api.github.com/users/EiffelWebFramework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EiffelWebFramework/subscriptions","organizations_url":"https://api.github.com/users/EiffelWebFramework/orgs","repos_url":"https://api.github.com/users/EiffelWebFramework/repos","events_url":"https://api.github.com/users/EiffelWebFramework/events{/privacy}","received_events_url":"https://api.github.com/users/EiffelWebFramework/received_events","type":"Organization","site_admin":false},"repo":{"id":24066295,"name":"ROC","full_name":"EiffelWebFramework/ROC","owner":{"login":"EiffelWebFramework","id":1617859,"avatar_url":"https://avatars.githubusercontent.com/u/1617859?v=3","gravatar_id":"","url":"https://api.github.com/users/EiffelWebFramework","html_url":"https://github.com/EiffelWebFramework","followers_url":"https://api.github.com/users/EiffelWebFramework/followers","following_url":"https://api.github.com/users/EiffelWebFramework/following{/other_user}","gists_url":"https://api.github.com/users/EiffelWebFramework/gists{/gist_id}","starred_url":"https://api.github.com/users/EiffelWebFramework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EiffelWebFramework/subscriptions","organizations_url":"https://api.github.com/users/EiffelWebFramework/orgs","repos_url":"https://api.github.com/users/EiffelWebFramework/repos","events_url":"https://api.github.com/users/EiffelWebFramework/events{/privacy}","received_events_url":"https://api.github.com/users/EiffelWebFramework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EiffelWebFramework/ROC","description":"Rest on CMS ","fork":false,"url":"https://api.github.com/repos/EiffelWebFramework/ROC","forks_url":"https://api.github.com/repos/EiffelWebFramework/ROC/forks","keys_url":"https://api.github.com/repos/EiffelWebFramework/ROC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EiffelWebFramework/ROC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EiffelWebFramework/ROC/teams","hooks_url":"https://api.github.com/repos/EiffelWebFramework/ROC/hooks","issue_events_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/events{/number}","events_url":"https://api.github.com/repos/EiffelWebFramework/ROC/events","assignees_url":"https://api.github.com/repos/EiffelWebFramework/ROC/assignees{/user}","branches_url":"https://api.github.com/repos/EiffelWebFramework/ROC/branches{/branch}","tags_url":"https://api.github.com/repos/EiffelWebFramework/ROC/tags","blobs_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/refs{/sha}","trees_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EiffelWebFramework/ROC/statuses/{sha}","languages_url":"https://api.github.com/repos/EiffelWebFramework/ROC/languages","stargazers_url":"https://api.github.com/repos/EiffelWebFramework/ROC/stargazers","contributors_url":"https://api.github.com/repos/EiffelWebFramework/ROC/contributors","subscribers_url":"https://api.github.com/repos/EiffelWebFramework/ROC/subscribers","subscription_url":"https://api.github.com/repos/EiffelWebFramework/ROC/subscription","commits_url":"https://api.github.com/repos/EiffelWebFramework/ROC/commits{/sha}","git_commits_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/commits{/sha}","comments_url":"https://api.github.com/repos/EiffelWebFramework/ROC/comments{/number}","issue_comment_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/comments{/number}","contents_url":"https://api.github.com/repos/EiffelWebFramework/ROC/contents/{+path}","compare_url":"https://api.github.com/repos/EiffelWebFramework/ROC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EiffelWebFramework/ROC/merges","archive_url":"https://api.github.com/repos/EiffelWebFramework/ROC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EiffelWebFramework/ROC/downloads","issues_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues{/number}","pulls_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls{/number}","milestones_url":"https://api.github.com/repos/EiffelWebFramework/ROC/milestones{/number}","notifications_url":"https://api.github.com/repos/EiffelWebFramework/ROC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EiffelWebFramework/ROC/labels{/name}","releases_url":"https://api.github.com/repos/EiffelWebFramework/ROC/releases{/id}","created_at":"2014-09-15T17:38:02Z","updated_at":"2015-05-04T21:17:20Z","pushed_at":"2015-10-13T13:35:46Z","git_url":"git://github.com/EiffelWebFramework/ROC.git","ssh_url":"git@github.com:EiffelWebFramework/ROC.git","clone_url":"https://github.com/EiffelWebFramework/ROC.git","svn_url":"https://github.com/EiffelWebFramework/ROC","homepage":null,"size":5309,"stargazers_count":0,"watchers_count":0,"language":"Eiffel","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/44"},"html":{"href":"https://github.com/EiffelWebFramework/ROC/pull/44"},"issue":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/44"},"comments":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/statuses/0e63c14613c1b8b02ea74d1468e3999e6d637b23"}}}}