2017 © Pedro PelĂĄez
 

library geoapifr

Small PHP client library for geo api fr

image

ayctor/geoapifr

Small PHP client library for geo api fr

  • Monday, April 24, 2017
  • by erwanguillon
  • Repository
  • 2 Watchers
  • 0 Stars
  • 594 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 40 % Grown

The README.md

GeoApiFr

It is a small php client library to use the GéoAPI., (*1)

See official documentation for availables methods., (*2)

Instalation

composer require ayctor/geoapifr

Usage

use GeoApiFr\GeoApiFr;

// Create instance

$instance = new GeoApiFr;

$regions = $instance->get('regions');

// OR

$versailles = GeoApiFr::getInstance()->get('communes', ['nom' => 'versailles']);

Errors

It will return an empty array if the request came up empty., (*3)

Return GuzzleHttp\Exception\RequestException object if error 400., (*4)

The Versions

24/04 2017

dev-master

9999999-dev https://github.com/Ayctor/GeoApiFr

Small PHP client library for geo api fr

  Sources   Download

MIT

The Requires

 

The Development Requires

by Damien Couteillou

api geo france ayctor regions departements communes

24/04 2017

0.0.1

0.0.1.0 https://github.com/Ayctor/GeoApiFr

Small PHP client library for geo api fr

  Sources   Download

MIT

The Requires

 

The Development Requires

by Damien Couteillou

api geo france regions departements communes