Skip to main content

API para obtener articulos de la pagina oficial de la UNI Nicaragua

Project description

UNIngPy, un API sobre articulos de uni.edu.ni

Repo Version PyPI PyPI - Python Version PyPI - Status PyPI - License Tweet - Contact

Descripcion

UNIngPy es un package de python que extrae los articulos oficiales de http://archivodenoticias.uni.edu.ni/Articulo/ Fue desarrollado con la intencion de ayudar a la facil extraccion de informacion de la pagina de la UNI-Nicaragua.

Requisitos

Instalacion con Pip

pip install UNIngPy

Uso

>>>from UNIngPy import uniarticles

>>>arts = int(input('Cuantos articulos desea ver? '))

>>>if __name__ == "__main__":
...    res = uniarticles(True).search(arts)
...
...    for entry in res:
...        print((Fore.RED + "Titulo:" + Style.RESET_ALL + "{title}".format(**entry)))
...        print((Fore.RED + "Fecha de publicacion:" + Style.RESET_ALL + "{date}".format(**e...ntry)))...
...        print((Fore.RED + "Contenido:" + Style.RESET_ALL + "{preview}".format(**entry)))
...        print((Fore.RED + "Leer completo:" +Style.RESET_ALL+" {redirect}\n".format(**entry)))
Con el ejemplo anterior podrán obtener los detalles exactos de los articulos, para usarlos individualmente o en conjunto.

El ejemplo lo pueden encontrar en la carpeta tests, por si desean ojearlo.

Contribución

El desarrollo del proyecto se lleva a cabo en github, https://github.com/MrH0wl/UNIngPy, abra un problema allí para informar errores o sugerir mejoras.La colaboración es muy bienvenida, solo bifurca(fork) el proyecto en github y envía pull request al repositorio principal.

Licencia

UNIngPy se publica bajo la licencia GNU General Public License v3. Mira en LICENCIA para mas detalle.

Desarrolladores

Autor:

👤 Jackson Blandon

Lista de contribudores: https://github.com/MrH0wl/UNIngPy/graphs/contributors

Soporte

Si crees que encontraste un bug o tienes problemas con la instalacion, abre un ticket en GitHub: https://github.com/MrH0wl/UNIngPy/issues

— ❤️ —

Drylabs maintains dry-python and helps those who want to use it inside their organizations.

Read more at drylabs.io

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

UNIngPy-0.4.11-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

UNIngPy-0.4.11-py2-none-any.whl (17.1 kB view hashes)

Uploaded Python 2

Supported by

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