Method: inappproducts.batchGet
একাধিক অ্যাপ-মধ্যস্থ পণ্য পড়ে, যা পণ্য বা সদস্যতা পরিচালনা করা যেতে পারে।
সাবস্ক্রিপশন পুনরুদ্ধার করতে এই পদ্ধতি ব্যবহার করা উচিত নয়। আরো তথ্যের জন্য এই নিবন্ধটি দেখুন.
HTTP অনুরোধ
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts:batchGet
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
packageName | string অ্যাপের প্যাকেজের নাম। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
sku[] | string অ্যাপ-মধ্যস্থ পণ্যগুলির জন্য অনন্য শনাক্তকারী। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
subscriptions.batchগেট এন্ডপয়েন্টের জন্য প্রতিক্রিয়া বার্তা।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"inappproduct": [
{
object (InAppProduct )
}
]
} |
ক্ষেত্র |
---|
inappproduct[] | object ( InAppProduct ) অনুরোধের মতো একই ক্রমে অনুরোধ করা অ্যাপ-মধ্যস্থ পণ্যের তালিকা। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/androidpublisher
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-04 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-04 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Reads multiple in-app products, including managed products and subscriptions, but should not be used to retrieve subscriptions."],["Sends an HTTP GET request to the specified endpoint with package name and product identifiers as parameters."],["Requires an empty request body and returns a response containing a list of in-app products."],["The response is structured in JSON format with an array of `inappproduct` objects, each representing an in-app product."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This outlines how to retrieve multiple in-app products (excluding subscriptions) via a `GET` request to the Android Publisher API. The request URL requires the app's package name as a path parameter and a list of unique product identifiers as query parameters (sku[]). The request body must be empty. A successful response returns a JSON object containing a list of in-app products, ordered as requested, with details provided within an InAppProduct object. This process requires specific OAuth authorization scopes to be granted.\n"]]