giphypop.py
def search(term=None, phrase=None, limit=DEFAULT_SEARCH_LIMIT,
           api_key=GIPHY_PUBLIC_KEY, strict=False, rating=None):
    """
    Shorthand for creating a Giphy api wrapper with the given api key
    and then calling the search method. Note that this will return a generator
    """
    return Giphy(api_key=api_key, strict=strict).search(
        term=term, phrase=phrase, limit=limit, rating=rating)
def search(term=None, phrase=None, limit=DEFAULT_SEARCH_LIMIT,
           api_key=GIPHY_PUBLIC_KEY, strict=False, rating=None):
    """
    Shorthand for creating a Giphy api wrapper with the given api key
    and then calling the search method. Note that this will return a generator
    """
    return Giphy(api_key=api_key, strict=strict).search(
        term=term, phrase=phrase, limit=limit, rating=rating)
Shorthand for creating a Giphy api wrapper with the given api key
    and then calling the search method. Note that this will return a generator