We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm having trouble debugging what went wrong with this Geonames API query, as I'm getting only an empty response object?
Here's output on psy shell (using Laravel's 'artisan tinker' -tool):
>>> $zip = new PragmaRX\ZipCode\ZipCode; => PragmaRX\ZipCode\ZipCode {#693 +"finder": PragmaRX\ZipCode\Support\Finder {#694 +"timer": PragmaRX\Support\Timer {#696}, +"result": PragmaRX\ZipCode\Support\Result {#697}, }, } >>> $zip->setCountry('FI'); => null >>> $zip->setPreferredWebService('Geonames'); => null >>> $zip->setQueryParameter('geonames_username', 'xxxxxxx'); => null >>> $res = $zip->find('07420'); => PragmaRX\ZipCode\Support\Result {#715} >>> print_r($res->toArray()); Array ( [success] => )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm having trouble debugging what went wrong with this Geonames API query, as I'm getting only an empty response object?
Here's output on psy shell (using Laravel's 'artisan tinker' -tool):
The text was updated successfully, but these errors were encountered: