{"id":22363212,"url":"https://github.com/oanderoficial/cambio-py","last_synced_at":"2026-05-04T03:35:51.793Z","repository":{"id":220848663,"uuid":"657827386","full_name":"oanderoficial/Cambio-py","owner":"oanderoficial","description":"Fazendo uma requisição à API ExchangeRate para obter dados de taxa de câmbio de moedas para o Real Brasileiro (BRL). Extraindo os dados de taxa de câmbio da resposta e criando um DataFrame usando a biblioteca Pandas.","archived":false,"fork":false,"pushed_at":"2024-02-10T16:45:49.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T16:22:43.284Z","etag":null,"topics":["api","pandas","pandas-python","python","requests","requests-module"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oanderoficial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-06-24T00:38:53.000Z","updated_at":"2024-01-12T22:14:26.000Z","dependencies_parsed_at":"2024-02-04T21:10:36.741Z","dependency_job_id":null,"html_url":"https://github.com/oanderoficial/Cambio-py","commit_stats":null,"previous_names":["oanderoficial/cambio-py"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanderoficial%2FCambio-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanderoficial%2FCambio-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanderoficial%2FCambio-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanderoficial%2FCambio-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oanderoficial","download_url":"https://codeload.github.com/oanderoficial/Cambio-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245678901,"owners_count":20654738,"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","pandas","pandas-python","python","requests","requests-module"],"created_at":"2024-12-04T17:14:06.447Z","updated_at":"2026-05-04T03:35:46.770Z","avatar_url":"https://github.com/oanderoficial.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cambio-py\n\nFazendo uma requisição à API ExchangeRate para obter dados de taxa de câmbio de moedas para o Real Brasileiro (BRL). Extraindo os dados de taxa de câmbio da resposta e criando um DataFrame usando a biblioteca Pandas.\n\n```Python\nimport requests\nimport pandas as pd\n\n# Faz a requisição à API para obter os dados de moedas\nresponse = requests.get('https://api.exchangerate-api.com/v4/latest/BRL')\nif response.status_code == 200:\n    data = response.json()\n\n    # Extrai todos os dados do dicionário rates\n    dados = data['rates']\n    \n    # Cria um DataFrame com os dados\n    \n    dataframe = pd.DataFrame.from_dict(dados, orient='index', columns=['Taxa de Câmbio'])\n    dataframe.index.name = 'Moeda'\n\n\n # Exibe o DataFrame completo\n    with pd.option_context('display.max_rows', None, 'display.max_columns', None):\n        print(dataframe)\n\nelse:\n    print('Falha na requisição:', response.status_code)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foanderoficial%2Fcambio-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foanderoficial%2Fcambio-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foanderoficial%2Fcambio-py/lists"}