from __future__ import unicode_literals
from __future__ import absolute_import

from .modules import images
from .modules import currency
from .modules import calculator
from .modules import standard_search
# from modules import shopping_search

__author__ = "Anthony Casagrande <birdapi@gmail.com>, " + \
    "Agustin Benassi <agusbenassi@gmail.com>"
__version__ = "1.1.0"


"""Defines the public inteface of the API."""

search = standard_search.search
searchByPage = standard_search.searchByPage
search_images = images.search
convert_currency = currency.convert
exchange_rate = currency.exchange_rate
calculate = calculator.calculate

# TODO: This method is not working anymore! There is a new GET
# link for this kind of search
# shopping = shopping_search.shopping

if __name__ == "__main__":
    import doctest
    doctest.testmod()
