tgherzog / wbgapi

Python module that makes using the World Bank's API a lot easier and more intuitive.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support API search

tgherzog opened this issue · comments

I'm thinking an interface like this:

def search(phrase, labels=False, fields=False):
  • phrase: search phrase
  • labels: include names of matching results, for ones that map to concepts
  • fields: include metadata fields and their values (in which the matches were found)

Returns: a generator of metadata objects