{"id":13577344,"url":"https://github.com/sambarnes90/node-mautic","last_synced_at":"2025-04-05T11:32:25.440Z","repository":{"id":57292636,"uuid":"122218544","full_name":"sambarnes90/node-mautic","owner":"sambarnes90","description":"Node.js wrapper for the Mautic API","archived":false,"fork":false,"pushed_at":"2019-05-22T08:47:58.000Z","size":25,"stargazers_count":16,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-20T02:18:21.317Z","etag":null,"topics":["mautic","mautic-api","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sambarnes90.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":"2018-02-20T15:43:54.000Z","updated_at":"2024-06-15T13:49:16.000Z","dependencies_parsed_at":"2022-08-27T12:20:53.903Z","dependency_job_id":null,"html_url":"https://github.com/sambarnes90/node-mautic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambarnes90%2Fnode-mautic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambarnes90%2Fnode-mautic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambarnes90%2Fnode-mautic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambarnes90%2Fnode-mautic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambarnes90","download_url":"https://codeload.github.com/sambarnes90/node-mautic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223186545,"owners_count":17102484,"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":["mautic","mautic-api","nodejs"],"created_at":"2024-08-01T15:01:20.690Z","updated_at":"2024-11-05T14:30:55.879Z","avatar_url":"https://github.com/sambarnes90.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# !!! Project No Longer Maintined !!!\r\n# Please use [@vdavid's improved version](https://github.com/vdavid/node-mautic)\r\n\r\n--------------------------------\r\n\r\n# Node.js Wrapper for Mautic API\r\n\r\n![Mautic Logo](https://avatars2.githubusercontent.com/u/5257677?s=200\u0026v=4 \"Mautic Logo\")\r\n\r\n**Alpha** version of a basic wrapper to use the Mautic API in Node.js.\r\n\r\n## Usage\r\n\r\n  - `npm install mautic-api-node`\r\n  - Require the module with `var mautic = require('mautic-api-node')`\r\n  - Update the mautic.config object with relevant details as per below:\\\r\n\t`mautic.config.base_url = \"https://example.mautic.com\";`\\\r\n\t`mautic.config.redirect_uri = \"https://www.mautic.com\";`\\\r\n\t`mautic.config.public_key = \"EXAMPLE_PUBLIC_KEY\";`\\\r\n\t`mautic.config.secret_key = \"EXAMPLE_SECRET_KEY\";`\\\r\n\t`mautic.config.state = \"RANDOM_STATE\";`\\\r\n\t`mautic.config.api_endpoint = \"https://example.mautic.com/api\";`\r\n  - Use `mautic.auth.checkAuth(callback)` to check auth and process the data with callback.\r\n  - You *must* run this from the command line first, perhaps using example.js - as this will create the token file needed to authenticate with the Mautic API.\r\n  - Callback will either receive a single parameter from these options:\r\n    - An `asset` object containing the JSON response from the API.\r\n    - An `error` string containing a relevant error message.\r\n    - An `error` object from the request itself.\r\n\r\n## Examples\r\n\r\n  - Please reference `example.js` for an example.\r\n\r\n## Support\r\n\r\n  - Please raise an issue on the Github repo - https://github.com/sambarnes90/node-mautic  \r\n\r\n## Reference\r\n\r\n  - Attempted to follow the Mautic API Documentation (https://developer.mautic.org/) as closely as possible.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambarnes90%2Fnode-mautic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambarnes90%2Fnode-mautic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambarnes90%2Fnode-mautic/lists"}