RedEagle
RedEagle

Reputation: 2418

How to make import.io retrieve data stored

Everytime I run the API in the android app, it runs the query itself and retrieve data from the website instead of the stored data, how do I make it retrieve the data stored to save running time?

Upvotes: 4

Views: 93

Answers (1)

Alex Bamford
Alex Bamford

Reputation: 215

This isn't something you can do via the UI just yet, but it is coming!

If you have saved the results of your Extractor as a dataset you can do this via API:

To query a dataset, you need to query its "snapshot"...

First use the GetConnector API with the ID of your dataset:

http://api.docs.import.io/#!/Connector_Methods/getConnector

Note the snapshot ID

Use the ID of the dataset and the snapshot ID from the result and enter them here:

http://api.docs.import.io/#!/Connector_Methods/getDataSnapshot

This will return the data stored in your dataset.

Upvotes: 3

Related Questions