torip/ipapis.py
def api_factory(api_name, **config):
    """
    Factory function which will return a IpLocateApi class. The default is AbstractApi()
    :param api_name:
    :return:
    """
    if api_name == 'ip-api':
        return IpApi(**config)
    else:
        return AbstractApi(**config)

    Factory function which will return a IpLocateApi class. The default is AbstractApi()
    :param api_name:
    :return:
    
Factory function which will return a IpLocateApi class. The default is AbstractApi()
Factory function which will return a IpLocateApi class . The default is AbstractApi ()
def api_factory(api_name, **config):
    if api_name == 'ip-api':
        return IpApi(**config)
    else:
        return AbstractApi(**config)
def api_factory ( api_name , ** config ) : if api_name == 'ip-api' : return IpApi ( ** config ) else : return AbstractApi ( ** config )
Factory function which will return a IpLocateApi class.
Factory function which will return a IpLocateApi class .
"""
    Factory function which will return a IpLocateApi class. The default is AbstractApi()
    :param api_name:
    :return:
    """
None
api_name
None