ModelSEED Database Iterator REST - ModelSEED/Model-SEED-core GitHub Wiki

ModelSEED::Database::Iterator::REST

REST implementation of Iterator

Description

This follows the same interface as ModelSEED::Database::Iterator.

Initialization

This accepts a reference to a perl structure that is the return value from a collection resource. That return value should look something like this:

{
    limit: 30,
    offset        : 10,
    resultSetSize : 40321,
    results       : [// ... results ...],
    next_url : "http://model-api.theseed.org/biochemistry?limit=30&offset=40",
}

Or simply the starting uri:

{
    reference : "http://model-api.theseed.org/biochemistry"
}
⚠️ **GitHub.com Fallback** ⚠️