Coder Social home page Coder Social logo

pinkumohikan / google-oauth2-token-kurekure Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

Google APIを叩くためのOAuth2 トークンをスポットで取得するためのツール

License: MIT License

Makefile 21.91% PHP 78.09%
google google-oauth google-api php

google-oauth2-token-kurekure's Introduction

Google OAuth2 Token Kure-kure

Google APIを叩くためのOAuth2 トークンがどうしても欲しいかたへ

ざっくり使い方

  1. Google API Console で使いたいAPIを有効にする & クライアントIDを発行
  2. このリポジトリをclone
  3. make .env したあと、1で発行したクライアントID + クライアントSecretを .env ファイルに書く
  4. make setup して依存モジュールをインストール
  5. 欲しい権限を bootstrap.php に書く
  6. make server してサーバを起動
  7. http://localhost:8000/ へアクセスして認可手続き
  8. コールバックで帰ってきたらaccess_tokenが表示される

動作環境

  • PHP 5.6以上

ライセンス

MIT

参考になりそうな資料

google-oauth2-token-kurekure's People

Contributors

pinkumohikan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.