{"id":19694535,"url":"https://github.com/vaneves/lottery","last_synced_at":"2025-10-04T20:04:39.756Z","repository":{"id":62543764,"uuid":"52453446","full_name":"vaneves/lottery","owner":"vaneves","description":"🍀 Resultado das Principais Loterias do Brasil","archived":false,"fork":false,"pushed_at":"2017-06-05T21:46:53.000Z","size":49,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T15:02:57.326Z","etag":null,"topics":["lottery","megasena","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaneves.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-24T15:40:54.000Z","updated_at":"2022-09-07T12:50:23.000Z","dependencies_parsed_at":"2022-11-02T21:30:26.420Z","dependency_job_id":null,"html_url":"https://github.com/vaneves/lottery","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/vaneves%2Flottery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Flottery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Flottery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Flottery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneves","download_url":"https://codeload.github.com/vaneves/lottery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251483698,"owners_count":21596582,"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":["lottery","megasena","php"],"created_at":"2024-11-11T19:23:28.414Z","updated_at":"2025-10-04T20:04:34.736Z","avatar_url":"https://github.com/vaneves.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lottery\n\n## Installing\n\nVia Composer\n\n```\ncomposer require vaneves/lottery\n```\n## Cron Jobs\n\n```\n0 2 * * * wget -q -O tmp/megasena.html http://loterias.caixa.gov.br/wps/portal/loterias/landing/megasena/\n0 2 * * * wget -q -O tmp/quina.html http://loterias.caixa.gov.br/wps/portal/loterias/landing/quina/\n0 2 * * * wget -q -O tmp/lotofacil.html http://loterias.caixa.gov.br/wps/portal/loterias/landing/lotofacil/\n0 2 * * * wget -q -O tmp/lotomania.html http://loterias.caixa.gov.br/wps/portal/loterias/landing/lotomania/\n0 2 * * * wget -q -O tmp/timemania.html http://loterias.caixa.gov.br/wps/portal/loterias/landing/timemania/\n0 2 * * * wget -q -O tmp/duplasena.html http://loterias.caixa.gov.br/wps/portal/loterias/landing/duplasena/\n```\n\n## Usage\n\n``` php\nuse Vaneves\\Lottery\\Lottery;\nuse Vaneves\\Lottery\\MegaSena;\n\n$lottery = new MegaSena();\n$lottery-\u003eload('html/megasena.html');\n\n$result = new \\stdClass;\n$result-\u003enumber = $lottery-\u003egetNumber();\n$result-\u003edate = $lottery-\u003egetDate();\n$result-\u003eresult = $lottery-\u003elistResults();\n$result-\u003eawards = $lottery-\u003elistAwards();\n$result-\u003enext = $lottery-\u003egetNext();\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneves%2Flottery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaneves%2Flottery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneves%2Flottery/lists"}