Coder Social home page Coder Social logo

python-comprasnet's People

Contributors

gabrielrocha avatar moacirmoda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

python-comprasnet's Issues

Scrap all information from page "Resultado por Fornecedor"

  • Make a GET request to address http://comprasnet.gov.br/livre/pregao/FornecedorResultado.asp with this parameters:
    • prgcod: Auction ID (can be found on #5) (Example: 712965)
    • strTipoPregao: E
  • To extract all informations from header and items
  • Retrieve a json with all informations
  • Maintain main language (portuguese) for all json fields

Scrap all information from page "Consulta Ata do Pregão"

  • Make an GET request from this address http://comprasnet.gov.br/livre/pregao/ata2.asp with this parameters:
    • co_no_uasg: UASG code (example: 986589)
    • numprp: Auction code (example: 192018)
  • Extract all links contained in this page:
    • Resultado por Fornecedor
    • Declarações
    • Ato do Cadastro da Reserva
    • Anexo da proposta
    • Termo de adjudicação
    • Termo de homologação
    • Esclarecimentos
    • Ata do pregão
  • Also extract Auction ID, that can be found in any of this links above.

Scrap all information came from "Consulta de Licitações" page

  • Scrap all informations from "Consulta de Licitações" page [1].
  • To execute search filling only "Período de Publicação" and "Modalidades" fields.
    • To fill the first field with the same date in field from and until.
    • To fill the last field checking "Todas" box.
    • See image below

image

  • After submiting the form, to scrap all information from each result in result page.
  • Retrieve a dict with scrapped informations
  • Maintain main language (portuguese) for all dict fields

[1] - http://comprasnet.gov.br/ConsultaLicitacoes/ConsLicitacao_Filtro.asp

Scrap all informations from "Termo de adjudicação" page

  • Make a GET request to address http://comprasnet.gov.br/livre/pregao/termojulg.asp with this parameters:
    • prgcod: Auction ID (can be found on #5) (Example: 712965)
    • Acao: A
  • To extract all informations from header and items
  • Retrieve a json with all informations
  • Maintain main language (portuguese) for all json fields

Scrap all information from page "Download de Editais"

  • Makes an GET request to this endpoint: http://comprasnet.gov.br/ConsultaLicitacoes/download/download_editais_detalhe.asp passing this parameters:
    • coduasg: UASG code (example: 160478)
    • modprp: (I don't now parameter meaning, but in every link this parameter has value equals 5)
    • numprp: Auction code (example: 32018)
  • To extract informations from "Itens e serviços" section
  • Retrieve a dict with all informations
  • Maintain main language (portuguese) for all dict fields

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.