Skip to content

Separatation of ip-lookup and ipstack-client #3

@christoph-kluge

Description

@christoph-kluge

First of all, thanks for creating this little nice package. Currently there is a hard dependency between the ipstack client and the ip lookup call itself.

I would suggest and would love to see this seperated so you could auto-resolve the client with the api key w/o calling the configuration repository all the time. Here is a possible example:

$client = new IpStackClient($apiKey);
$ipstack = $client->lookup($ip); // will return the IpStack object which holds all relevant information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions