Najczęstsze pytania dotyczące interfejsu Places Aggregate API
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Czy interfejs API ma limit liczby żądań?
W przypadku interfejsu Places Aggregate API domyślny limit to 1200 zapytań na minutę.
Czym różnią się parametry „included_primary_types” i „included_types” w filtrze TypeFilter?
included_primary_types: filtruje miejsca, w których podane typy są główną lub podstawową kategorią. Te miejsca mogą też mieć inne typy dodatkowe.
included_types: filtruje miejsca, które mają określone typy jako dowolną z kategorii, niezależnie od tego, czy jest to typ podstawowy czy dodatkowy.
Na przykład wyszukiwanie z parametrem included_primary_types ustawionym na restaurant zwróci miejsca, których główną funkcją jest serwowanie jedzenia, a parametr included_types ustawiony na restaurant zwróci miejsca, które serwują jedzenie, nawet jeśli mają inną kategorię podstawową, np. museum z cafe.
Więcej informacji znajdziesz w artykule Typy miejsc.
Jak zdefiniować niestandardowy obszar wyszukiwania, który nie jest okręgiem?
Możesz zdefiniować niestandardowy obszar wyszukiwania za pomocą wielokąta. Podaj listę współrzędnych szerokości i długości geograficznej, które definiują wierzchołki pojedynczego wielokąta w kolejności przeciwnej do ruchu wskazówek zegara. Pierwsze i ostatnie współrzędne muszą być takie same, aby zamknąć wielokąt.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-09-04 UTC."],[],[],null,["# Places Aggregate API FAQ\n\nIs there a rate limit on the API?\n---------------------------------\n\nFor Places Aggregate API, there is a default rate limit of\n1,200 queries per minute.\n\nWhat is the difference between 'included_primary_types' and 'included_types' in the TypeFilter?\n-----------------------------------------------------------------------------------------------\n\n- `included_primary_types`: Filters for places where the specified types are their main or primary category. These places might also have other secondary types.\n- `included_types`: Filters for places that have the specified types as any of their categories, regardless of whether it's the primary or secondary type.\n\nFor example, a search using `included_primary_types` set to `restaurant` would\nreturn places whose primary function is to serve food, whereas `included_types`\nset to `restaurant` would return places that serve food even if they have\nanother primary category, such as a `museum` with a `cafe`.\n\nFor further reading, visit [Place Types](/maps/documentation/places/web-service/place-types).\n\nHow do I define a custom search area that isn't a circle?\n---------------------------------------------------------\n\nYou can define a custom search area using a polygon. Provide a list of latitude\nand longitude coordinates that define the vertices of a single polygon in a\ncounter-clockwise order. The first and last coordinates *must* be the same to\nclose the polygon."]]