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.
-
In Xero, switch to the "Demo Company".
-
Run the app locally.
$ python app.py
-
In the browser, navigate to
http://localhost:5000/
-
Follow the prompts to allow app to access Xero.
-
Read tenants.
-
Copy the
tenantId
. -
Save the tenant id as an environment variable named
XERO_TENANT_ID
. -
Run the tests.
$ python -m pytest
Usage
TODO
Authors
- Jason Romano - Aracnid
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
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
Built Distribution
File details
Details for the file i_xero2-2.6.0.tar.gz
.
File metadata
- Download URL: i_xero2-2.6.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/6.0.6-76060006-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 995586cac223b199063360f7cd384d288c831c3ed5f7936a14e843ac0b3bf94d |
|
MD5 | 183d90d9bb777a9c3eee93d5fe2b6391 |
|
BLAKE2b-256 | 625d649dbaeb04725ee9b6807b22cd52a5c4e9feb4907975e4cdfaf636f5cbdd |
File details
Details for the file i_xero2-2.6.0-py3-none-any.whl
.
File metadata
- Download URL: i_xero2-2.6.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/6.0.6-76060006-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c629fc6104689b60fe3f152f3e77b26897c8ede34fe41b7e8d49b8df5e3ff90 |
|
MD5 | 05ebb97a16bbc4004354b0eddc770f93 |
|
BLAKE2b-256 | cf58593dd74e654f76265aac2443334abe011528d1801a15d7f50859e36e140b |