{"id":31029847,"url":"https://github.com/abadima/simply-api.js","last_synced_at":"2025-10-24T06:46:11.049Z","repository":{"id":57549313,"uuid":"526480071","full_name":"Abadima/simply-api.js","owner":"Abadima","description":"Making API queries to Simply-API is made simpler by this JS wrapper.","archived":false,"fork":false,"pushed_at":"2023-07-15T09:04:56.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T14:52:15.578Z","etag":null,"topics":["api","chatbot","npm-package","nsfw","simply","toxicity"],"latest_commit_sha":null,"homepage":"https://simplyapi.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Abadima.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-19T05:54:11.000Z","updated_at":"2022-08-21T13:28:19.000Z","dependencies_parsed_at":"2023-02-10T16:10:16.111Z","dependency_job_id":null,"html_url":"https://github.com/Abadima/simply-api.js","commit_stats":null,"previous_names":["abadima/simply-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Abadima/simply-api.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abadima%2Fsimply-api.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abadima%2Fsimply-api.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abadima%2Fsimply-api.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abadima%2Fsimply-api.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abadima","download_url":"https://codeload.github.com/Abadima/simply-api.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abadima%2Fsimply-api.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275038266,"owners_count":25394640,"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-09-13T02:00:10.085Z","response_time":70,"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","chatbot","npm-package","nsfw","simply","toxicity"],"created_at":"2025-09-13T22:56:30.020Z","updated_at":"2025-10-24T06:46:05.999Z","avatar_url":"https://github.com/Abadima.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 style=\"font-size:2.5rem; text-align: center;\"\u003eSimply-API\u003c/h1\u003e\n\n\u003cdiv class=\"badges\" style=\"text-align: center;\"\u003e\n\n[![CodeFactor](https://www.codefactor.io/repository/github/abadima/simply-api.js/badge?style=for-the-badge)](https://www.codefactor.io/repository/github/abadima/simply-api.js)\n[![NodeJS](https://img.shields.io/badge/Node.js-%20\u003e=16-green.svg?style=for-the-badge\u0026logo=Node.js)](https://nodejs.org/en/download/)\n[![Support Server](https://img.shields.io/discord/867999056172052551.svg?label=Support\u0026logo=Discord\u0026colorB=7289da\u0026style=for-the-badge)](https://discord.gg/3JzDV9T5Fn)\n\u003c/div\u003e\n\n## \u003cimg alt=\"Download\" width=\"28px\" src=\"https://cdn.onlinewebfonts.com/svg/img_250767.png\" /\u003e Download Package\n\n```shell\nnpm install simply-api.js@legacy\n```\n\n(or)\n\n```shell\nyarn add simply-api.js@legacy\n```\n\n(or)\n\n```shell\npnpm add simply-api.js\n```\n\n## \u003cimg alt=\"Download\" width=\"22px\" src=\"https://icon-library.com/images/book-icon/book-icon-28.jpg\" /\u003e Endpoints\n\n| Endpoint                  | Description                                                 |\n|---------------------------|-------------------------------------------------------------|\n| chatbot(msg, {options})   | Chat with [Chat Bot](https://simplyapi.js.org/docs/chatbot) |\n| tictactoe(uid, ai, board) | AI Game of Tic-Tac-Toe                                      |\n| toxicity(text)            | Detect Toxic messages                                       |\n\n## \u003cimg alt=\"Download\" width=\"22px\" src=\"http://cdn.onlinewebfonts.com/svg/img_28937.png\" /\u003e Example Usages\n\n### Chatbot\n\n```js\nconst {chatbot} = require(\"simply-api\");\n\nlet data = await chatbot(\"Test Run by Simply-API.js\", {uid: 69});\nconsole.log(data) // returns JSON result\n```\n\n### Tic-Tac-Toe\n\n```js\nconst {tictactoe} = require(\"simply-api\");\nconst uid = 123, ai = \"o\";\nconst board = [\n\t\" \", \" \", \" \",\n\t\" \", \"x\", \" \",\n\t\" \", \" \", \" \"\n];\n\nlet data = await tictactoe(uid, ai, board);\nconsole.log(data) // returns JSON result\n```\n\n### Toxicity\n\n```js\nconst {toxicity} = require(\"simply-api\");\nconst text = \" *Insert offensive text here* \";\n\nlet data = await toxicity(text);\nconsole.log(data) // returns JSON result\n```\n\n### Alternative Methods\n\n```js\nconst text = \" *Insert offensive text here* \";\nvar simplyapi = require(\"simply-api\");\nconst uid = 123, ai = \"o\";\nconst board = [\n\t\" \", \" \", \" \",\n\t\" \", \"x\", \" \",\n\t\" \", \" \", \" \"\n];\n\nsimplyapi.chatbot(\"Hello!\").then(data =\u003e {\n\tconsole.log(data) // returns JSON result\n}); // Chat Bot AI\n\nsimplyapi.tictactoe(uid, ai, board).then(data =\u003e {\n\tconsole.log() // Returns Array Result\n});\n\nsimplyapi.toxicity(text).then(data =\u003e {\n\tconsole.log(data) // returns JSON result\n}); // Toxicity Detection\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabadima%2Fsimply-api.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabadima%2Fsimply-api.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabadima%2Fsimply-api.js/lists"}