Edge UOL

    Discover how we transform the IT area of ​​the best companies on the market.

    Who we are Careers News

    ManageEngineseta

    Take control of your company’s IT with integrated and secure management tools.

      Identity and Management Access Service Management Unified Endpoint and Security Management IT Operations Management Security Event Management Analytics

    Hybrid & Multicloud Servicesseta

    Count on specialists to ensure your applications run with maximum security and efficiency.

      Migration and Modernization FinOps CCoE – Cloud Center of Excellence Well Architected

    Edge VMware Cloudseta

    Use hybrid cloud with the security of having the support of one of the most important players in the market.

      Edge VMware Cloud Disaster Recovery as a Service (DRaaS) Secure Desktop (DaaS) Edge Computing Multicloud Integration Platform

    AI Operationsseta

    Minimize manual interactions in the IT environment, enhancing security and productivity.

      Managed Services Intelligent Monitoring and Observability MySQL Heatwave Patch Management as a Service DevOps Data & Analytics Artificial Intelligence Squads SAP Services Oracle Experts

    Cybersecurityseta

    Protect information and systems, delivering benefits to companies and their customers.

      AI Security Operations Center (SOC) EndPoint Protection Web Application Protection Vulnerability Management Incident Response Brand Protection Monitoring Password Vault Privileged Access Management (PAM)

    Private Networksseta

    Provide your company with Private Network solutions that only an end-to-end integrator can offer.

      Consulting Network Management Private Network Implementation (4G and 5G)

    Payment Solutionsseta

    Handle payments, invoice issuance, and document transfer with credibility and data security.

      BPag - Payment gateway Notanet - Invoice issuing platform EDI Transfer - Transfer of tax files

    Hosting and Colocationseta

    Outsource efficiently, maintaining control over everything your company needs.

      Hosting Colocation
Partners Cases

    Get Inspired

    Tech Universe seta

    Learn about technological innovations and how they can benefit your company.

    Tech Insights seta

    Articles, events, and information to go beyond and dive deep into each technology. Be inspired to transform your company.

    Articles E-books Events Web series
Contact Us EN
  • EN - Inglês
  • BR - Português (Brazil)
Article/

[Portuguese Only] API: integrando ferramentas com Python

December 29th, 2022
AI Operations
By Gabriel Silva Fernandes da Costa
[Portuguese Only] API: integrando ferramentas com Python

Hoje, no mercado da tecnologia, existem ferramentas para todo tipo de necessidade. Algumas parecidas, mas com características diferentes. E, muitas vezes, há grande dificuldade em integrar uma ferramenta à outra quando não há suporte para a mesma. O que fazer nessa situação? Desistir e ir atrás de outra ferramenta? Com certeza não é a decisão ideal.

Neste artigo, vamos falar de API, e usar a linguagem Python como exemplo de uso. Com ela, é possível resolver a maioria dos problemas de integração existentes no mercado hoje em dia. Mas, como?

API (Application Programming Interface)

A maioria das ferramentas possui uma Interface de Programação de Aplicação (API), onde é possível buscar, editar, criar ou excluir dados na ferramenta usando dois métodos conhecidos como POST e GET por meio dos protocolos HTTP e HTTPS.

Na maioria das vezes, para se conectar à API, é necessário ter usuário e senha, um token ou uma chave de acesso, ambas geradas ou criadas pela própria ferramenta.

Como o Python se encaixa nisso? Ao criar uma integração com Python, é possível usar a biblioteca requests para fazer uma requisição na API da ferramenta por meio do GET (ao buscar dados) ou POST (ao enviar informações para que a ferramenta tome alguma ação).

Veja um exemplo:

# importando biblioteca requests

import requests

# recuperando da plataforma PLOS artigos com título contendo string “DNA”

lista_de_artigos = requests.get(‘http://api.plos.org/search?q=title:DNA’)

# exibindo dados recuperados em formato texto

print(lista_de_artigos.text)

Dessa forma, com um simples script em Python, podemos buscar dados de uma ferramenta e enviá-los para outra usando POST. Algumas integrações já foram criadas dessa forma por nós, Edgers. Veja alguns casos:

  • Integração do VMware Carbon Black com SMAX e Power BI;
  • Integração do Nessus com Power BI;
  • Integração do Zabbix com HP Service Manager e SMAX;
  • Integração do Zabbix com Ansible Tower.

Ao integrar essas ferramentas, é possível gerar relatórios de alertas de segurança, executar alguma ação automaticamente, caso alguma trigger seja ativada, e muito mais.

Tags:
AI OperationsAIOps & Integration AutomationTechnology

Related

AI Operations Artificial Intelligence Cybersecurity

The contribution of Artificial Intelligence in Cybersecurity

Rodrigo Rangel Lobo
AI Operations Infrastructure Services Managed Services

[Portuguese Only] AI Operations: A Real Transformação dos Serviços de TI para o Negócio

Leonardo Schumacher
Infrastructure Services Managed Services

[Portuguese Only] Cloud sim, mas com governança

Leonardo Schumacher
Edge VMware Cloud VMware Partner

[Portuguese Only] Evolução das redes virtualizadas VMware

Fernando Henrique

Get in touch

Our team of specialists is ready to meet your company's demands, so it can achieve better results.

Contact usseta
Logo Edge UOL

Edge UOL

Who we are Careers Partners News

Partners

Case Studies

Solutions

ManageEngine Hybrid & Multicloud Services Edge VMware Cloud AI Operations Cybersecurity Private Networks Payment Solutions Hosting and Colocation

Tech Universe

Cybersecurity Cloud Computing Payment Gateway ITSM and IT Governance IoT and Edge Computing Autonomous Operations Digital Transformation Private Networks

Tech Insights

Articles E-books Events Web series

Contact Us

Grupo UOL
Privacy Policy
Terms of use
Information security
Quality management policy
Accessibility
facebook Edge UOL linkedin Edge UOL youtube Edge UOL instagram Edge UOL
© Edge UOL - 2021 - 2025 - All rights reserved
Logo LVT