Regions

The Regions API returns the geographic definition and property mappings of regions matching the specified parameters. The response is a paginated list of regions, and you can use the SDK to fetch additional pages of results. For more information on this service please see here.

Paginator<List<Region>> paginator = client.getRegionsPaginator(List.of("details"), "LANGUAGE");
List<List<Region>> pages = new ArrayList<>();
while (paginator.hasNext()) {
    List<Region> page = paginator.next();
    pages.add(page);
}
Did you find this page helpful?
How can we improve this content?
Thank you for helping us improve Developer Hub!