New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pyxplora-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyxplora-api

Python Xplora® Api

  • 2.12.9
  • PyPI
  • Socket score

Maintainers
1

pyxlpora_api

PyPI version Downloads Downloads Downloads

GitHub issues GitHub forks GitHub stars GitHub license Code style: black

"Buy Me A Coffee"

✨ Wishlist from Amazon ✨


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

Sample for scanner (Phonenumber and Email)

Usage

sync

from pyxplora_api.pyxplora_api import PyXploraApi

xplora = PyXploraApi(countryCode, phoneNummer, password, local, timeZone[, childPhoneNumber, wuid, email])
xplora.init(forceLogin=False, signup=True)

async

from pyxplora_api.pyxplora_api_async import PyXploraApi

xplora = PyXploraApi(countryCode, phoneNummer, password, local, timeZone[, childPhoneNumber, wuid, email])
await xplora.init(forceLogin=False, signup=True)

add in Version 2.2.0

You can Sign In with Phone Number or Email. If you enter your email, the telephone number entered will be ignored.


Sign in User: Infos

FunctionResult TypeReturn
getUserID()str:
getUserName()str:
getUserIcon()str:Url
getUserXcoin()int:
getUserCurrentStep()int:
getUserTotalStep()int:
getUserCreate()str:2021-12-31 23:59:59
getUserUpdate()str:2022-01-01 00:00:01
getWatches(wuid: str)list[dict[str, any]]:

Watch: User Infos

FunctionResult TypeSince Version
getWatchUserIDs(child_no: list[str] = [])list[str]:
getWatchUserPhoneNumbers(wuid: None, ignoreError: bool = False)list[str]:2.1.1
getWatchUserPhoneNumbers(wuid: str, ignoreError: bool = False)str:2.2.1
getWatchUserPhoneNumbers(wuid: list[str], ignoreError: bool = False)list[str]:
getWatchUserNames(None)list[str]:2.1.1
getWatchUserNames(wuid: str)str:2.2.1
getWatchUserNames(wuid: list[str])list[str]:
getWatchUserIcons(None)list[str]:2.1.1
getWatchUserIcons(wuid: str)str:2.2.1
getWatchUserIcons(wuid: list[str])list[str]:
getWatchUserXCoins(None)list[str]:2.1.1
getWatchUserXCoins(wuid: str)str:2.2.1
getWatchUserXCoins(wuid: list[str])list[int]:
getWatchUserCurrentStep(None)list[str]:2.1.1
getWatchUserCurrentStep(wuid: str)str:2.2.1
getWatchUserCurrentStep(wuid: list[str])list[int]:
getWatchUserTotalStep(None)list[str]:2.1.1
getWatchUserTotalStep(wuid: str)str:2.2.1
getWatchUserTotalStep(wuid: list[str])list[int]:
getWatchUserSteps(wuid: str, date: int)dict[str, any]:
getWatchUserContacts(wuid: str)list[dict[str, any]]:

Watch: Infos

FunctionResult TypeResult
getWatchAlarm(wuid: str)list[dict[str, any]]:
getWatchBattery(wuid: str)int:
getWatchIsCharging(wuid: str)bool:
getWatchOnlineStatus(wuid: str)str:
getWatchUnReadChatMsgCount(wuid: str)int:
getWatchChats(wuid: str, offset: int = 0, limit: int = 0, msgId: str = "")list[dict[str, any]]:"msgId", "type", "sender_id", "sender_name", "receiver_id", receiver_name", "data_text", data_sender_name", "create"
getWatchChatsRaw(wuid: str, offset: int = 0, limit: int = 0, msgId: str = "", show_del_msg: bool = True)list[dict[str, any]]:
getSWInfo(wuid: str)dict[str, any]:
getWatchState(wuid: str)dict[str, any]:

Watch: Location Infos

FunctionResult TypeReturn
getWatchLastLocation(wuid: str, withAsk: bool = False)dict[str, any]:
getWatchLocate(wuid: str)dict[str, any]:
getWatchLocateType(wuid: str)str:GPS/WIFI/CELL
getWatchSafeZones(wuid: str)list[dict[str, any]]:
getWatchIsInSafeZone(wuid: str)bool:
getWatchSafeZoneLabel(wuid: str)str:
getWatchLocHistory(wuid: str, date: int, tz: str, limit: int)dict[str, any]:
getTrackWatchInterval(wuid: str)int:60
askWatchLocate(wuid: str)bool:
getStartTrackingWatch(wuid: str)int:1800
getEndTrackingWatch(wuid: str)int:1

