mirror of
https://github.com/JJTech0130/pypush.git
synced 2025-01-22 19:30:56 +00:00
5 lines
130 B
Python
5 lines
130 B
Python
import apns
|
|
from base64 import b64decode, b64encode
|
|
|
|
c = apns.APNSConnection()
|
|
print(f"Push Token: {b64encode(c.token).decode()}") |