'Return a dictionary with the country code and name when given an
IP address or a Fully Qualified Domain Name (FQDN). For example, both
\'24.124.1.80\' and \'djangoproject.com\' are valid parameters.'

def country(self, query):

    enc_query = self._check_query(query, city_or_country=True)
    return Country(self._country_or_city(enc_query))
