Deprecated: Return type of YDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/ydata.inc.php on line 428

Deprecated: Return type of YamlDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/yamldata.inc.php on line 295
ydc inseeapi.inc.php

Fichier inseeapi.inc.php

File: inseeapi.inc.php - Utilisation des API INSEE

journal


Warning: Array to string conversion in /home/bdavid/prod/georef/yamldoc/ydclasses.php on line 86
Array

classe InseeApi : classe abstraite facilitant l'accès aux API INSEE

La méthode getToken() renvoie le token courant. La méthode generateToken() en génère un nouveau. Nécessite l'existence du fichier inseecredentials.json contenant les champs 'key' et 'secret'