{"id":16048939,"url":"https://github.com/devongovett/node-impermium","last_synced_at":"2025-07-22T00:31:49.045Z","repository":{"id":11646344,"uuid":"14152043","full_name":"devongovett/node-impermium","owner":"devongovett","description":"A Node.js API client for impermium","archived":false,"fork":false,"pushed_at":"2013-11-08T06:20:33.000Z","size":124,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T16:45:38.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/devongovett.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}},"created_at":"2013-11-05T19:46:42.000Z","updated_at":"2013-12-04T17:41:49.000Z","dependencies_parsed_at":"2022-09-06T10:01:56.980Z","dependency_job_id":null,"html_url":"https://github.com/devongovett/node-impermium","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devongovett/node-impermium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fnode-impermium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fnode-impermium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fnode-impermium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fnode-impermium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devongovett","download_url":"https://codeload.github.com/devongovett/node-impermium/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fnode-impermium/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264519719,"owners_count":23621858,"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":[],"created_at":"2024-10-09T00:11:29.678Z","updated_at":"2025-07-10T02:38:20.439Z","avatar_url":"https://github.com/devongovett.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-impermium\n\nA Node.js client for [impermium](https://impermium.com/api/index.php?client=endevver\u0026version=4.0\u0026ref=93a3f).\n\n## Docs\n\n```javascript\nvar impermium = require('impermium');\nimpermium.API_KEY = 'YOUR_API_KEY_HERE';\n\nimpermium.post({\n  post_id: '123456',\n  user_id: 'some-user-id',\n  content: 'This is some spam content. Viagra viagra viagra.',\n  post_type: 'comment',\n  operation: 'create'\n}, function(err, res) {\n  // do something with response\n});\n```\n\nGenerally, the imperium module has functions of the same names as the HTTP routes\ndocumented in the impermium [API docs](https://impermium.com/api/index.php?client=endevver\u0026version=4.0\u0026ref=93a3f),\nbut the names are camel cased.  So for example, the `/post/user_feedback` route maps to\nthe `postUserFeedback` function in `node-impermium`.  Each function takes an options\nobject and a callback.\n\nIn addition to the options documented by impermium, you can also set the `req` option to \na Node [http.IncomingMessage](http://nodejs.org/api/http.html#http_http_incomingmessage)\nto automatically set the `http_headers`, and `enduser_ip` impermium options automatically.\n\nFinally, if you don't set the `user_id` option, it will be set to `\"ANONYMOUS\"` by default.\n\n## Running the tests\n\nYou'll need to set the `API_KEY` property in test.js to your API key from \nimpermium in order to run the tests.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fnode-impermium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevongovett%2Fnode-impermium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fnode-impermium/lists"}