시작하기
Google API는 Google Cloud 프로젝트에서 사용됩니다. 이 가이드에서는
이러한 환경에서 OR API를 활성화하여 Google Cloud 프로젝트를
API 엔드포인트를 호출하기 위해 API 키를 가져오는 방법,
Google Cloud 프로젝트 만들기
Google 호스팅 계정을 사용하여
만들기
Google Cloud 콘솔에서 프로젝트를
생성할 수 있습니다 사용하려는 솔버가
신뢰할 수 있는 테스터 프로그램에 따라
가이드를 먼저 읽어보세요.
API 사용 설정
API 키 가져오기
다음으로 이동합니다.
사용자 인증 정보
선택합니다.
'+ 사용자 인증 정보 만들기'를 클릭합니다.
API 키 선택
API 키를 다음 본문과 함께 credentials.json
파일에 저장합니다.
{
"key": "your_api_key"
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-29(UTC)
[null,null,["최종 업데이트: 2024-08-29(UTC)"],[[["Google Cloud projects are necessary to utilize Google APIs, and this guide outlines the setup process for accessing the Optimization Routing API (OR API)."],["The process involves three main steps: creating a Google Cloud project, enabling the OR API within the project, and generating an API key for authentication."],["Before proceeding, ensure you have a Google account, and if utilizing a solver under a trusted tester program, refer to the provided guide for specific instructions."],["Once enabled, you'll need to obtain an API key through the Google Cloud console and securely store it in a 'credentials.json' file for API access."]]],[]]