{"id":18292214,"url":"https://github.com/oozcitak/akismet-js","last_synced_at":"2025-04-05T10:31:12.572Z","repository":{"id":462108,"uuid":"1123463","full_name":"oozcitak/akismet-js","owner":"oozcitak","description":"Akismet API client for node.js","archived":false,"fork":false,"pushed_at":"2023-01-08T14:10:28.000Z","size":719,"stargazers_count":32,"open_issues_count":4,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T18:50:09.987Z","etag":null,"topics":["akismet","javascript","nodejs","spam-filtering"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/oozcitak.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2010-11-29T21:29:34.000Z","updated_at":"2024-06-28T00:04:13.000Z","dependencies_parsed_at":"2023-01-13T10:21:15.057Z","dependency_job_id":null,"html_url":"https://github.com/oozcitak/akismet-js","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oozcitak%2Fakismet-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oozcitak%2Fakismet-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oozcitak%2Fakismet-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oozcitak%2Fakismet-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oozcitak","download_url":"https://codeload.github.com/oozcitak/akismet-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266553,"owners_count":20749813,"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","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":["akismet","javascript","nodejs","spam-filtering"],"created_at":"2024-11-05T14:17:14.726Z","updated_at":"2025-04-05T10:31:12.537Z","avatar_url":"https://github.com/oozcitak.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"An [Akismet](http://www.akismet.com/) API client for [node.js](http://nodejs.org/). \n\n[![NPM version](http://img.shields.io/npm/v/akismet.svg?style=flat-square)](https://npmjs.org/package/akismet)\n[![License](http://img.shields.io/npm/l/akismet.svg?style=flat-square)](http://opensource.org/licenses/MIT)\n\n[![Travis Build Status](https://img.shields.io/travis/oozcitak/akismet-js?logo=travis\u0026style=flat-square)](http://travis-ci.org/oozcitak/akismet-js)\n[![AppVeyor Build status](https://img.shields.io/appveyor/ci/oozcitak/akismet-js?logo=appveyor\u0026style=flat-square)](https://ci.appveyor.com/project/oozcitak/akismet-js)\n[![Dev Dependency Status](http://img.shields.io/david/dev/oozcitak/akismet-js.svg?style=flat-square)](https://david-dm.org/oozcitak/akismet-js)\n[![Code Coverage](https://img.shields.io/codecov/c/github/oozcitak/akismet-js?logo=codecov\u0026style=flat-square)](https://codecov.io/gh/oozcitak/akismet-js)\n\n### Installation:\n\n``` bash\nnpm install --save akismet\n```\n\n### Usage:\n\nYou need to [sign up](https://akismet.com/signup/) for an Akismet API key to use the API. Once you sign up, \nit would be a good idea to verify your key.\n\n``` js\nvar akismet = require('akismet').client({ blog: 'http://my.blog.com', apiKey: 'myakismetapikey123' });\n\nakismet.verifyKey(function(err, verified) {\n  if (verified) \n    console.log('API key successfully verified.');\n  else \n    console.log('Unable to verify API key.');\n});\n```\n      \nYou can now use Akismet to moderate your comments. \n\n``` js\nakismet.checkComment({ \n    user_ip: '1.1.1.1', \n    permalink: 'http://www.my.blog.com/my-post',\n    comment_author: 'spammer',\n    comment_content: 'spamming your comments'\n  }, function(err, spam) {\n    if(spam)\n      console.log('Spam caught.');\n    else\n      console.log('Not spam');\n});\n```\n\nYou can also send feedback to Akismet with `submitSpam` and `submitHam`. Their usage is the same as `checkComment`.\n\n``` js\nakismet.submitSpam({ \n    user_ip: '1.1.1.1', \n    permalink: 'http://www.my.blog.com/my-post',\n    comment_author: 'spammer',\n    comment_content: 'that was spam but you failed to catch me'\n  }, function(err) {\n    console.log('Spam reported to Akismet.');\n});\n```\nSee the [wiki](https://github.com/oozcitak/akismet-js/wiki) and [Akismet API documentation](http://www.akismet.com/development/api) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foozcitak%2Fakismet-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foozcitak%2Fakismet-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foozcitak%2Fakismet-js/lists"}