시작하기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
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)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-08-29(UTC)"],[],["The process involves three core steps: creating a Google Cloud project, enabling the OR API within that project, and obtaining an API key. First, create a project via the Google Cloud console. Second, enable the OR API by navigating to the APIs library and clicking \"Enable.\" Finally, generate an API key through the credentials menu, saving it to a `credentials.json` file with the specified format. This API key is needed to call the API endpoints.\n"]]