Skip to content

wb.py needs a rewrite #120

Closed
Closed
@femtotrader

Description

@femtotrader

Hello,

I think that all DataReaders are now objects except wb.py maybe this file need a rewrite.

see also #117

It should help to have cache support for World Bank #48

One possible API usage could be

import requests_cache
import datetime
session = requests_cache.CachedSession(cache_name='cache', backend='sqlite', expire_after=datetime.timedelta(days=60))
DataReaderObject("wb", session=session).search(string='gdp.*capi', field='name', case=False)
DataReaderObject("wb", session=session).get_indicators()

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions