The creator of Whamageddon, a game where players try to avoid hearing Wham!'s "Last Christmas" for as long as possible during the holiday season, has developed a script that uses APIs to play the song on unsuspecting friends' phones. The script, called pvpwham.py, uses the Nexmo Voice API to make outbound calls and play the song, while the Spotify API is used to provide a short sample of the song. To use the script, users need to have Python 3.6 or later, as well as a Vonage API account and a Spotify application with client ID and secret credentials stored in an environment variable file (.env). The script has several dependencies, including pipenv for dependency management, and ngrok is used to expose the script to the public internet. Once installed, users can run the script by typing `python pvpwham.py NUMBER`, where NUMBER is the phone number of the friend they want to target. The script also includes a few extra options, such as specifying a different song or enabling text-to-speech for the warning message.