From c194040e45c5df937e44bd86b98c370c936e4a99 Mon Sep 17 00:00:00 2001 From: jhowbhz Date: Wed, 31 May 2023 20:12:53 -0300 Subject: [PATCH] fix and versions --- README.md | 4 +- apigratis_sdk_python.egg-info/PKG-INFO | 6 +- build/lib/apigratis/Service.py | 53 ------------------ build/lib/apigratis/__init__.py | 0 dist/apigratis-sdk-python-1.0.1.tar.gz | Bin 3723 -> 0 bytes dist/apigratis-sdk-python-1.0.2.tar.gz | Bin 0 -> 3698 bytes ...pigratis_sdk_python-1.0.1-py3-none-any.whl | Bin 4960 -> 0 bytes ...pigratis_sdk_python-1.0.2-py3-none-any.whl | Bin 0 -> 4121 bytes examples/example.py | 8 +-- pyproject.toml | 2 +- setup.py | 2 +- 11 files changed, 11 insertions(+), 64 deletions(-) delete mode 100644 build/lib/apigratis/Service.py delete mode 100644 build/lib/apigratis/__init__.py delete mode 100644 dist/apigratis-sdk-python-1.0.1.tar.gz create mode 100644 dist/apigratis-sdk-python-1.0.2.tar.gz delete mode 100644 dist/apigratis_sdk_python-1.0.1-py3-none-any.whl create mode 100644 dist/apigratis_sdk_python-1.0.2-py3-none-any.whl diff --git a/README.md b/README.md index cdb1d04..bd1fa47 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ _Transforme seus projetos em solucoes inteligentes com nossa API. Com recursos c ## Como instalar -```pip install apigratis``` +```pip install apigratis-sdk-python``` ## Canais de suporte (Comunidade) [![WhatsApp Group](https://img.shields.io/badge/WhatsApp-Group-25D366?logo=whatsapp)](https://chat.whatsapp.com/KsxrUGIPWvUBYAjI1ogaGs) [![Telegram Group](https://img.shields.io/badge/Telegram-Group-32AFED?logo=telegram)](https://t.me/apigratisoficial) @@ -16,7 +16,7 @@ https://apigratis.com.br ## Mais informacoes -https://pypi.org/project/apigratis +https://pypi.org/project/apigratis-sdk-python ## Servicos de API disponiveis diff --git a/apigratis_sdk_python.egg-info/PKG-INFO b/apigratis_sdk_python.egg-info/PKG-INFO index 3840016..efb69fc 100644 --- a/apigratis_sdk_python.egg-info/PKG-INFO +++ b/apigratis_sdk_python.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: apigratis-sdk-python -Version: 1.0.1 +Version: 1.0.2 Summary: Transforme seus projetos em soluções inteligentes com nossa API. Com recursos como API do WhatsApp, geolocalização, rastreamento de encomendas, verificação de CPF/CNPJ e mais, você pode criar soluções eficientes e funcionais Home-page: https://github.com/APIBrasil/apigratis-sdk-python Author: APIBRASIL @@ -14,7 +14,7 @@ Description: # SDK Python - APIGratis by API BRASIL ## Como instalar - ```pip install apigratis``` + ```pip install apigratis-sdk-python``` ## Canais de suporte (Comunidade) [![WhatsApp Group](https://img.shields.io/badge/WhatsApp-Group-25D366?logo=whatsapp)](https://chat.whatsapp.com/KsxrUGIPWvUBYAjI1ogaGs) [![Telegram Group](https://img.shields.io/badge/Telegram-Group-32AFED?logo=telegram)](https://t.me/apigratisoficial) @@ -24,7 +24,7 @@ Description: # SDK Python - APIGratis by API BRASIL ## Mais informacoes - https://pypi.org/project/apigratis + https://pypi.org/project/apigratis-sdk-python ## Servicos de API disponiveis diff --git a/build/lib/apigratis/Service.py b/build/lib/apigratis/Service.py deleted file mode 100644 index adb2bff..0000000 --- a/build/lib/apigratis/Service.py +++ /dev/null @@ -1,53 +0,0 @@ -import requests -import json - -class Service: - - def whatsapp(dados): - - try: - server = "https://cluster-01.apigratis.com/api/v1/whatsapp/" - - data = json.loads(dados) - - if not data['action']: - raise Exception('Action não informada, verifique a documentação') - - action = data['action'] - - url = server+str(action) - - if not data['body']: - raise Exception('Body não informado, verifique a documentação') - - payload = json.dumps(data['body']) - - credentials = data['credentials'] - - if not credentials['SecretKey']: - raise Exception('SecretKey não informado') - if not credentials['PublicToken']: - raise Exception('PublicToken não informado') - if not credentials['BearerToken']: - raise Exception('BearerToken não informado') - if not credentials['DeviceToken']: - raise Exception('DeviceToken não informado') - - headers = { - 'Content-Type': 'application/json', - 'SecretKey': credentials['SecretKey'], - 'PublicToken': credentials['PublicToken'], - 'Authorization': 'Bearer ' + credentials['BearerToken'], - 'DeviceToken': credentials['DeviceToken'] - } - - agent = 'APIBRASIL\Whatsapp/1.0.0' - - headers['User-Agent'] = agent - - response = requests.request("POST", url, headers=headers, data=payload, allow_redirects=False, stream=True, proxies=None) - - return json.loads(response.text.encode('utf8')) - - except Exception as e: - return {'error': str(e)} \ No newline at end of file diff --git a/build/lib/apigratis/__init__.py b/build/lib/apigratis/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/dist/apigratis-sdk-python-1.0.1.tar.gz b/dist/apigratis-sdk-python-1.0.1.tar.gz deleted file mode 100644 index 9267ff59423bad79a776b98eb12b62909d87c1a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3723 zcma)8_d6B-<29qqvPU61TqG+iWR{V=FS57WHS)$qlzGVr@pg@DQgV%?t8%lmGq0PF zJ+F0*`}+3%`~#oQd7kq;=ZABi^W!;uDYUdpBVle7z$M7r6XpW-1@N}b~aww#L0U~$L)s~y_#Zrb`KLaOFUj?5AFRs7g%9c4#5rXaB_2W0fg$niDIc%`b=bwzmQXeOzDx>r3GP0bN z+~%u{Ow|7LJXl~*&QZ-6KkU-mrZXUB7`o6vNr%e_2ebaYHh%`CNc|ZO?R8plE}ZI& z;;KUAVYtTbo8h7Ok48qCc&IEi;A226W9vH|)bvkjdMc7RYgPA~o#5fAJ!*O7WyUv4 z$X>Ttrzb-nn@$C4BU+=H>}S-KP9>J%J(5^~Qz%K>k$mX12>aYp)IGIk%}fq_^y^@ zUU=iIDXiP`^9h|0W;ia}X7Q`NKwzDEn2_69D9F}@TJKP zykKal!gNiGq)yvn2!S*5)aBvCJv5{NHthnsTun|{=TPij7V3t!T&-UT z%8u02v5)ha^XrXlh5-DA^<^C4{;z18G^1f|M*64j!L!-Vg$+3dcz4YP9L5K*K94JZ z`jMvDDMyHPH)JOr3ldkqNeO;#NF$;@?fp19N}q?K{4bh_!I+zu{7j4`;C=p#<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bz0*Ze2It*rB5dFm5_E0NN z21U*Co!A`?71cna^No)b%sblhYjA@W{(%*X7lQ(x1ML3LiimVVcv+Lj>(grlowLHn zI+-ENOVEK{r{F!o7|YNfV_OO&;)_*_N+2DE-=RIFa>` Gk^LWZ+LVI; diff --git a/dist/apigratis-sdk-python-1.0.2.tar.gz b/dist/apigratis-sdk-python-1.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d092a35b2372e136a719ef86e334167cbccfbf52 GIT binary patch literal 3698 zcma)+_dnH-`^F0;yOM%gAB=++S+C2tQNQjwUgDq?n~VL zQ<14&z*mL`pZo;j`c`l|E0HR|EFJ$)7W+_Ly&J2COH}{2C)^2Z>1v9(C8ep<@p~hC*su}lV=A(@PMtwf=4K=)Ir*5U!guNX@Nb}5+YvW8F z@&&4*BfO<%LJxt0bBLoOe6sr-SSSRbHoKXp41o+B&cx=0-FAEz{aa~C zKzbgrO=B^D2L`t27;*;4UPq2ZxY0DL?Y!`e1Jyp-n-E$zd*rBxcr3Wa4Wj>7X?wz` zsO7-$Oiho6f#*0JA5E!hs90(!vx0?0kT|lZ0?Bc+QpRD-91`lqFMWl&D@Nl(a0ICgV?99D5)o2=-gDKOk7mfPd37-YT+z&vNoko zceNK%%%=Nx;fup3J(ITlFpy)4967mk`a05ZU)b|8@W`Tb>?_Gq7#b;>QI04hHC0L6z4=T z42&#&$%)sYhs4Oeq3(OK`K9U$?P3O!Hc#_7Y*9y zryoQ6<-I&V#8EY;taZ-pm>&F4T3ApD4T@+wMr|Zq=02!ZcqTl-A0%V!{XJco%1=li z-r2ISkVrwjs=*&k<~Yd9rB#vUFlM3G1+t;|-Qh41LwhuYz3-ZU_zCXKaFQGIksp+h z42QS&2WF;8mhqc=Xl5-9*3+#p2!uY!Q5lm@Hy@)qt?@J(48CnRl2z!v>kf9gAEG@j zf2^c+(_-YSJ+(bEeK~(?*%y9?a4$4gzIC2VQfx(mYW1l3qwjDoc;s*^5Z7Uuo0mQo zk@Xe#h{%%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btBWr+hxCHAyP}3rHv(;l&8H?oyBU09Lv< zKx#+$2nf0R%V(W&O@s=B4$7DYoG49=gMVA=t{C!I?9;e!4<3(H$-E4rwY9ck*$y=+ zn)zC9K3!}su8sPzeC>TnGuXi0##j2N0PN#d%B9Ip4qkNFE-hU%kKGC2rThzJq+))p zzeZTQM-JdOXz-z;)ru0I*Tc8a)7n(;Ts)bh? iDP6aUR>D^ZcG{{P#>D;)a}>7;7};50UK_l2?f(E{L#6Tn literal 0 HcmV?d00001 diff --git a/dist/apigratis_sdk_python-1.0.1-py3-none-any.whl b/dist/apigratis_sdk_python-1.0.1-py3-none-any.whl deleted file mode 100644 index af72e275e8cbac6c56fbdd17f2be4df495d212e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4960 zcmeI0cT^MU8pcBtkRnBpCLM$j5}H(z5;_Dz5s;Ed?@0_u6Db-H5H&QBCQZ5&1wn`* zQl&R3Dj-snUR78d+_-yoVfVQA_}~5K&YYRa%sJn0-ZOdTndklB##GeD0RR9U0Podg zy<@*3VL=H1d^`dG{J83b@$$er1$g;GEZwkyUM_B6Oh~pB4ECOXFo&of^{#8>7QRO7ihsI(ANO_qZMBwC~n&~oEzF!5P@p1Prw&mb+!##2V1U5 zn913%IdZ1PvIq%lOF9!TAyv!oT=1*FrEkj)j)mda{ZKQsh>Dzj!<*X^wlVCV*iE1E z6-L^0GHD6E<;MQ_MWp(Q8o*1@jC8KC_iE`x*7e;!=e}oM7_+@-dWRd6b1}5rO3BIX z%;oeamh81YPxohUmfVmE8qyek+xSuo_5SF)4dK(7OJ(y3H8(_v!vJ=p-gj@B6nFd z^~o@6Nh>hRC57j;XF8Qi8;)>xL@QXa)`p~JyQo0V*n zP=tQpA;?n^mhc2hN ztDfJe;B5|F>~m#CN3O}0Z(Y@fR5QEK{t~ja)`IkH)-l zq%`Tc-lf=<_!chjV7I;bhJUr|4F?^6>t$hLu!-hbcIAe#z>jF>2Or+a*iN4sw97y1 zK*_1j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ihQ=o4s+NkZDFugm0-g@hy!_U@>mNxg+ciNaW4&w%kLthaoA zmhw;xS0lT>t4ezA336>ea=YBG));`sAbs5e-F(3T!2!mgP7?^ZFwmH^Y1f!^38<@c zVD9j3etcx^H%7MyPyhh*Q~-d~uinN&7iwmqQ!&tk&DR7(&s@0|Ej}r917tAaP&Zesmhmr&x$;$t4+ffKGTk`UYbvf8#iq1yc387fdG8~ZoJAqK0R|4wOsE1wVYjmK&rp<&8mw8#OoTSv?p!x zR|iIfx1ZJN;hLgZso~`XqS8uv_3N3wiG6J zNT-^hPvwSS`jX-@~} zEOHe5>k<4n^zUYMnENwJIpAtC|04Hq26LGIGcWm*UrSN^tNcHl1#V13o;4$z5_x@3 LmXIsUkF);(-YYdG diff --git a/dist/apigratis_sdk_python-1.0.2-py3-none-any.whl b/dist/apigratis_sdk_python-1.0.2-py3-none-any.whl new file mode 100644 index 0000000000000000000000000000000000000000..1300170a9d227de7d5a32ee33bfa3c0923824388 GIT binary patch literal 4121 zcma)<2T+sQ7RN&`3Ivc)1?eOZ5{QBb(tC{|(joK^VFQE?Ql$$BN|6;rkX|el6)`jc z0qN3_-a7`tw#v)y&OTkn_s09pz27(A%>CUnbN}be{~!&hs80a^0D1u5vnI1c>rDw1 zB>?cA761?+|8?-fVF?btI3K8wvpdu)$k)vi4>NTk_~V>hq`iW2(MFz=sz9RfI{`Br z&?%>vRn<#W?==#w>PnFZss(ONEDqLFn|%-1-O@2{G{SYiSzvp!T9{+D+P6q6#2`e2 z@GZl92l^($fVMm@!EaBaqISYfuGPY=wWBSNZD7_%VZy3geCd>252BQO3DVswd!uiLf*NpPJbXWHH|?KoExq5j@97j zkJ-}fO1$E4Au=JR%_TO`+U4mOfh8AC#3%+5K$e=oeF_gLJ~s_q%THp+>YXgb^YZ*(pg~*^_?l?>O^PT zkXfMVwuFhS^|mc2BOWLyqz-l@`e80qWZM5$6`f6z85q49&HfvHp3bf+??^A1G-VOX ze!y=0g0CpTypu`o%p5o2&o3g?7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!_|5(Qvpage0NDNHYwNljPlOG*rv5o0zgk<(b+xn%PxR{=^$s!_Kp}lS{WU1~Fk+5i z(rWZw>-pgiVWoE5U~agt->AWzv}jnUWB3*+J9@8Tit8|Z5w)oBPL z2PQQNHSQXPmP&PX_Aeek21TRx5k~<4c#}<%z!ZCEZ}8Z!1)JykgRkNXRljCqSrl80S#df8+_ zh`-15p8BG4^BaG5T8WMVTEN8Dk>XFnj>9& zp^zrDDx=cddZGF)OSJ({y}hOkjKI71*6EV{+LS#_^BZ}j0R`nL!2j;i$k+DQcoO;N z>!%j^d&l-8>}L-9ZxjIVB=QDX5Ir@!b7~UrVv~tNgz+8EHU6 UZubEII`ZQ{zNZ4R=L7)$1Ba^E6aWAK literal 0 HcmV?d00001 diff --git a/examples/example.py b/examples/example.py index b6b0056..3126c27 100644 --- a/examples/example.py +++ b/examples/example.py @@ -5,7 +5,7 @@ from apigratis.Service import Service import json -def main(): +def sendText(): json_data = { "action": "sendText", @@ -22,9 +22,9 @@ def main(): } } - teste = Service.whatsapp(json.dumps(json_data)) + sendText = Service.whatsapp(json.dumps(json_data)) - print(teste) + print(sendText) if __name__ == "__main__": - main() + sendText() diff --git a/pyproject.toml b/pyproject.toml index fe0bbbc..3bd707f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "apigratis-sdk-python" description = "A ideia desse SDK é otimizar o tempo de código dos usuários auxiliando na integração com a plataforma" -version = "1.0.1" +version = "1.0.2" authors = [ { name="APIBRASIL", email="contato@apibrasil.com.br" }, ] diff --git a/setup.py b/setup.py index f16a0da..0ba5461 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ readme = fh.read() setup(name='apigratis-sdk-python', - version='1.0.1', + version='1.0.2', url='https://github.com/APIBrasil/apigratis-sdk-python', license='MIT License', author='APIBRASIL',