Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webeweb/gouv-api-library

Integrate API gouv with your projects
https://github.com/webeweb/gouv-api-library

adresse api calendrier geo gouv library php webeweb

Last synced: 6 days ago
JSON representation

Integrate API gouv with your projects

Awesome Lists containing this project

README

        

gouv-api-library
================

[![Github actions workflow status](https://img.shields.io/github/actions/workflow/status/webeweb/gouv-api-library/build.yml?style=for-the-badge&color2088FF&logo=github)](https://github.com/webeweb/gouv-api-library/actions)
[![Coveralls](https://img.shields.io/coveralls/github/webeweb/gouv-api-library/master.svg?style=for-the-badge&color=3F5767&logo=coveralls)](https://coveralls.io/github/webeweb/gouv-api-library?branch=master)
[![Packagist version](https://img.shields.io/packagist/v/webeweb/gouv-api-library.svg?style=for-the-badge&color=F28D1A&logo=packagist)](https://packagist.org/packages/webeweb/gouv-api-library)
[![Packagist license](https://img.shields.io/packagist/l/webeweb/gouv-api-library.svg?style=for-the-badge&colorF28D1A&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGRiIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0ibTMgNiAzIDFtMCAwLTMgOWE1LjAwMiA1LjAwMiAwIDAgMCA2LjAwMSAwTTYgN2wzIDlNNiA3bDYtMm02IDIgMy0xbS0zIDEtMyA5YTUuMDAyIDUuMDAyIDAgMCAwIDYuMDAxIDBNMTggN2wzIDltLTMtOS02LTJtMC0ydjJtMCAxNlY1bTAgMTZIOW0zIDBoMyIvPjwvc3ZnPg==)](./LICENSE)

Integrate Gouv API with your projects.

Includes:

- [API Adresse](https://adresse.data.gouv.fr/api-doc/adresse)
- [API Géo](https://api.gouv.fr/documentation/api-geo)
- ~~[API Sirene](https://entreprise.data.gouv.fr/api_doc/sirene)~~
- [Jours fériés](https://api.gouv.fr/documentation/jours-feries)

Provides:

- [webeweb/geo-json-library](https://github.com/webeweb/geo-json-library)

If you like this package, pay me a beer (or a coffee)
[![paypal.me](https://img.shields.io/badge/paypal.me-webeweb-003087.svg?style=flat-square&logo=paypal)](https://www.paypal.me/webeweb)

## Compatibility

[![PHP](https://img.shields.io/packagist/php-v/webeweb/gouv-api-library.svg?style=for-the-badge&color=777BB4&logo=php)](http://php.net)

## Installation

Open a command console, enter your project directory and execute the following
command to download the latest stable version of this package:

```bash
composer require webeweb/gouv-api-library
```

This command requires you to have Composer installed globally, as explained in
the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the
Composer documentation.

## Usage

Read the [documentation](doc/index.md). You can also consult or execute sample
scripts into dev folder.

## Testing

To test the package, is better to clone this repository on your computer.
Open a command console and execute the following commands to download the latest
stable version of this package:

```bash
git clone https://github.com/webeweb/gouv-api-library.git
cd gouv-api-library
composer install
```

Once all required libraries are installed then do:

```bash
vendor/bin/phpunit
```

## License

`gouv-api-library` is released under the MIT License. See the bundled [LICENSE](LICENSE)
file for details.

## Donate

If you like this work, please consider donating at
[![paypal.me](https://img.shields.io/badge/paypal.me-webeweb-003087.svg?style=flat-square&logo=paypal)](https://www.paypal.me/webeweb)