giphypop.py
def translate(term=None, phrase=None, 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 translate method.
    """
    return Giphy(api_key=api_key, strict=strict).translate(
        term=term, phrase=phrase, rating=rating)
def translate(term=None, phrase=None, 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 translate method.
    """
    return Giphy(api_key=api_key, strict=strict).translate(
        term=term, phrase=phrase, rating=rating)
Shorthand for creating a Giphy api wrapper with the given api key
    and then calling the translate method.