2019/11/221 Google API로 GDrive랑 Gspread 사용하기 구글 계정 접속 권한 얻기 먼저 구글 계정의 접속 권한을 얻기 위한 credential생성이 필요하다. * 원칙적으로 oauth2client는 deprecated되고, 이제 google_auth_oauthlib을 사용해야한다. https://google-auth.readthedocs.io/en/latest/oauth2client-deprecation.html#replacement 1. 구글 계정 생성 2. https://console.developers.google.com/apis/library? 에서 원하는 API선택 3. 사용자 인증 정보 생성 4. OAuth 동의에서 scope설정 5. json credential 다운로드 6. Flow를 이용해서 authorization_url얻기 7. autho.. 2019. 11. 22. 이전 1 다음