Mulai
Google API digunakan dari project Google Cloud. Panduan ini membahas
proses pembuatan Project Google Cloud, mengaktifkan OR API dalam
project, dan mendapatkan kunci API untuk memanggil endpoint API.
Membuat project Google Cloud
Menggunakan akun yang dihosting Google,
buat
project di Konsol Google Cloud. Jika pemecah masalah yang ingin Anda gunakan adalah
dalam program penguji tepercaya, ikuti petunjuk
guide terlebih dahulu.
Mengaktifkan API
Mendapatkan kunci API
{
"key": "your_api_key"
}
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-29 UTC.
[null,null,["Terakhir diperbarui pada 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."]]],[]]