maxmind / GeoIP2-php

PHP API for GeoIP2 webservice client and database reader
https://maxmind.github.io/GeoIP2-php/
Apache License 2.0
2.33k stars 276 forks source link

No docs for available object in database! #91

Closed Anan5a closed 7 years ago

Anan5a commented 7 years ago

I've downloaded the country database but didn't found anything which will guide me about the data structure in database :( I tried ```php ... $record=$reader->country("118.90.116.80"); echo $record->isoCode;


and it thrown error!
Please help
oschwald commented 7 years ago

There are API docs available at http://maxmind.github.io/GeoIP2-php/doc/v2.4.5/class-GeoIp2.Database.Reader.html