📁ETC./🪢 API Connection

    [API] 구글캘린더API(2) - 이벤트 추가 (포스트맨 사용)

    [API] 구글캘린더API(2) - 이벤트 추가 (포스트맨 사용)

    구글 OAuth를 사용한다. https://soda-dev.tistory.com/60 [API] 구글 OAuth로 토큰(access token) 발급받기 구글 클라우드 플랫폼을 사용하여 연동한다. OAuth토큰 사용 포스트맨 (Postman) 사용 구글 클라우드 플랫폼 https://console.cloud.google.com/ Google Cloud Platform 하나의 계정으로 모든 Google 서비스를 Go.. soda-dev.tistory.com 포스트맨 @Authorization 헤더에 Barrer Token을 선택하고 access_token 넣기 https://www.googleapis.com/calendar/v3/calendars/{calendar_id}/events {calendar_id..

    [API] 구글캘린더 API (1) - 캘린더 list 호출

    [API] 구글캘린더 API (1) - 캘린더 list 호출

    구글 OAuth를 사용한다. https://soda-dev.tistory.com/60 [API] 구글 OAuth로 토큰(access token) 발급받기 구글 클라우드 플랫폼을 사용하여 연동한다. OAuth토큰 사용 포스트맨 (Postman) 사용 구글 클라우드 플랫폼 https://console.cloud.google.com/ Google Cloud Platform 하나의 계정으로 모든 Google 서비스를 Go.. soda-dev.tistory.com https://console.cloud.google.com/home/ Google Cloud Platform 하나의 계정으로 모든 Google 서비스를 Google Cloud Platform을 사용하려면 로그인하세요. accounts.google.com..

    [API] 구글 엑세스토큰(access token) 재발급 받기

    [API] 구글 엑세스토큰(access token) 재발급 받기

    Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. 요청에 잘못된 인증 자격 증명이 있습니다. OAuth 2 액세스 토큰, 로그인 쿠키 또는 기타 유효한 인증 자격 증명이 필요합니다. https://developers.google.com/identity/sign-in/web/devconsole-project를 참조하세요. 구글 엑세스토큰(access token)은 계속 사용할수 있는 것이..

    [API] 구글 OAuth로 토큰(access token) 발급받기

    [API] 구글 OAuth로 토큰(access token) 발급받기

    구글 클라우드 플랫폼을 사용하여 연동한다. OAuth토큰 사용 포스트맨 (Postman) 사용 구글 클라우드 플랫폼 https://console.cloud.google.com/ Google Cloud Platform 하나의 계정으로 모든 Google 서비스를 Google Cloud Platform을 사용하려면 로그인하세요. accounts.google.com 프로젝트 만들기 -> 프로젝트명을 정하고 생성 OAuth 동의 화면 구성하기 - 여기에 등록하지 않으면 사용 못함 - 등록하지 않고도 사용하기 위해서는 공식배포를 해야함 OAuth 클라이언트 ID 만들기 동의화면을 다 구성하여 생성하였다면 링크 https://accounts.google.com/o/oauth2/v2/auth? scope=https%3..

    [API] Slack 슬랙 API 연동 -OAuth

    [API] Slack 슬랙 API 연동 -OAuth

    https://api.slack.com/ Slack은 미래의 업무가 이루어지는 곳입니다 Slack은 여러분의 팀과 소통할 새로운 방법입니다. 이메일보다 빠르고, 더 조직적이며, 훨씬 안전합니다. slack.com 앱 생성하기 - 워크스페이스를 생성하고 다시 돌아오기 봇 생성하기 - 범위 정하기 : 웹훅링크만 얻을거라면 범위는 incoming-webhook 여기까지 하면 Bot User OAuth Token을 얻을수 있다. OAuth 인증 https://slack.com/oauth?client_id={클라이언트 아이디}&scope=incoming-webhook&tracked=1 클라이언트 아이디 = Basic Information에 있음 위 url로 이동 redirecURL에 적은 곳으로 이동되며 url을..