| python-gcm Python-client voor Google Cloud Messaging voor Android (GCM) |
Download nu |
python-gcm Rangschikking & Samenvatting
- Vergunning:
- MIT/X Consortium Lic...
- Naam uitgever:
- Minh Nam Ngo
- Uitgever website:
- http://blog.namis.me/
python-gcm Tags
python-gcm Beschrijving
Python-GCM is een Python-client voor Google Cloud Messaging voor Android (GCM) .USAGERTFM HIER GCM = GCM (API_KEY) Data = {'Param1': 'Value1', 'Param2': 'Value2'} # Plaintext aanvraag Reg_id = ' 12345 'Res = GCM.PLAINTEXT_REQUEST (REGIPERATIE_ID = REG_ID, Data = Gegevens) # JSON VERZOEK REG_IDS = Res = GCM.json_Request (Registration_IDS = REG_IDS, Data = Data) # Extra Argumenten Res = GCM.json_Request (Registration_ids = Reg_ids, Data = Gegevens, Collapse_Key = 'Uptoyou', Delay_While_idle = True, Time_To_Live = 3600) # Handvat Reacties. Dit roept uitzonderingen op wanneer GCM-servers fouten retourneren in GCM.Handle_Response (Res) uitzonderingenLees meer op reagerende fouten hier. * GCMMALFORMEDJSONEXCeption * GCMMCONNECTIONEXPCECTIE * GCMAUTHENTICATIEEXPCECTIE * GCMTOOMANYREGIDSEXPLAATS * GCMMISSINGREGISTRATIONEXPAPCECTIE * GCMNOTREGISTEREDEXCEPTY * GCMMessagetoobIGExceptionProduct's Homepage
python-gcm Gerelateerde software