• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Emergency service pharmacies in Germany

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 352 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    KristjanESPERANTO Module Developer
    last edited by Mar 23, 2024, 2:47 AM

    I would like to have a module that shows the current emergency pharmacies nearby. For Germany, there is for example this page for this. However, I cannot find an API or similar.

    I have already experimented a bit with parsing the website, that would be a possible way to do it. But I don’t think it’s a clean solution and I’m not sure if it would be legally okay.

    What would your approach be to implement this?

    I found notdienst_api, but it only works in bavaria. If there is no better approach, I would possibly try to extend that package.

    M 2 Replies Last reply Mar 23, 2024, 5:21 PM Reply Quote 0
    • M Offline
      mumblebaj Module Developer @KristjanESPERANTO
      last edited by Mar 23, 2024, 5:21 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • M Offline
        mumblebaj Module Developer @KristjanESPERANTO
        last edited by mumblebaj Mar 23, 2024, 7:24 PM Mar 23, 2024, 5:56 PM

        @KristjanESPERANTO I think if they didn’t want you to get “inside” they would build it better. I.e. if they didn’t want you to scrape the data they would preserve it better.

        The way i see it, you can use one of 2 URL’s to get the data and then scrape it. You require the area / postal code as input though and you can make the radius to search an option as well.

        Pharmacy for postal/area code 80331 within 20km
        https://www.aponet.de/apotheke/apothekensuche/80331/ /20

        Emergency Service 25km radius from postal code 65760
        https://www.aponet.de/apotheke/notdienstsuche/65760/ /5

        Should be easy enough to scrape the data.

        Anyway, they do provide widgets and the code for people to access the data.

        See below link:
        https://apotheken-notdienstdaten.de/aponet-download-service/

        K 1 Reply Last reply Mar 24, 2024, 12:46 AM Reply Quote 0
        • K Offline
          KristjanESPERANTO Module Developer @mumblebaj
          last edited by Mar 24, 2024, 12:46 AM

          @mumblebaj Many thanks for the tips! :smiley:

          I have meanwhile written to the operators of the website to see if they can offer an API. If not, I will probably follow your suggested approach.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          1 / 1
          • First post
            3/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy