-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoogle.py
More file actions
28 lines (21 loc) · 752 Bytes
/
google.py
File metadata and controls
28 lines (21 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from __future__ import unicode_literals
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
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()