Watch: Silent Mode

FunctionResult TypeSince Version
getSilentTime(wuid: str)list[dict[str, any]]:
setEnableSilentTime(silent_id: str)bool:2.1.1
setDisableSilentTime(silent_id: str)bool:2.1.1
setAllEnableSilentTime(wuid: str)list[bool]:
setAllDisableSilentTime(wuid: str)list[bool]:

Watch: Alarm

FunctionResult TypeSince Version
getAlarmTime(wuid: str)dict[str, any]:
setEnableAlarmTime(alarm_id: str)bool:2.1.1
setDisableAlarmTime(alarm_id: str)bool:2.1.1
setAllEnableAlarmTime(wuid: str)list[bool]:
setAllDisableAlarmTime(wuid: str)list[bool]:

Watch: Chat Fetch

FunctionResult Type
chats(wuid: str, offset: int, limit: int, msgId: str)dict[str, any]:
fetchChatImage(wuid: str, msgId: str)dict[str, any]:
fetchChatMp3(wuid: str, msgId: str)dict[str, any]:
fetchChatShortVideo(wuid: str, msgId: str)dict[str, any]:
fetchChatShortVideoCover(wuid: str, msgId: str)dict[str, any]:
fetchChatVoice(wuid: str, msgId: str)dict[str, any]:

Watch: Feature

FunctionResult TypeSince Version
sendText(text: str, wuid: str)bool:
deleteMessageFromApp(wuid: str, msgId: str)bool:2.5.0
isAdmin(wuid: str)bool:
shutdown(wuid: str)bool:
reboot(wuid: str)bool:
addStep(step: int)bool:

other

FunctionResult TypeSince Version
getFollowRequestWatchCount()int:
conv360IDToO2OID(qid: str, deviceId: str)dict[str, any]:
campaigns(id: str, categoryId: str)dict[str, any]:
getCountries()list[dict[str, str]]:
watchesDynamic()dict[str, any]:
watchGroups(id: str)dict[str, any]:
familyInfo(wuid: str, watchId: str, tz: str, date: int)dict[str, any]:
avatars(id: str)dict[str, any]:
submitIncorrectLocationData(wuid: str, lat: str, lng: str, timestamp: str)bool:
getAppVersion()dict[str, any]:
checkEmailOrPhoneExist(type: UserContactType, email: str, countryCode: str, phoneNumber: str)bool:2.2.2
refresh_token(wuid: str, refresh_token: str)str:2.8.0

Country Support

