{"id":19928255,"url":"https://github.com/mapp-digital/mapp-connect-client-js","last_synced_at":"2025-10-29T15:13:33.720Z","repository":{"id":119432921,"uuid":"400144179","full_name":"mapp-digital/mapp-connect-client-js","owner":"mapp-digital","description":"Mapp Connect Client node.js","archived":false,"fork":false,"pushed_at":"2021-10-05T12:15:24.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T00:47:40.998Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapp-digital.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-26T11:27:13.000Z","updated_at":"2024-04-15T15:36:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"804df4e4-f364-4026-9328-15e6ab66d790","html_url":"https://github.com/mapp-digital/mapp-connect-client-js","commit_stats":null,"previous_names":["mapp-digital/mapp-connect-client-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-digital%2Fmapp-connect-client-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-digital%2Fmapp-connect-client-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-digital%2Fmapp-connect-client-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapp-digital%2Fmapp-connect-client-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapp-digital","download_url":"https://codeload.github.com/mapp-digital/mapp-connect-client-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241355037,"owners_count":19949292,"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-11-12T22:36:42.175Z","updated_at":"2025-10-29T15:13:33.595Z","avatar_url":"https://github.com/mapp-digital.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mapp-connect-client-js\nMapp Connect Client node.js\n\nThis library can be used by any application that wants to communicate with Mapp Connect. It wraps up JWT token generation part and all the HTTP communication details.\n\nIt's being packaged with NPM, in order to use it, just add it to the project as a dependency (mapp-connect-client).\n\nExample usage\n\n\nInstantiate client and specify API URL, integration ID and API key\nvar mcc = new lib.MappConnectClient('https://charon-test.shortest-route.com', 'fc1dd232-8302-41a0-a7e9-089d9f8f7304', 'fQbl8bQz1G9OYYukcgYypy2jJeOCi0FD')\n\n\n\n## Get list of prepared messages\n\nlet getMessagesCallback = function (data) {\n    console.log(data);\n}\nmcc.getMessages(getMessagesCallback);\n\n\n\n## Get list of groups\n\nlet getGroupsCallback = function (data) {\n    console.log(data);\n}\nmcc.getGroups(getGroupsCallback);\n\n\n\n## Send contact profile to be processed by Mapp Connect and saved by Engage\n\nmcc.sendUser(\"{\\\"email\\\":\\\"test@xx.xx\\\"}\");\n\n\nEach operation can be triggered by sendXxxx method on the client, for now each of them expects the full JSON payload to be provided as an argument:\n\n*Email\n\n*Sms\n\n*Push\n\n*Transaction\n\n*Automation\n\n# Check list of API's in right menu to check required fields for every event. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapp-digital%2Fmapp-connect-client-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapp-digital%2Fmapp-connect-client-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapp-digital%2Fmapp-connect-client-js/lists"}