2023-04-11 11:17:53 -05:00
|
|
|
import apns
|
|
|
|
import ids
|
2023-04-05 20:01:07 -05:00
|
|
|
|
2023-04-05 20:04:41 -05:00
|
|
|
conn1 = apns.APNSConnection()
|
2023-04-06 12:19:13 -05:00
|
|
|
conn1.connect()
|
2023-04-11 11:23:04 -05:00
|
|
|
|
|
|
|
# Uncomment these for greater parity with apsd
|
|
|
|
# conn1.keep_alive()
|
|
|
|
# conn1.set_state(0x01)
|
|
|
|
# conn1.filter([])
|
|
|
|
# conn1.connect(False)
|
|
|
|
|
2023-04-07 21:32:00 -05:00
|
|
|
conn1.filter(["com.apple.madrid"])
|
2023-04-05 20:04:41 -05:00
|
|
|
|
2023-05-02 19:53:18 -05:00
|
|
|
# print(ids.lookup(conn1, ["mailto:jjtech@jjtech.dev"]))
|
2023-04-21 20:47:13 -05:00
|
|
|
|
2023-05-09 14:36:33 -05:00
|
|
|
#print(ids.register(conn1, "user_test2@icloud.com", "wowSecure1"))
|