Places API (New)
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্লেস এপিআই ডেভেলপারদের একটি স্থানের জন্য বিভিন্ন অনুসন্ধান এবং পুনরুদ্ধার এন্ডপয়েন্ট অ্যাক্সেস করতে দেয়।
পরিষেবা: places.googleapis.com
এই পরিষেবাটি কল করার জন্য, আমরা সুপারিশ করি যে আপনি Google-প্রদত্ত ক্লায়েন্ট লাইব্রেরিগুলি ব্যবহার করুন৷ যদি আপনার অ্যাপ্লিকেশনটিকে এই পরিষেবাটি কল করার জন্য আপনার নিজস্ব লাইব্রেরি ব্যবহার করতে হয়, আপনি API অনুরোধ করার সময় নিম্নলিখিত তথ্য ব্যবহার করুন৷
আবিষ্কার নথি
একটি ডিসকভারি ডকুমেন্ট হল একটি মেশিন-পাঠযোগ্য স্পেসিফিকেশন যা REST API-এর বর্ণনা এবং ব্যবহার করার জন্য। এটি ক্লায়েন্ট লাইব্রেরি, IDE প্লাগইন এবং অন্যান্য টুল তৈরি করতে ব্যবহৃত হয় যা Google API-এর সাথে ইন্টারঅ্যাক্ট করে। একটি পরিষেবা একাধিক আবিষ্কার নথি প্রদান করতে পারে। এই পরিষেবা নিম্নলিখিত আবিষ্কার নথি প্রদান করে:
পরিষেবা শেষ পয়েন্ট
একটি পরিষেবা শেষ পয়েন্ট হল একটি বেস URL যা একটি API পরিষেবার নেটওয়ার্ক ঠিকানা নির্দিষ্ট করে৷ একটি পরিষেবার একাধিক পরিষেবা শেষ পয়েন্ট থাকতে পারে। এই পরিষেবাটির নিম্নলিখিত পরিষেবা শেষ পয়েন্ট রয়েছে এবং নীচের সমস্ত URIগুলি এই পরিষেবার শেষ পয়েন্টের সাথে সম্পর্কিত:
-
https://places.googleapis.com
পদ্ধতি |
---|
autocomplete | POST /v1/places:autocomplete প্রদত্ত ইনপুটের জন্য পূর্বাভাস প্রদান করে। |
get | GET /v1/{name=places/*} একটি জায়গার রিসোর্সের নামের উপর ভিত্তি করে তার বিবরণ পান, যা places/{place_id} ফর্ম্যাটে একটি স্ট্রিং। |
searchNearby | POST /v1/places:searchNearby অবস্থানের কাছাকাছি স্থান অনুসন্ধান করুন. |
searchText | POST /v1/places:searchText টেক্সট কোয়েরি ভিত্তিক স্থান অনুসন্ধান. |
পদ্ধতি |
---|
getMedia | GET /v1/{name=places/*/photos/*/media} একটি ফটো রেফারেন্স স্ট্রিং সহ একটি ফটো মিডিয়া পান। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Places API gives developers access to search and retrieval endpoints for places data.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers functionalities such as place autocomplete, details retrieval, nearby search, and text-based search.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can retrieve photos associated with places using the \u003ccode\u003eplaces.photos\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThe service endpoint for the Places API is \u003ccode\u003ehttps://places.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eGoogle-provided client libraries are recommended for interacting with the API.\u003c/p\u003e\n"]]],["The Places API offers `v1.places` and `v1.places.photos` resources via the `places.googleapis.com` service. Developers can utilize Google-provided client libraries or their own to make API requests. The `v1.places` resource supports methods for place-related actions such as `autocomplete`, `get` (details), `searchNearby`, and `searchText`. The `v1.places.photos` resource's `getMedia` method retrieves photo media using a photo reference string. The service's base URL is `https://places.googleapis.com`.\n"],null,["# Places API (New)\n\nThe Places API allows developers to access a variety of search and retrieval endpoints for a Place.\n\n- [REST Resource: v1.places](#v1.places)\n- [REST Resource: v1.places.photos](#v1.places.photos)\n\nService: places.googleapis.com\n------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://places.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://places.googleapis.com`\n\nREST Resource: [v1.places](/maps/documentation/places/web-service/reference/rest/v1/places)\n-------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| [autocomplete](/maps/documentation/places/web-service/reference/rest/v1/places/autocomplete) | `POST /v1/places:autocomplete` Returns predictions for the given input. |\n| [get](/maps/documentation/places/web-service/reference/rest/v1/places/get) | `GET /v1/{name=places/*}` Get the details of a place based on its resource name, which is a string in the `places/{place_id}` format. |\n| [searchNearby](/maps/documentation/places/web-service/reference/rest/v1/places/searchNearby) | `POST /v1/places:searchNearby` Search for places near locations. |\n| [searchText](/maps/documentation/places/web-service/reference/rest/v1/places/searchText) | `POST /v1/places:searchText` Text query based place search. |\n\nREST Resource: [v1.places.photos](/maps/documentation/places/web-service/reference/rest/v1/places.photos)\n---------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| [getMedia](/maps/documentation/places/web-service/reference/rest/v1/places.photos/getMedia) | `GET /v1/{name=places/*/photos/*/media}` Get a photo media with a photo reference string. |"]]