반응형 네이버커머스1 [파이썬]네이버 커머스 API 인증 토근 발급 받기 OAuth 2.0 인증 인증 토큰을 발급후 api 요청시 헤더에 토큰을 추가하여 인증을 받고 통신하는 형태로 진행된다. Authorization: Bearer {인증 토큰} Security Scheme Type: OAuth2 Flow type: clientCredentials Token URL: https://api.commerce.naver.com/external/v1/oauth2/token 전자서명 생성 방법 import bcrypt import pybase64 clientId = "발급받은ID" clientSecret = "발급받은 시크릿코드" timestamp = 1643961623299 # 밑줄로 연결하여 password 생성 password = clientId + "_" + str(timest.. 2023. 2. 2. 이전 1 다음 반응형