Google offers many of its services for free up to a certain limit.
For example, it is also possible to access the Google Maps functionality. This is useful, for example, for cases like the one in the article MagicMirror - Show current traffic overview described.
You can display a local traffic overview on your own MagicMirror and thus see how much is happening on which street in the vicinity while brushing your teeth tomorrow.
To access this service you need an API key. How to get it and what you have to do for it is described in the following article.
Loggt Euch nun zunächst auf der Webseite ein. Dazu benötigt Ihr einen Google-Account. Ggf. müsst Ihr diesen Zunächst erstellen. Um zu dem Loginfeld zu gelangen, müsst Ihr oben Rechts auf “Anmelden” klicken.This will redirect you to the login form which you can use to log in.After a successful login you will be redirected back to the previous home page.
This link will take you directly to the Google Maps Platform page where you can register your own API key.Hier findet Ihr allerhand Informationen die Euch über die einzelnen Funktionen und Möglichkeiten der Google-Maps-Aufklären. Wenn Ihr direkt mit dem registrieren des API-Keys beginnen wollt könnt Ihr aber auch einfach runterscrollen, bis Ihr zu dem Abgebildeten “GET STARTED”-Button kommt. Klickt diesen dann an.Auf den nun folgenden Seite könnt Ihr nun näher definieren welche(n) Service(s) Ihr nutzen wollt. Dabei gibt es drei unterschiedliche “Informationsquellen”: Maps, Routes und Places. Wie die Namen schon erahnen lassen könnt Ihr mit “Maps” auf Karteninformationen, mit “Routes” auf Routeninformationen und mit “Places” auf Ortsinformationen zugreifen. Für normale Kartenanwendungen – wie das MagicMirror-Projekt – benötigen wir aber lediglich die “Maps”-Funktion. Also markiert diese und klickt auf “Weiter”.For a better overview, you can now assign the API key created later to a project.To do this, enter a unique name in the text input field. This way you can create a separate API key for each project.Nach einem klick auf “Next” werdet Ihr dann …... redirected to the billing page.
At this point you do not need to get scared. This service is free of charge, as promised. You will not be charged any hidden costs. When entering the payment data, the only thing is to make sure that you are not a robot/bot.
Auf der nächsten Seite könnt Ihr dann auch nochmal “Schwarz auf Weiß” lesen, dass hier keine versteckten Kosten auf Euch warten. Nur wenn Ihr, um zum Beispiel mehr (nicht kostenlose) Funktionen nutzen zu können, einer Abbuchung zustimmt wird auch Wirklich Geld abgebucht.Now go through the individual steps and fill out the form ...... with your payment data ...… aus. Danach klickt Ihr auf den Button “Kostenlose Testversion starten” um die Daten zu bestätigen um den Google-Maps-API-Key zu erhalten.Klickt in dem sich nun öffnendem Fenster auf “Weiter”…... and after a short wait you will ...Your Google Maps API key is displayed. You can now use it to access some Google Maps services for free.
Have fun with the project
I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary. Ideas for new projects are always welcome. 🙂
PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