{ "info": { "author": "Darlei Soares", "author_email": "darleisantossoares@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# API Rede\n\nDocumenta\u00e7\u00e3o da API:\n* Concilia\u00e7\u00e3o.: https://conciliationrede.docs.apiary.io\n* Credenciamento.: https://affiliationrede.docs.apiary.io\n\n### Forma de uso:\n\n```\nfrom rede import api\n\nr = api.RequestsConciliacao(\n COLOCAR_SEU_USUARIO,\n COLOCAR_SUA_SENHA,\n COLOCAR_SEU_USERNAME_REDE,\n COLOCAR_SEU_PASSWORD_REDE\n)\n\nparams = {\n 'personType':'JURIDICA',\n 'documentNumber':'3422594000117'\n}\n\nresult = r.consultarEstabelecimentoComercial(params)\n\nprint(result)\n\n```\n\nA package faz a autentica\u00e7\u00e3o, gera um token de acesso e com esse token consulta os estabelecimentos comerciais do CNPJ 3422594000117\n\n### M\u00e9todos dispon\u00edveis\n\nTodos os m\u00e9todos dispon\u00edveis na documenta\u00e7\u00e3o da rede foram implementados, sendo eles.:\n\n#### Credenciamento\n* Realizar Proposta de Credenciamento (criarPropostaCredenciamento)\n* Consultar Proposta de Credenciamento por Id (consultarPropostaCredenciamentoPorId)\n* Consultar Estabelecimento Comercial (consultarEstabelecimentoComercial)\n* Cancelar Estabelecimento Comercial (cancelarEstabelecimentoComercial)\n* Consultar Pre\u00e7os (consultarPrecos)\n* Consultar MCCs (consultarMCCs)\n* Realizar Lead Credenciamento (createLeadCredenciamento)\n\n#### Concilia\u00e7\u00e3o\n* Consultar Vendas (consultarVendas)\n* Consultar Parcelas (consultarParcelas)\n* Consultar Pagamentos - Vis\u00e3o Sumarizada CIP (consultarPagamentosSumarizadosCIP)\n* Consultar Pagamentos - Vis\u00e3o Ordem de Cr\u00e9dito (Sem m\u00e9todo, API EM CONSTRU\u00c7\u00c3O)\n* Consultar Receb\u00edveis (Sem m\u00e9todo, API EM CONSTRU\u00c7\u00c3O)\n* Consultar Receb\u00edveis - Vis\u00e3o Sumarizada (consultarRecebiveisSumarizados)\n* Consultar D\u00e9bitos - Vis\u00e3o Detalhada (consultarDebitos)\n* Consultar D\u00e9bitos - Vis\u00e3o Sumarizada (Sem m\u00e9todo, API EM CONSTRU\u00c7\u00c3O)\n* Consultar Lista de Ajustes de D\u00e9bito (consultarListaAjusteDebitos)\n\n\n### Ambiente\nAt\u00e9 o exato momento a rede s\u00f3 disponibilizou o ambiente de homologa\u00e7\u00e3o, por\u00e9m para selecionar o ambiente basta criar uma est\u00e2ncia da classe da seguinte forma\n\n```\nr = api.RequestsConciliacao(\n COLOCAR_SEU_USUARIO,\n COLOCAR_SUA_SENHA,\n COLOCAR_SEU_USERNAME_REDE,\n COLOCAR_SEU_PASSWORD_REDE,\n True\n) # Desta forma seleciona automaticamente o Sandbox (Homologa\u00e7\u00e3o est\u00e1 selecionado como ambiente)\n\nprd = api.RequestsConciliacao(\n COLOCAR_SEU_USUARIO,\n COLOCAR_SUA_SENHA,\n COLOCAR_SEU_USERNAME_REDE,\n COLOCAR_SEU_PASSWORD_REDE,\n False\n) # Desta forma seleciona-se o ambiente de produ\u00e7\u00e3o\n\n```\n\n## TO-DO\n* Validar bodies em m\u00e9todos POST para verificar se todos os campos obrigat\u00f3rios est\u00e3o presentes\n* Validar todos os query string parameters obrigat\u00f3rios est\u00e3o presentes na URL\n* Criar mensagem amig\u00e1vel para o usu\u00e1rio quando faltar um parametro obrigat\u00f3rio\n* Caso resultados retornem paginados criar m\u00e9todo recursivo para busca de todos os dados em somente uma chamada\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/darleisantossoares/rede_api", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rede-api", "package_url": "https://pypi.org/project/rede-api/", "platform": "", "project_url": "https://pypi.org/project/rede-api/", "project_urls": { "Homepage": "https://github.com/darleisantossoares/rede_api" }, "release_url": "https://pypi.org/project/rede-api/0.0.8/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "A package to handle rede API", "version": "0.0.8" }, "last_serial": 5709997, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "84710dd717ac8ac6fe19a5bad1ab25f0", "sha256": "70c6fa585196b9f0c6274bf9dd85bd8cb304254798587bb47e5412dc097c8b32" }, "downloads": -1, "filename": "rede_api-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "84710dd717ac8ac6fe19a5bad1ab25f0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5208, "upload_time": "2019-06-26T20:20:19", "url": "https://files.pythonhosted.org/packages/71/07/69e4c0038e84b8bd2d8e74aca927dc4c33dd4288f99c444d739b7b09e343/rede_api-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7c5c92c62eece35d76fa1771b2d0a7f", "sha256": "d944a44b1b2473fa9c67403302054d0b7b3b27e0f679d9e2f1bc779a472d02f6" }, "downloads": -1, "filename": "rede api-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a7c5c92c62eece35d76fa1771b2d0a7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3819, "upload_time": "2019-06-26T20:20:21", "url": "https://files.pythonhosted.org/packages/b5/3c/84589942f3d526176e31a3ef6bedcf178d4f7af77177dc6431c5892ab4cb/rede%20api-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7c6fb45c89727d91ab327779c6d8c68d", "sha256": "0230b4704dac0cf6db4a6348984f69b9558ee80110fe17e27c695a76cf131d2e" }, "downloads": -1, "filename": "rede_api-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7c6fb45c89727d91ab327779c6d8c68d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5211, "upload_time": "2019-06-26T20:40:00", "url": "https://files.pythonhosted.org/packages/d2/ff/87ebfd0a79a62812b9f7659203d592d615cef22ce3b9c7726f949d4f29c8/rede_api-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f81726f40f371fa85298a9c13f0035e5", "sha256": "ae981563af7e377f7f9bb6f0cc4e71e77d4f2ab17e414529b9364ea47016fe1f" }, "downloads": -1, "filename": "rede api-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f81726f40f371fa85298a9c13f0035e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3811, "upload_time": "2019-06-26T20:40:02", "url": "https://files.pythonhosted.org/packages/18/58/76369fa88faf2e22d5c8bb25611f65824af0277f231e3df76073ceedf0a0/rede%20api-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "638ee248a41d6231520cee911d471328", "sha256": "7da965d76a0b6469dc41b36f5ed46f0b661863898b91567db907b806bb08cfb7" }, "downloads": -1, "filename": "rede_api-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "638ee248a41d6231520cee911d471328", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6781, "upload_time": "2019-08-05T18:21:42", "url": "https://files.pythonhosted.org/packages/a4/10/a0e6ad27541f92fd615d0e515d6e9116052739569a6d5462fdd1a164126e/rede_api-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4e5dc86f67f3583fe0eb8f283ea538c4", "sha256": "436425647cef2dd18e129067fdcd4dc7d2f983e584f4d7f9b37fd2e9ffe72c67" }, "downloads": -1, "filename": "rede api-0.0.3.tar.gz", "has_sig": false, "md5_digest": "4e5dc86f67f3583fe0eb8f283ea538c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3823, "upload_time": "2019-08-05T18:21:44", "url": "https://files.pythonhosted.org/packages/25/7a/2618531dc5a57eaed9dd35ef0c26af3ca0db2f50bbb429afc665f4af2db5/rede%20api-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "228a9c5e6688f90cd4f56ef0c92aea5f", "sha256": "88e10a828e5352dd910a17b72eb4d9f69f78bee5d1b58868ed544d612d32736b" }, "downloads": -1, "filename": "rede_api-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "228a9c5e6688f90cd4f56ef0c92aea5f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6771, "upload_time": "2019-08-15T18:47:10", "url": "https://files.pythonhosted.org/packages/b8/12/bb756b233c3df4376fac449adf7deb45c29b8e5b2e10c388aab95f619feb/rede_api-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0d0f18b389283f66119ab929eaac8b75", "sha256": "62314b8237e39b80f31faf5dd042440d13bc635a33e96f08062207dabf7c6703" }, "downloads": -1, "filename": "rede api-0.0.4.tar.gz", "has_sig": false, "md5_digest": "0d0f18b389283f66119ab929eaac8b75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3817, "upload_time": "2019-08-15T18:47:14", "url": "https://files.pythonhosted.org/packages/58/45/4392e8758852fec3609bad77cea6108abcea19d19c8cc2c2577f29b01c98/rede%20api-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "3db55fbbaaed0922c981b175719e601e", "sha256": "09db3cf8881ece08b65de2c7c7b6f31a446454acac74019339c03283cbbc9ec2" }, "downloads": -1, "filename": "rede_api-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "3db55fbbaaed0922c981b175719e601e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6686, "upload_time": "2019-08-16T17:24:30", "url": "https://files.pythonhosted.org/packages/5d/31/dcb84acc2f92cd4a8795c602043858216f29e74952949bdda20048c931a9/rede_api-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c7681842360cc9c17e882103684e615", "sha256": "fb67c33ac2f4f3af6ff51c70bab125b76507e224b0b045a9c0bc7b8cfaaa28c6" }, "downloads": -1, "filename": "rede api-0.0.5.tar.gz", "has_sig": false, "md5_digest": "8c7681842360cc9c17e882103684e615", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3748, "upload_time": "2019-08-16T17:24:33", "url": "https://files.pythonhosted.org/packages/b1/2b/1ef9bc7e9cc39fb1d970b07e386dd69b64a4e284b58f99c71fa1750209b1/rede%20api-0.0.5.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "801f8df5299a437b203d8dc6c0ea04a0", "sha256": "9572e15ed8b1cc08323a2d614abc7a3fac56376055bcb144b2d6e42f7b07ce99" }, "downloads": -1, "filename": "rede_api-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "801f8df5299a437b203d8dc6c0ea04a0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6709, "upload_time": "2019-08-16T21:00:42", "url": "https://files.pythonhosted.org/packages/51/5f/79f2a53ba12ca110ec3938ea93abbc6a6fc8b0a27531229f3d20831919d6/rede_api-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bb3afc3b54a51771427d1e1ce52103b4", "sha256": "a87ecd8e22f8ab48b3587c2b88fccfa23879b7cc09bad547103d9de05d5fe1d7" }, "downloads": -1, "filename": "rede api-0.0.7.tar.gz", "has_sig": false, "md5_digest": "bb3afc3b54a51771427d1e1ce52103b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3758, "upload_time": "2019-08-16T21:00:45", "url": "https://files.pythonhosted.org/packages/b0/3c/6e0bca7ddb5c181fee33708c5719b76d936c5eaecd6de350922dd9835bdd/rede%20api-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "a9c18071a8baae5c6f8a90e05aa900d5", "sha256": "316622ad010fef197e32cf82c0a12f282fd36f48614a51c1089eca59e943a848" }, "downloads": -1, "filename": "rede_api-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "a9c18071a8baae5c6f8a90e05aa900d5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5096, "upload_time": "2019-08-21T14:17:41", "url": "https://files.pythonhosted.org/packages/36/38/3be2baeea42b104192dd60c924e8a6c932cb74460913c95c42fb21a43ec9/rede_api-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8fff94da043dba5704e0055c855835ba", "sha256": "b1b418934c3ce4a15461085645c11e680a122032986b026fa68b1df825c4ca66" }, "downloads": -1, "filename": "rede api-0.0.8.tar.gz", "has_sig": false, "md5_digest": "8fff94da043dba5704e0055c855835ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3768, "upload_time": "2019-08-21T14:17:42", "url": "https://files.pythonhosted.org/packages/99/ea/f23f001f03f6a5a1b027ec9a9c0bca5b1bae7db352e9c3f17703ac0f18d3/rede%20api-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a9c18071a8baae5c6f8a90e05aa900d5", "sha256": "316622ad010fef197e32cf82c0a12f282fd36f48614a51c1089eca59e943a848" }, "downloads": -1, "filename": "rede_api-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "a9c18071a8baae5c6f8a90e05aa900d5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5096, "upload_time": "2019-08-21T14:17:41", "url": "https://files.pythonhosted.org/packages/36/38/3be2baeea42b104192dd60c924e8a6c932cb74460913c95c42fb21a43ec9/rede_api-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8fff94da043dba5704e0055c855835ba", "sha256": "b1b418934c3ce4a15461085645c11e680a122032986b026fa68b1df825c4ca66" }, "downloads": -1, "filename": "rede api-0.0.8.tar.gz", "has_sig": false, "md5_digest": "8fff94da043dba5704e0055c855835ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3768, "upload_time": "2019-08-21T14:17:42", "url": "https://files.pythonhosted.org/packages/99/ea/f23f001f03f6a5a1b027ec9a9c0bca5b1bae7db352e9c3f17703ac0f18d3/rede%20api-0.0.8.tar.gz" } ] }