{"id":19153679,"url":"https://github.com/shevabam/oss-117-quotes-api","last_synced_at":"2026-03-14T16:04:44.854Z","repository":{"id":216322894,"uuid":"505837852","full_name":"shevabam/oss-117-quotes-api","owner":"shevabam","description":"Une API de répliques d'OSS 117 ? Habile !","archived":false,"fork":false,"pushed_at":"2025-09-23T21:19:43.000Z","size":71,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-23T23:24:46.463Z","etag":null,"topics":["api","citation","oss","oss117","quotes","quotes-api"],"latest_commit_sha":null,"homepage":"https://oss117quotes.xyz","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shevabam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-21T12:40:51.000Z","updated_at":"2025-09-23T21:19:47.000Z","dependencies_parsed_at":"2024-01-09T16:42:03.907Z","dependency_job_id":"91fa2c29-5f2e-45d6-80b8-d7adb01e6dd1","html_url":"https://github.com/shevabam/oss-117-quotes-api","commit_stats":null,"previous_names":["shevabam/oss-117-quotes-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shevabam/oss-117-quotes-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shevabam%2Foss-117-quotes-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shevabam%2Foss-117-quotes-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shevabam%2Foss-117-quotes-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shevabam%2Foss-117-quotes-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shevabam","download_url":"https://codeload.github.com/shevabam/oss-117-quotes-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shevabam%2Foss-117-quotes-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28032523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","citation","oss","oss117","quotes","quotes-api"],"created_at":"2024-11-09T08:23:53.987Z","updated_at":"2025-12-25T16:25:53.145Z","avatar_url":"https://github.com/shevabam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![](oss-117-quotes-api_header.png)\n\n# OSS 117 Quotes API\n\nUne API de répliques d'OSS 117 ? Habile !\n\n:globe_with_meridians: Site et démo : https://oss117quotes.xyz/\n\n## URL de l'API\n\n➡ [https://api.oss117quotes.xyz](https://api.oss117quotes.xyz)\n\n## API\n\n### `GET /v1/random`\n\nObtenir une citation au hasard :\n\n\u003e [https://api.oss117quotes.xyz/v1/random](https://api.oss117quotes.xyz/v1/random)\n\n    {\n        \"sentence\": \"Je ne vois pas trop l'intérêt de ressembler à une femme.\",\n        \"character\": {\n            \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\",\n            \"slug\": \"hubert\"\n        }\n    }\n\n\n### `GET /v1/random/{number}`\n\nRetourne `{number}` citations de manière aléatoire.  \nLe paramètre `number` est facultatif. Par défaut, une seule citation est retournée.\n\n\u003e [https://api.oss117quotes.xyz/v1/random/3](https://api.oss117quotes.xyz/v1/random/3)\n\n    [\n        {\n            \"sentence\": \"23-0 ! C'est la piquette Jack !!! Tu sais pas jouer, Jack ! T'es mauvais hahahahaha !!!\",\n            \"character\": {\n                \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\",\n                \"slug\": \"hubert\"\n            }\n        },\n        {\n            \"sentence\": \"Bien, mais dépêchons-nous, je n'ai que quelques heures.\",\n            \"character\": {\n                \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\",\n                \"slug\": \"hubert\"\n            }\n        },\n        {\n            \"sentence\": \"Pour rencontrer M. Li, il vaut mieux avoir une bonne couverture, sinon, je serai dans de beaux draps.\",\n            \"character\": {\n                \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\",\n                \"slug\": \"hubert\"\n            }\n        }\n    ]\n\n\n### `GET /v1/author/{character}/{number}`\n\nRetourne les citations d'un personnage.  \nPlus d'informations sur le paramètre `character` plus bas.\n\nLe paramètre `number` est facultatif. Par défaut, toutes les citations du personnage sont retournées.\n\n\u003e [https://api.oss117quotes.xyz/v1/author/hubert/2](https://api.oss117quotes.xyz/v1/author/hubert/2)\n\n    [\n        {\n            \"sentence\": \"Ah ah bravo Bill, en plein dans l'dos !\",\n            \"character\": {\n                \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\",\n                \"slug\": \"hubert\"\n            }\n        },\n        {\n            \"sentence\": \"Fonce, Slimane ! Fooonce !!!\",\n            \"character\": {\n                \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\",\n                \"slug\": \"hubert\"\n            }\n        }\n    ]\n\n\n### `GET /v1/characters`\n\nRetourne la liste des personnages avec leurs citations.\n\n\u003e [https://api.oss117quotes.xyz/v1/characters](https://api.oss117quotes.xyz/v1/characters)\n\n    [\n        {\n            \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\",\n            \"slug\": \"hubert\",\n            \"quotes\": [\n                \"En tout cas, on peut dire que le Soviet éponge !\",\n                \"Ça fait un peu Jacadi a dit : « Pas de charcuterie ! »\",\n                \"J'aime le bruit blanc de l'eau.\"\n            ]\n        },\n        {\n            \"name\": \"Bill Tremendous\",\n            \"slug\": \"bill\",\n            \"quotes\": [\n                \"Shut up ! Kiss my ass !\"\n            ]\n        }\n    ]\n\n\n### `GET /v1/character/{name}`\n\nRetourne le détail d'un personnage.  \nLe paramètre `name` est le diminutif du personnage (voir plus bas pour plus d'information).\n\n\u003e [https://api.oss117quotes.xyz/v1/character/hubert](https://api.oss117quotes.xyz/v1/character/hubert)\n\n    [\n        {\n            \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\",\n            \"slug\": \"hubert\",\n            \"quotes\": [\n                \"En tout cas, on peut dire que le Soviet éponge !\",\n                \"Ça fait un peu Jacadi a dit : « Pas de charcuterie ! »\",\n                \"J'aime le bruit blanc de l'eau.\"\n            ]\n        }\n    ]\n\n\n\n### Comment trouver le diminutif d'un personnage ?\n\nLe diminutif d'un personnage est présent dans l'entrée \"slug\".  \nVous pouvez aussi les retrouver dans le fichier `datas.json` :\n\n    \"characters\": {\n        \"hubert\": {\n          \"name\": \"Hubert Bonnisseur de La Bath (alias OSS 117)\"\n        },\n        \"carlotta\": {\n          \"name\": \"Carlotta\"\n        },\n        \"larmina\": {\n          \"name\": \"Larmina El Akmar Betouche\"\n        },\n        \"zimmel\": {\n          \"name\": \"Von Zimmel\"\n        },\n        \"moeller\": {\n          \"name\": \"Gerhard Moeller\"\n        },\n        \"bill\": {\n          \"name\": \"Bill Tremendous\"\n        },\n        \"raymond\": {\n          \"name\": \"Raymond Pelletier\"\n        },\n        \"dolores\": {\n          \"name\": \"Dolorès\"\n        }\n        ...\n    },\n\nLes diminutifs sont donc : hubert, carlotta, larmina, etc...\n\n\n## Postman\n\nVous pouvez intégrer l'API dans Postman grâce à la [collection Postman](OSS_117_Quotes_API.postman_collection.json) disponible sur le dépôt.\n\n\n## Docker\n\nVous pouvez trouver le Dockerfile [ici](https://github.com/shevabam/dockerfiles/tree/master/oss-117-quotes-api) et sur [Docker Hub](https://hub.docker.com/r/shevabam/oss-117-quotes-api/).\n\n\n## Contribuer\n\nSi vous souhaitez ajouter une ou plusieurs citations, suivez les étapes suivantes.\n\n* Fork le projet en cliquant sur le bouton \"Fork\" en haut à droite de cette page\n* Cloner le dépôt (git clone) sur votre machine\n* Ouvrir le fichier `datas.json`\n* S'assurer que la citation n'existe pas déjà\n* S'assurer que le personnage existe bien dans la partie \"characters\"\n* Commit et push les modifications\n* Faire un pull request\n\nMerci !","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshevabam%2Foss-117-quotes-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshevabam%2Foss-117-quotes-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshevabam%2Foss-117-quotes-api/lists"}