项目作者: larrydanny

项目描述 :
Fetch city and state name by country code and zip code using GeoName API, cURL and PHP
高级语言: PHP
项目地址: git://github.com/larrydanny/curlPhpGeonamesApi.git
创建时间: 2018-03-20T06:08:04Z
项目社区:https://github.com/larrydanny/curlPhpGeonamesApi

开源协议:MIT License

下载


Fetch city and state name by country code and zip code using GeoName API, cURL and PHP

How to use?

In js/ folder there have one file named custom.js. there line 22 need to change the username.

var username = ‘your username’; // please change the username with your username

For demo click here

How to get GeoNames API username?

  1. need to create an account if not any. please click here for new account.
  2. need to confirm email address.
  3. username is important here. username needs to passed as parameter.
  4. for using free webservices your username must have to enable.
  5. for login click here. To enable click here and see in bottom you will see a text “Click here to enable.”. Just click the link and your username ready to use.