Python Xplora® Api
Project description
pyxlpora_api
Unofficial python library for the Xplora® API
Diese Projekt ist eine Übersetzung von TypeScript zu Python, mit Erweiterungen. Ein dank geht an @MiGoller mit seinem Projekt xplora-api.js
Sample for beginning
Usage
from pyxplora_api import pyxplora_api as PXA
xplora = PXA.PyXploraApi(countryCode, phoneNummer, password, local, timeZone)
Feature
# Watch Info
getUserID()
getUserName()
getUserIcon()
getUserXcoin()
getUserCurrentStep()
getUserTotalStep()
getUserCreate()
getUserUpdate()
# Watch Info
id:list = getWatchUserID()
getContacts(watchID=id)
getWatchUserName(watchID=id)
getWatchXcoin(watchID=id)
getWatchCurrentStep(watchID=id)
getWatchTotalStep(watchID=id)
getWatchAlarm(watchID=id)
getWatchBattery(watchID=id)
getWatchIsCharging(watchID=id)
getWatchOnlineStatus(watchID=id)
getWatchUnReadChatMsgCount(watchID=id)
getWatchChats(watchID=id)
# Watch Location Info
getWatchLastLocation(watchID=id)
getWatchLocateType(watchID=id)
getWatchLocate(watchID=id)
getWatchIsInSafeZone(watchID=id)
getWatchSafeZoneLabel(watchID=id)
getSafeZones(watchID=id)
trackWatchInterval(watchID=id)
askWatchLocate(watchID=id)
# Feature
schoolSilentMode(watchID=id)
setEnableSilentTime(silentId='', watchID=id)
setDisableSilentTime(silentId='', watchID=id)
setAllEnableSilentTime(watchID=id)
setAllDisableSilentTime(watchID=id)
sentText(text='', watchID=id)
shutdown(watchID=id)
reboot(watchID=id)
Country Support
Country Code | Country |
---|---|
45 | Denmark |
44 | United Kingdom |
34 | Spain |
49 | Germany |
47 | Norway |
46 | Sweden |
358 | Finland |
33 | France |
39 | Italy |
41 | Switzerland |
43 | Austria |
Functions
Contacts
sections | mode | type |
---|---|---|
Contacts | read | list |
Login Account
sections | mode | type |
---|---|---|
UID | read | str |
Username | read | str |
Icon | read | str |
Xcoin | read | int |
current Step | read | int |
total Step | read/write | int |
time of create | read | str |
time of update | read | str |
Watch
sections | mode | type | comment |
---|---|---|---|
UID | read | str | |
Name | read | str | |
Xcoin | read | int | |
current Step | read | int | |
total Step | read | int | |
Alarms | read | list | |
Battery | read | int | |
Charging | read | bool | |
Online Status | read | str | |
Unread Msg Count | read | int | ?BUG? |
Chats | read | list | Don't all chats - confused |
last locate | read | dict | |
locate Type | read | str | GPS/WiFi |
locate now | read | dict | |
is in Safezone | read | bool | |
Safezone Lable | read | str | |
Safezone | read/write | list | |
track Interval | read | int | |
ask Watch Locate | read | bool | |
silents | read | list | get all/enable/disable - enable all/disable all |
sendText | read | bool | sender: logged User |
shutdown | read | bool | only admins |
reboot | read | bool | only admins |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyxplora_api-1.0.80.tar.gz
(20.4 kB
view hashes)
Built Distribution
Close
Hashes for pyxplora_api-1.0.80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96557b59e9d29d299a5e22b3042e7fb6666818c8a18846521d1b74a4d8516dcc |
|
MD5 | 2710591aeb91ef778ffc249e3586c148 |
|
BLAKE2b-256 | 2a602285bc50152c54150876bfd40e8bb80927d8f4be2df2e289c0ed80954116 |