View a markdown version of this page

Reading from Lemon Squeezy entities - AWS Glue

Reading from Lemon Squeezy entities

Prerequisites

A Lemon Squeezy 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
checkoutsYesYesYesNoNo
customersYesYesYesNoNo
discountsYesYesYesNoNo
filesYesYesYesNoNo
license-keysYesYesYesNoNo
order-itemsYesYesYesNoNo
ordersYesYesYesNoNo
pricesYesYesYesNoNo
productsYesYesYesNoNo
storesNoYesYesNoNo
subscription-invoicesYesYesYesNoNo
subscription-itemsYesYesYesNoNo
subscriptionsYesYesYesNoNo
variantsYesYesYesNoNo
Example – Reading from a Lemon Squeezy entity

The following example reads from the checkouts entity. Replace connectionName with the name of your Lemon Squeezy connection:

read_df = glueContext.create_dynamic_frame.from_options( connection_type="lemon-squeezy", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "checkouts" } )