
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Accéder simplement aux informations concernant une famille allocataire de la CAF.
Ces informations sont délivrées de façon sécurisée, sur la base du numéro d'allocataire et du code postal.
Les données sont mises à jour de façon mensuelle.
Pour utiliser ce projet, vous devez créer un fichier config.json
. Vous pouvez pour cela vous inspirer du fichier config.example.json
.
Clé | Description | Exemple |
---|---|---|
port | Port d'écoute du serveur HTTP | 5000 (valeur par défaut) |
cafHost | Hôte du service CAF | https://caf-host |
cafSslCertificate | Chemin vers le certificat permettant de se connecter au service CAF | /path/to/cert |
cafSslKey | Chemin vers la clé permettant de se connecter au service CAF | /path/to/key |
cafPingParams.numeroAllocataire | Numéro d'allocataire à utiliser pour le service de PING | 1234567 |
cafPingParams.codePostal | Code postal à utiliser pour le service de PING | 12345 |
yarn
yarn start
yarn test
Pour obtenir les informations concernant une famille :
Requête :
GET /api/famille?numeroAllocataire=123456&codePostal=92330
Réponse :
{
"allocataires": [
{
"nomPrenom": "ALICE DUPONT",
"dateDeNaissance": "01011980",
"sexe": "F"
},
{
"nomPrenom": "FRANCIS DUPONT",
"dateDeNaissance": "01011984",
"sexe": "M"
}
],
"enfants": [
{
"nomPrenom": "BOB DUPONT",
"dateDeNaissance": "01012005",
"sexe": "M"
}
],
"adresse": {
"identite": "Madame ALICE DUPONT",
"complementIdentiteGeo": "ENTREE C",
"numeroRue": "9 IMPASSE DES ACACIAS",
"codePostalVille": "92330 SCEAUX",
"pays": "FRANCE"
},
"quotientFamilial": 1850,
"mois": 1,
"annee": 2017
}
Pour vérifier la disponibilité du service
Requête :
GET /api/ping
Réponse :
pong
si le service fonctionneboom
sinonFAQs
API CAF
The npm package api-caf receives a total of 12 weekly downloads. As such, api-caf popularity was classified as not popular.
We found that api-caf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.