Create wmapi.py