View a markdown version of this page

Reading from Xero entities - AWS Glue

Reading from Xero entities

Prerequisites

A Xero object you want to read from. For the available entities, see the following supported entities table.

Supported entities for source

EntityCan be filteredSupports limitSupports select *Supports order bySupports partitioning
accountsYesYesYesNoNo
branding-themesNoYesYesNoNo
currenciesYesYesYesNoNo
itemsYesYesYesNoNo
organisationsNoYesYesNoNo
tax-ratesYesYesYesNoNo
tracking-categoriesYesYesYesNoNo
usersYesYesYesNoNo
Example – Reading from a Xero entity

The following example reads from the accounts entity. Replace connectionName with the name of your Xero connection:

read_df = glueContext.create_dynamic_frame.from_options( connection_type="xero", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "accounts" } )