Skip to content

Navigation Menu

Sign in
Sign up

Allow only data to be returned #9

Open

Description

Is it worth allowing just data to be returned? Something like this;

>>> from eiapy import Series
>>> cal_to_mex = Series('EBA.CISO-CFE.ID.H')
>>> cal_to_mex.last(5, data_only=True)
[['20180401T07Z', -11],
['20180401T06Z', -16],
['20180401T05Z', -11],
['20180401T04Z', -7],
['20180401T03Z', -5]]

This saves the user having to inspect the response and add something like ['series'][0]['data'] to get pure data. However this is quite a bit of work to implement, does it provide much value?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /