MyChat Scripts Engine: functions to work with GeoIP
List of functions to work with user geographical location by his IP address.
You should download GeoIP database (~130 Mb) from MyChat developer website. Extract ZIP file to the "C:\ProgramData\MyChat Server\integrations\geoip\" folder and then restart MyChat Server.
get full information as a JSON object by user IP address; |
|
get brief information (country/city) by user IP address. |