serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
50 stars 3 forks source link

[New API] Apple Maps Places #1261

Open schaferyan opened 9 months ago

schaferyan commented 9 months ago

A customer requested we scrape Apple Maps. They specifically want the name of the page, phone number, address, and opening hours from Apple Maps Places.

Screenshot 2023-12-04 at 2 47 57 PM

Intercom | Apple Maps

aciddjus commented 9 months ago

Our DuckDuckGo Maps API could be a good alternative. DuckDuckGo uses Apple Maps.

Example:

Search contains all the Apple Maps information the user is interested in.

  "local_results": [
    {
      "title": "Kmart",
      "address": "Fairfield Forum, Cnr Station & Ware Sts, Fairfield NSW 2165, Australia",
      "phone": "+61287072100",
      "hours": "Closed · Opens at 08:00 AM",
      "operating_hours": {
        "monday": "08:00 AM – 10:00 PM",
        "tuesday": "08:00 AM – 10:00 PM",
        "wednesday": "08:00 AM – 10:00 PM",
        "thursday": "08:00 AM – 10:00 PM",
        "friday": "08:00 AM – 10:00 PM",
        "saturday": "08:00 AM – 08:00 PM",
        "sunday": "08:00 AM – 08:00 PM"
      },
      ...
    }
  ]

The downside is that they would not be able to use auid parameter with DuckDuckGo Maps.

aliayar commented 9 months ago

Thank you Milos. I have informed the user.

hilmanski commented 9 months ago

The user reported that DuckDuckGo Maps does not always reflect the information from Apple Maps, so it is still relevant to scrape Apple Maps.