pypush-plus-plus/newdemo.py
2023-05-09 15:36:33 -04:00

13 lines
No EOL
227 B
Python

import ids
import apns
from getpass import getpass
conn = apns.APNSConnection()
conn.connect()
username = input("Username: ")
password = getpass("Password: ")
user = ids.IDSUser(conn, username, password)
print(user.handles)