Giter Club home page Giter Club logo

geocoder-extra's Introduction

Geocoder Extra

Build Status Latest Stable Version

This repository hosts Geocoder extra features that do not belong to the core but can be nonetheless interesting to share with other developers. It mostly contains providers.

Installation

The recommended way to install this package is through Composer:

{
    "require": {
        "geocoder-php/geocoder-extra": "@stable"
    }
}

Protip: you should browse the geocoder-php/geocoder-extra page to choose a stable version to use, avoid the @stable meta constraint.

Usage

Please, read the Geocoder's documentation.

Providers

Provider Address? IPv4? IPv6? Reverse? SSL Support? Coverage Terms
OGD Vienna yes no no no no Vienna / Austria
Naver yes no no no no South Korea
Geocodio yes no no yes no USA
IpInfo no yes yes no no
Here yes no no yes no
IpGeoBase no yes no yes no Russia
Telize no yes yes no no
Baidu yes no no yes no China API key required
DataScienceToolkit yes yes no no no USA, Canada
GeoCoder.ca yes no no yes yes USA, Canada Optional API key can be provided. $1 CAD for 400 lookups
GeoCoder.us yes no no no no USA Free throttled service. $50 USD for 20000 requests for paid service
OIORest yes no no yes  no Denmark
IGN OpenLS yes no no no no France API key required

Contributing

See Geocoder's CONTRIBUTING file.

Unit Tests

To run unit tests, you'll need cURL and a set of dependencies you can install using Composer:

composer install --dev

Once installed, run the following command:

phpunit

You'll obtain some skipped unit tests due to the need of API keys.

Rename the phpunit.xml.dist file to phpunit.xml, then uncomment the following lines and add your own API keys:

<php>
    <!-- <server name="BAIDU_API_KEY" value="YOUR_API_KEY" /> -->
    <!-- <server name="IGN_WEB_API_KEY" value="YOUR_API_KEY" /> -->
</php>

You're done!

Contributor Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

License

geocoder-extra is released under the MIT License. See the bundled LICENSE file for details.

geocoder-extra's People

Contributors

joshmoody avatar pyrech avatar tmatei avatar toin0u avatar willdurand avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.