Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Reading Fulfil interactive reports from API
from datetime import date
from fulfil_client import Client
fulfil = Client('<subdomain>', '<apikey>')
# Fetch the report instance
# The name can be obtained from the URL
report = fulfil.interactive_report('account.invoice.revenue_by_month.ireport')
# Trigger execution with the fields
report.execute(start_date=date(2018, 1, 1), end_date=date(2018, 12, 31))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.