{"id":17458155,"url":"https://github.com/pocesar/googleapi-kohana","last_synced_at":"2025-03-21T03:33:15.427Z","repository":{"id":138843520,"uuid":"10304406","full_name":"pocesar/googleapi-kohana","owner":"pocesar","description":"Google API client wrapper, focused on the OAuth of Google+ for Kohana 3.3","archived":false,"fork":false,"pushed_at":"2017-09-16T22:03:09.000Z","size":367,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T06:28:43.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pocesar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-05-26T22:24:53.000Z","updated_at":"2017-09-16T22:03:10.000Z","dependencies_parsed_at":"2023-05-19T00:45:51.562Z","dependency_job_id":null,"html_url":"https://github.com/pocesar/googleapi-kohana","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fgoogleapi-kohana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fgoogleapi-kohana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fgoogleapi-kohana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fgoogleapi-kohana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pocesar","download_url":"https://codeload.github.com/pocesar/googleapi-kohana/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221811374,"owners_count":16884305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-18T03:55:36.848Z","updated_at":"2024-10-28T09:16:49.838Z","avatar_url":"https://github.com/pocesar.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Google API for Kohana 3.3\n================\n\nGoogle API client wrapper, focused on the OAuth of Google+ (+ User info) for Kohana 3.3, but works for all the other services Google has to offer\n\n### Usage\n\n1. Create the folder in `APPPATH/cache` the folder `Google_Client` and set it writeable\n2. Copy the file `modules/googleapi/config/googleapi.php` to `APPPATH/config/googleapi.php`, and configure your app ID, secrets, developer key, etc. Don't make modifications inside the file under `modules` folder\n3. Add this module to your bootstrap\n4. On your code, check if your user has already permitted the app, using `GPlus::instance()-\u003egetUser()`.\n5. If not, send the user to `GPlus::instance()-\u003eclient-\u003ecreateAuthUrl()`, preferably in a popup window\n6. The `getUser()` method returns a `Google_Person` class, that has a lot of info about the user, BUT his email. To get his email, you need to use `getUserinfo()-\u003eemail`\n\nMore info about the library and it's capabilities check [Google API PHP Client documentation](https://developers.google.com/api-client-library/php)\n\n### Checkout as well\n\nCheck the other libraries with similar \"sign in with\" for [Facebook](https://github.com/pocesar/facebook-kohana) and [Twitter](https://github.com/pocesar/twitter-kohana)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocesar%2Fgoogleapi-kohana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpocesar%2Fgoogleapi-kohana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocesar%2Fgoogleapi-kohana/lists"}