There is no official WhatsApp API. Here is a simple python class which satisfies the need.
Here you can share your experience with the project you are suggesting or its comparison with Simple-Yet-Hackable-WhatsApp-api. Optional.
A valid email to send you a verification link when necessary or log in.