WhatsApp Analytics: Spatial Mapping of Users of WhatsApp Groups
A WhatsApp group analysis project is presented, which involves generating and plotting analytics based on the participants of a WhatsApp Group. The project utilizes Python with Selenium, Plotly, Vonage Number Insight API, Google Maps API, and Mapbox API. To complete this tutorial, you need to have Python 3.6 or newer, basic knowledge of automation with Selenium, set up Google Maps API, and sign up for vonage account and plotly charts studio accounts. The project consists of five main classes: automate.py, analytics.py, geocoding.py, plotting.py, and main.py. The automate.py class automates the WhatsApp group using Selenium to extract contacts, while the analytics.py class uses the Vonage Number Insights API to generate insights from the saved CSV file. The geocoding.py class uses the Google Maps API to geocode the countries associated with the phone numbers. The plotting.py class maps the geospatial data created (latitude and longitude pairs) using Plotly library and Mapbox maps. The main.py class is the point of execution of the program, where all the script classes are imported and executed.
Company
Vonage
Date published
March 29, 2021
Author(s)
Aboze Brain John
Word count
1900
Language
English
Hacker News points
None found.