my fork of Wrapper of huawei cloud messaging (Push Kit) for sending push notification using python.
https://pypi.org/project/pyhcm/ — original project
pip install git+https://github.com/omelched/python-huawei-cloud-messaging
CLIENT_ID = "00000000"
CLIENT_SECRET = "0000000000000000000000000000000000000000000000000000000000000000"
PROJECT_ID = "000000000000000000"
HCMNotification(CLIENT_ID, CLIENT_SECRET, PROJECT_ID).notify_single_device('token_xyz', 'test title', 'test body')
CLIENT_ID = "00000000"
CLIENT_SECRET = "0000000000000000000000000000000000000000000000000000000000000000"
PROJECT_ID = "000000000000000000"
HCMNotification(CLIENT_ID, CLIENT_SECRET, PROJECT_ID).notify_multiple_devices(['token_1', 'token_2'], 'test title', 'test body')