question

travisdbrown avatar image
travisdbrown asked Miguel Deactivated edited

How do you get report information using the SDK?

How do you get report information using the SDK? Which object should be used?
Clover Android SDK
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Miguel avatar image
Miguel Deactivated answered Miguel Deactivated edited
If you're interested in getting historical reporting data, you will need to use the Export API if you're gathering data for over 2 months. Otherwise, you can use Android SDK's orderConnector to get order and payment info for recent orders. This API lets you get large amounts of order and payment data to create reports. Note, you'll need to generate API token using the Android SDK to call our REST API.

Here's more info about the Export API: https://github.com/clover/export-api-examples
Here's a code sample of how to generate an API token, which you'll need use the Export API: https://github.com/clover/android-examples/tree/ma..
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community