{"id":15489413,"url":"https://github.com/librecodecoop/dou-collector","last_synced_at":"2025-04-22T18:23:42.998Z","repository":{"id":37588933,"uuid":"234179786","full_name":"LibreCodeCoop/dou-collector","owner":"LibreCodeCoop","description":"Coletor de dados do DOU - Diário Oficial da União","archived":false,"fork":false,"pushed_at":"2024-11-13T16:45:00.000Z","size":193,"stargazers_count":10,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T17:35:55.121Z","etag":null,"topics":["diariooficial","hacktoberfest","php","scraper","symfony","webscraping"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LibreCodeCoop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-15T21:45:39.000Z","updated_at":"2024-09-19T22:37:48.000Z","dependencies_parsed_at":"2025-03-04T04:30:41.971Z","dependency_job_id":"91269867-3a42-404c-8fe5-67d9020c03c3","html_url":"https://github.com/LibreCodeCoop/dou-collector","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fdou-collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fdou-collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fdou-collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fdou-collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibreCodeCoop","download_url":"https://codeload.github.com/LibreCodeCoop/dou-collector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250296513,"owners_count":21407037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diariooficial","hacktoberfest","php","scraper","symfony","webscraping"],"created_at":"2024-10-02T07:05:34.629Z","updated_at":"2025-04-22T18:23:42.982Z","avatar_url":"https://github.com/LibreCodeCoop.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/LibreCodeCoop/dou-collector.svg?branch=master)](https://travis-ci.org/LibreCodeCoop/dou-collector)\n[![Coverage Status](https://coveralls.io/repos/github/LibreCodeCoop/dou-collector/badge.svg?branch=master)](https://coveralls.io/github/LibreCodeCoop/dou-collector?branch=master)\n[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat)](https://github.com/phpstan/phpstan)\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.3-blue.svg)](https://php.net/)\n\n# Coletor de dados\n\nColete dados do DOU - Diário Oficial da União\n\n## Composer\n\n```bash\ncomposer require librecodecoop/dou-collector\n```\n\nExemplo de uso:\n\n```php\n$DOU = new DouCollector\\DOU([\n    // Caso não queira colocar um limit, passe zero\n    'maxRequests' =\u003e 0\n]);\n\n// Data para a busca\n$data = '30-12-2019';\n// Irá buscar no título da publicação\n$palavrasChave = ['aviso de licita'];\n\nforeach ($DOU-\u003ecollectData($data, $palavrasChave) as $licitacao) {\n    $licitacoes[] = $licitacao;\n}\n```\n\n\u003e OBS: Este exemplo encontra-se implementado na pasta `example`\n\n## Testes\n\nTestes unitários implementados com PHPUnit, para executar os testes:\n```bash\nvendor/bin/phpunit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrecodecoop%2Fdou-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrecodecoop%2Fdou-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrecodecoop%2Fdou-collector/lists"}