# gapi **Repository Path**: bovi/gapi ## Basic Information - **Project Name**: gapi - **Description**: A simple, unofficial, ruby client API for using Google API. - **Primary Language**: Ruby - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-26 - **Last Updated**: 2022-05-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README == Google API (GAPI) A simple, unofficial, ruby client API for using Google API. == Usage Searching for something in the web: require "gapi" GAPI::Web.s("Paris Hilton")[0]["url"] => "http://en.wikipedia.org/wiki/Paris_Hilton" GAPI::Web.s("Paris Hilton")[0]["content"] => "Paris Whitney Hilton (born February 17, 1981) is an American socialite, model, media personality, singer and occasional actress. ..." Translation of an english text to simplified chinese: require "gapi" GAPI::Language.t("Good Morning", "English", "CHINESE_SIMPLIFIED") # => "早上好" Detect language of a text: require "gapi" GAPI::Language.d("おはようございます") # => {:language=>"ja", :is_reliable=>true, :confidence=>0.15255931} Check test for more examples == COPYRIGHT Copyright (c) 2009 Daniel Bovensiepen Copyright (c) 2007 Dingding Ye Distributed under MIT License