Skip to content

wb.py needs a rewrite #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
femtotrader opened this issue Nov 16, 2015 · 0 comments
Closed

wb.py needs a rewrite #120

femtotrader opened this issue Nov 16, 2015 · 0 comments

Comments

@femtotrader
Copy link
Contributor

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

@femtotrader femtotrader changed the title wb.py need a rewrite wb.py needs a rewrite Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant