Skip to main content

Xitroo API

Project description

USAGE

pip install unofficial-xitroo-api

How does that work?

It will get the latest inbox email and returns their body or subject as string to get for example account verification codes

Documentation

Arguments

.get_bodyText()
.get_bodyHtmlStrict()
.get_bodyHtml()
.get_subject()
>>> returns string from last mail

Parameters

You can also pass in an integer how many times it should check the inbox

refresh_counter=int

refresh_wait=int

"refresh_counter" is how many times it should ckeck the inbox (default is 5)

"refresh_wait" is how many seconds it should wait between refreshes (default is 5)

Example:

xitroo("test@xitroo.de", refresh_counter=5, refresh_wait=5)

Examples

from xitroo.api import xitroo

xitroo_email = xitroo("test@xitroo.de")
print(xitroo_email.get_bodyText())
from xitroo.api import xitroo as x

print(x("test@xitroo.de", refresh_counter=5, refresh_wait=5).get_subject())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unofficial_xitroo_api-0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unofficial_xitroo_api-0.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file unofficial_xitroo_api-0.3.tar.gz.

File metadata

  • Download URL: unofficial_xitroo_api-0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for unofficial_xitroo_api-0.3.tar.gz
Algorithm Hash digest
SHA256 cdd3df52e90409cc35c8481cbc8151249734cbc790fcdf737ba355d8697197bd
MD5 a0343d37d8762343024e22fbb14d485f
BLAKE2b-256 f4d82ce0f8ff3e1a3bb569c0228e8b35b7cfa819dcc8b151b19fa9e8cd2407b5

See more details on using hashes here.

File details

Details for the file unofficial_xitroo_api-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for unofficial_xitroo_api-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 30e58c500030b69647e237315542170342bb1992ed73dcca78dd1b35d2b6e474
MD5 80428952a6ab1efe29e5bfb51f1e92cc
BLAKE2b-256 801125aeb29fc74d3edc3a6782dc460f1af34392d91a44b6c78896268ce052f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page