Skip to content

bluefruit/xero-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a public repository don't put secrets or confidential information in here.

In order to run example.py use poetry run uvicorn xero-api.example:app --reload

Example code

import asyncio

client = XeroClient(ID, SECRET, scopes)
s = asyncio.run(await client.authenticate()) # asyncio.run() only required for the example. If using an async event loop already
e.g fastapi then it's not needed.
accounting_client = AccountingAPI(client)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages