בקשות ל-Directions API יוצרות קריאות לאחד משני המק"טים, בהתאם לסוג הבקשה: Essentials או Pro.
לוחצים על הסמל infoinfo
כדי להציג את תוכן העניינים של הדף הזה.
מידע על מצב התנועה: כשמשתמשים בכל אפשרויות הבקשה הבאות כדי שהתגובה תחזיר את השדה duration_in_traffic:
מצב הנסיעה הוא 'נהיגה': מגדירים את הערך של mode ל-driving. Driving הוא אמצעי התחבורה שמוגדר כברירת מחדל.
Departure time is set: מציינים ערך חוקי בשדה departure_time. אפשר להגדיר את departure_time לשעה הנוכחית או למועד כלשהו בעתיד. הוא לא יכול להיות בעבר.
ללא נקודות עצירה: לא כוללים נקודות עצירה. אם הבקשה כוללת נקודות ציון, צריך להוסיף את התחילית via: לכל נקודת ציון כדי להשפיע על המסלול, אבל להימנע מעצירות ביניים. לדוגמה,
[null,null,["עדכון אחרון: 2025-03-12 (שעון UTC)."],[[["The Directions API uses a pay-as-you-go pricing model with separate billing SKUs for basic and advanced requests."],["Requests are billed based on query volume, with higher volumes receiving discounted pricing."],["The Directions Advanced SKU applies to requests using traffic information, more than 10 waypoints, waypoint optimization, or location modifiers."],["Usage is subject to limits, including a maximum of 25 waypoints per request and 3,000 requests per minute."],["Manage costs by setting daily quota limits in the Google Cloud Console to avoid exceeding your budget."]]],[]]