country namecountry code
Afghanistan93
Albania355
Algeria213
AmericanSamoa1 684
Andorra376
Angola244
Anguilla1 264
Antarctica672
Antigua and Barbuda1268
Argentina54
Armenia374
Aruba297
Australia61
Austria43
Azerbaijan994
Bahamas1 242
Bahrain973
Bangladesh880
Barbados1 246
Belarus375
Belgium32
Belize501
Benin229
Bermuda1 441
Bhutan975
Bolivia, Plurinational State of591
Bosnia and Herzegovina387
Botswana267
Brazil55
British Indian Ocean Territory246
Brunei Darussalam673
Bulgaria359
Burkina Faso226
Burundi257
Cambodia855
Cameroon237
Canada1
Cape Verde238
Cayman Islands345
Central African Republic236
Chad235
Chile56
China86
Christmas Island61
Cocos (Keeling) Islands61
Colombia57
Comoros269
Congo242
Congo, The Democratic Republic of the243
Cook Islands682
Costa Rica506
Cote d'Ivoire225
Croatia385
Cuba53
Cyprus357
Czech Republic420
Denmark45
Djibouti253
Dominica1 767
Dominican Republic1 849
Ecuador593
Egypt20
El Salvador503
Equatorial Guinea240
Eritrea291
Estonia372
Ethiopia251
Falkland Islands (Malvinas)500
Faroe Islands298
Fiji679
Finland358
France33
French Guiana594
French Polynesia689
Gabon241
Gambia220
Georgia995
Germany49
Ghana233
Gibraltar350
Greece30
Greenland299
Grenada1 473
Guadeloupe590
Guam1 671
Guatemala502
Guernsey44
Guinea224
Guinea-Bissau245
Guyana595
Haiti509
Holy See (Vatican City State)379
Honduras504
Hong Kong852
Hungary36
Iceland354
India91
Indonesia62
Iran, Islamic Republic of98
Iraq964
Ireland353
Isle of Man44
Israel972
Italy39
Jamaica1 876
Japan81
Jersey44
Jordan962
Kazakhstan7 7
Kenya254
Kiribati686
Korea, Democratic People's Republic of850
Korea, Republic of82
Kuwait965
Kosovo383
Kyrgyzstan996
Lao People's Democratic Republic856
Latvia371
Lebanon961
Lesotho266
Liberia231
Libyan Arab Jamahiriya218
Liechtenstein423
Lithuania370
Luxembourg352
Macao853
Macedonia, The Former Yugoslav Republic of389
Madagascar261
Malawi265
Malaysia60
Maldives960
Mali223
Malta356
Marshall Islands692
Martinique596
Mauritania222
Mauritius230
Mayotte262
Mexico52
Micronesia, Federated States of691
Moldova, Republic of373
Monaco377
Mongolia976
Montenegro382
Montserrat1664
Morocco212
Mozambique258
Myanmar95
Namibia264
Nauru674
Nepal977
Netherlands31
Netherlands Antilles599
New Caledonia687
New Zealand64
Nicaragua505
Niger227
Nigeria234
Niue683
Norfolk Island672
Northern Mariana Islands1 670
Norway47
Oman968
Pakistan92
Palau680
Palestinian Territory, Occupied970
Panama507
Papua New Guinea675
Paraguay595
Peru51
Philippines63
Pitcairn872
Poland48
Portugal351
Puerto Rico1 939
Qatar974
Romania40
Russia7
Rwanda250
Réunion262
Saint Barthélemy590
Saint Helena, Ascension and Tristan Da Cunha290
Saint Kitts and Nevis1 869
Saint Lucia1 758
Saint Martin590
Saint Pierre and Miquelon508
Saint Vincent and the Grenadines1 784
Samoa685
San Marino378
Sao Tome and Principe239
Saudi Arabia966
Senegal221
Serbia381
Seychelles248
Sierra Leone232
Singapore65
Slovakia421
Slovenia386
Solomon Islands677
Somalia252
South Africa27
South Georgia and the South Sandwich Islands500
Spain34
Sri Lanka94
Sudan249
Suriname597
Svalbard and Jan Mayen47
Swaziland268
Sweden46
Switzerland41
Syrian Arab Republic963
Taiwan, Province of China886
Tajikistan992
Tanzania, United Republic of255
Thailand66
Timor-Leste670
Togo228
Tokelau690
Tonga676
Trinidad and Tobago1 868
Tunisia216
Turkey90
Turkmenistan993
Turks and Caicos Islands1 649
Tuvalu688
Uganda256
Ukraine380
United Arab Emirates971
United Kingdom44
United States1
Uruguay598
Uzbekistan998
Vanuatu678
Venezuela, Bolivarian Republic of58
Viet Nam84
Virgin Islands, British1284
Virgin Islands, U.S.1340
Wallis and Futuna681
Yemen967
Zambia260
Zimbabwe263
Åland Islands358

Contacts

sectionsmodetype
Contactsreadlist

Login Account

sectionsmodetype
UIDreadstr
Usernamereadstr
Iconreadstr
Xcoinreadint
current Stepreadint
total Stepread/writeint
time of createreadstr
time of updatereadstr

Watch

sectionsmodetypecomment
UIDreadstr
Namereadstr
Xcoinreadint
current Stepreadint
total Stepreadint
Alarmsreadlistget all/enable/disable - enable all/disable all
Batteryreadint
Chargingreadbool
Online Statusreadstr
Unread Msg Countreadint?BUG? Result is always 0
ChatsreadlistDon't all chats - confused
last locatereaddict
locate TypereadstrGPS/WIFI/CELL
locate nowreaddict
is in Safezonereadbool
Safezone Labelreadstr
Safezoneread/writelist
track Intervalreadint
ask Watch Locatereadbool
silentsreadlistget all/enable/disable - enable all/disable all
sendTextreadboolsender: logged User
shutdownreadboolonly admins
rebootreadboolonly admins
check exist Email or Phonenumberreadboolno login required

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc