Skip to main content

Cliente Python para la API de TURUC Paraguay

Project description

tu-ruc-python-client

pipeline

Cliente Python para la API de TuRuc Paraguay

Esta biblioteca proporciona funciones para realizar consultas a una API de contribuyentes. Permite buscar contribuyentes por un término de búsqueda y paginación, así como obtener información detallada sobre un contribuyente específico a través de su número de RUC o CI.

Instalación

Instala la biblioteca a través de pip:

pip install tu_ruc_python_client

Importa las funciones que necesitas en tu código:

# Opción 1
from tu_ruc_python_client import get_contribuyente_by_search, get_contribuyente_by_ruc


# Opción 2
from tu_ruc_python_client import *

Uso

get_contribuyente_by_search(search, page)

[!TIP] Se recomienda usar esta función para integración con sistemas.

Parametros

  • search (str): Término de búsqueda.
  • page (int): Número de página de resultados.

Ejemplo de uso

from tu_ruc_python_client import get_contribuyente_by_search

print (get_contribuyente_by_search('juan perez'))

print (get_contribuyente_by_search('juan perez', page=2))

print (get_contribuyente_by_search('5898204-3'))

get_contribuyente_by_ruc(ruc)

Parametros

  • ruc (str): Número de RUC.

Ejemplo de uso

from tu_ruc_python_client import get_contribuyente_by_ruc

print (get_contribuyente_by_ruc('5898204-3'))

Contribuciones

Las contribuciones son bienvenidas. Para cambios importantes, primero abra un problema para discutir lo que le gustaría cambiar.

¡Gracias por contribuir!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tu_ruc_python_client-0.0.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tu_ruc_python_client-0.0.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file tu_ruc_python_client-0.0.3.tar.gz.

File metadata

  • Download URL: tu_ruc_python_client-0.0.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for tu_ruc_python_client-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d8e022f0aeb49a8d8d2c0c7fb89c53ba9f0e60ba6ba7bef52cce89ddb84b516f
MD5 6671573e2a42a1bd0a66b8dca9d000b7
BLAKE2b-256 7001e80ba03785684f6e1fb022e666bb3cb2cbe685640a0c046600a963c1f795

See more details on using hashes here.

File details

Details for the file tu_ruc_python_client-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for tu_ruc_python_client-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a819f45794777c0db86a18418e1ae787ddc13dffb9338d451d5730fea56805a4
MD5 c063d1cb2eee5a8f4700803c018f4d56
BLAKE2b-256 3bd7548046861fd477be8fc59170137aa4181e5330ac89b4ea534bece39cfdc2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page