{"id":15649150,"url":"https://github.com/ramonpaolo/api-b3","last_synced_at":"2025-04-30T15:23:44.347Z","repository":{"id":49065763,"uuid":"326482564","full_name":"ramonpaolo/api-b3","owner":"ramonpaolo","description":"API Simples que retorna dados sobre tal ação/empresa da B3","archived":false,"fork":false,"pushed_at":"2022-12-21T01:08:09.000Z","size":6605,"stargazers_count":53,"open_issues_count":0,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-25T08:51:22.423Z","etag":null,"topics":["api","flask","heroku","opensource","python","web-scraping"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ramonpaolo.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":"2021-01-03T19:15:03.000Z","updated_at":"2025-02-12T04:31:11.000Z","dependencies_parsed_at":"2023-01-30T02:15:56.215Z","dependency_job_id":null,"html_url":"https://github.com/ramonpaolo/api-b3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonpaolo%2Fapi-b3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonpaolo%2Fapi-b3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonpaolo%2Fapi-b3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonpaolo%2Fapi-b3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ramonpaolo","download_url":"https://codeload.github.com/ramonpaolo/api-b3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242667466,"owners_count":20166296,"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":["api","flask","heroku","opensource","python","web-scraping"],"created_at":"2024-10-03T12:28:17.943Z","updated_at":"2025-03-09T08:30:59.429Z","avatar_url":"https://github.com/ramonpaolo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Ações\n### API simples que retorna: Preço, DY, ultimo valor em dividendos, logo, preço mínimo em 12 meses, preço maxímo em 12 meses, oscilação diária, oscilação anual, cnpj e link do site de RI.\n\n### Libs Utilizadas:\n- Fast API\n- numpy\n- sqlite3\n- beautifulSoup4\n\n### Descrição do Funcionamento:\nAo executar: \u003ccode\u003epython main.py\u003c/code\u003e, Fast API irá executar localmente na porta 8000(no debug), abrindo as seguintes rotas: \n  - docs (rota padrão do Fast API)\n  - get-tickers\n  - get-ticker/{nome da ação. exemplo: petr4}\n  - get-tickers-by-order/{exemplo: valor_cota}\n  - get-values-cryptos\n\nAo executar: \u003ccode\u003epython updateValues.py\u003c/code\u003e, será feito web-scraping com bs4(Beautiful Soup) no site \u003ca href=\"https://statusinvest.com.br\"\u003eStatus Invest\u003c/a\u003e, onde irá atualizar os tickers(FIIs, BDRs, ETFs e Ações) e os valores das Crypto Moedas no site \u003ca href=\"https://coinranking.com/\"\u003eCoin Ranking\u003c/a\u003e\n\nAo clocar o projeto, o dev deverá criar uma conta de desenvolvedor no site \u003ca href=\"https://developers.coinranking.com/api\"\u003eCoin Ranking Developers\u003c/a\u003e, para gerar sua API de cotação das Crypto Moedas, e colocar no arquivo:\n\n* get_price_cryptocurrencies.py\n\nSubstituindo API_KEY pela chave gerada anteriormente.\n\nProjeto com deploy no \u003ca href=\"https://heroku.com\"\u003eHeroku\u003c/a\u003e, na url: \u003ca href=\"https://api-b3-python.herokuapp.com\"\u003ehttps://api-b3-python.herokuapp.com\u003c/a\u003e\n\n\u003cimg src=\"https://img.shields.io/github/stars/ramonpaolo/api-b3\" alt=\"Stars\"/\u003e \u003cimg src=\"https://img.shields.io/github/license/ramonpaolo/api-b3?color=2b9348\" alt=\"License\"/\u003e\n![GitHub repo size](https://img.shields.io/github/repo-size/ramonpaolo/api-b3) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flask) ![GitHub top language](https://img.shields.io/github/languages/top/ramonpaolo/api-b3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonpaolo%2Fapi-b3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framonpaolo%2Fapi-b3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonpaolo%2Fapi-b3/lists"}