{"id":18470286,"url":"https://github.com/caioagiani/mobizon-node","last_synced_at":"2025-04-08T11:31:37.245Z","repository":{"id":37032690,"uuid":"338327821","full_name":"caioagiani/mobizon-node","owner":"caioagiani","description":"Biblioteca NodeJS para trabalhar com os serviços Mobizon API","archived":false,"fork":false,"pushed_at":"2024-02-23T22:26:20.000Z","size":72,"stargazers_count":20,"open_issues_count":15,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-05-01T16:30:37.607Z","etag":null,"topics":["a2p","api","es6","gateway","messaging","mobizon","shortcode","sms"],"latest_commit_sha":null,"homepage":"https://mobizon.com.br","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/caioagiani.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-12T13:32:13.000Z","updated_at":"2024-06-21T07:11:40.070Z","dependencies_parsed_at":"2023-01-20T10:53:04.287Z","dependency_job_id":"16d24171-691c-4992-8c2e-425ab3f3bb06","html_url":"https://github.com/caioagiani/mobizon-node","commit_stats":{"total_commits":53,"total_committers":2,"mean_commits":26.5,"dds":"0.28301886792452835","last_synced_commit":"f695e595086faae9f8583a7ce8737c974fd3fb54"},"previous_names":["caioagiani/mobizon-br"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caioagiani%2Fmobizon-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caioagiani%2Fmobizon-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caioagiani%2Fmobizon-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caioagiani%2Fmobizon-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caioagiani","download_url":"https://codeload.github.com/caioagiani/mobizon-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223124003,"owners_count":17091174,"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":["a2p","api","es6","gateway","messaging","mobizon","shortcode","sms"],"created_at":"2024-11-06T10:13:31.500Z","updated_at":"2024-11-06T10:13:32.142Z","avatar_url":"https://github.com/caioagiani.png","language":"JavaScript","readme":"\u003c!--\n/*\n * Obrigado por baixar este projeto, caso tenha alguma ideia, ajustes, etc...\n * dê um fork no repositório e crie uma Pull Request.\n */\n--\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://mobizon.com.br\"\u003e\n    \u003cimg src=\".github/default.svg\" width=\"60%\" alt=\"Mobizon\" title=\"Mobizon\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eBiblioteca para comunicação API HTTP Mobizon SMS\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"GitHub language count\" src=\"https://img.shields.io/github/languages/count/caioagiani/mobizon-node\"\u003e\n  \u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/caioagiani/mobizon-node\"\u003e\n  \u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/caioagiani/mobizon-node\"\u003e\n  \u003cimg alt=\"NPM downloads\" src=\"https://img.shields.io/npm/dt/mobizon-node?color=blue\"\u003e\n  \u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\n\u003c/p\u003e\n\n## Instalação\n\nBaixe o node em [nodejs.org](http://nodejs.org) e instale-o, caso ainda não tenha,\n\nPacote: `npm i mobizon-node` ou `yarn add mobizon-node`\n\n## Configuração:\n\n```js\nconst { mobizon } = require('mobizon-node');\n\nmobizon.setConfig({\n  apiServer: 'https://api.mobizon.com.br',\n  apiKey: 'br01xxxxxx',\n  format: 'json',\n});\n```\n\n## Exemplos de uso\n\nConfira em [docs](https://github.com/caioagiani/mobizon-node/blob/master/docs) todos os response status code.\n\n```js\n(async () =\u003e {\n  /** Saldo */\n  const getBalance = await mobizon.getBalance();\n\n  console.log(getBalance);\n\n  /** Encurtar URL */\n  const createShort = await mobizon.createShort({\n    data: {\n      fullLink: 'https://mobizon.com.br',\n      status: 1,\n      expirationDate: '',\n      comment: 'Shortened link.',\n    },\n  });\n\n  console.log(createShort);\n\n  /** Enviar SMS */\n  const sendSms = await mobizon.sendSms({\n    recipient: '5511941439844',\n    from: '',\n    text: 'SMS sent by Mobizon.',\n  });\n\n  console.log(sendSms);\n})();\n```\n\nDê uma olhada em [examples](https://github.com/caioagiani/mobizon-node/blob/master/examples) para mais casos de uso.\n\n## Licença\n\nDocumentação [pt-BR](https://mobizon.docs.apiary.io/).\u003cbr /\u003e\nCopyright © 2021 [caioagiani](https://github.com/caioagiani).\u003cbr /\u003e\nEste projeto é licenciado [MIT](https://github.com/caioagiani/mobizon-node/blob/master/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaioagiani%2Fmobizon-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaioagiani%2Fmobizon-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaioagiani%2Fmobizon-node/lists"}