Skip to main content

Custom connector to Xero

Project description

i-Xero2

This is a standardized and customized connector to Xero.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This package supports the following version of Python. It probably supports older versions, but they have not been tested.

  • Python 3.10 or later

Installing

Install the latest package using pip.

$ pip install i-xero2

End with an example of getting some data out of the system or using it for a little demo

Running the tests

Before running the tests, you need to authorize the app with Xero and save the tenant ID in the environment.

  1. In Xero, switch to the "Demo Company".

  2. Run the app locally.

    $ python app.py
    
  3. In the browser, navigate to http://localhost:5000/

  4. Follow the prompts to allow app to access Xero.

  5. Read tenants.

  6. Copy the tenantId.

  7. Save the tenant id as an environment variable named XERO_TENANT_ID.

  8. Run the tests.

    $ python -m pytest
    

Usage

TODO

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

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

i_xero2-2.7.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

i_xero2-2.7.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file i_xero2-2.7.1.tar.gz.

File metadata

  • Download URL: i_xero2-2.7.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/6.2.6-76060206-generic

File hashes

Hashes for i_xero2-2.7.1.tar.gz
Algorithm Hash digest
SHA256 a2d260da14cc3def555198e1b5badf60b2ce04d87a0cc50c0b42eddebd6b0864
MD5 d6feadb92690860a40e9cf2576f23b85
BLAKE2b-256 96acd6c2b4bb30a030c3d4d1664fcdca563d2dd9d8d73e17c89156dbeebb9902

See more details on using hashes here.

File details

Details for the file i_xero2-2.7.1-py3-none-any.whl.

File metadata

  • Download URL: i_xero2-2.7.1-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/6.2.6-76060206-generic

File hashes

Hashes for i_xero2-2.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff21076173234180813853d9083d12ec886af75ecd9820a9c5c3f1797b23ddf9
MD5 7f90d6b2eecfd2b4abb871b630c9d272
BLAKE2b-256 f9bcbe1664fe722b7a3b15c93ff80e09ca1c1dc87510c820d75e8f2f972933e8

See more details on using hashes here.

Supported by

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