{"id":29246639,"url":"https://github.com/gm7avila/fastyoutubeapi","last_synced_at":"2026-05-15T08:38:18.427Z","repository":{"id":296615181,"uuid":"978276487","full_name":"GM7Avila/FastYoutubeAPI","owner":"GM7Avila","description":"🚧","archived":false,"fork":false,"pushed_at":"2025-05-31T23:26:05.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T23:05:07.445Z","etag":null,"topics":["fastapi","youtube-api"],"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/GM7Avila.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-05T18:30:42.000Z","updated_at":"2025-05-31T23:26:09.000Z","dependencies_parsed_at":"2025-06-01T09:42:06.990Z","dependency_job_id":"01878582-0383-4dc0-84fd-25d1cf9ca3e7","html_url":"https://github.com/GM7Avila/FastYoutubeAPI","commit_stats":null,"previous_names":["gm7avila/fastyoutubeapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GM7Avila/FastYoutubeAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GM7Avila%2FFastYoutubeAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GM7Avila%2FFastYoutubeAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GM7Avila%2FFastYoutubeAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GM7Avila%2FFastYoutubeAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GM7Avila","download_url":"https://codeload.github.com/GM7Avila/FastYoutubeAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GM7Avila%2FFastYoutubeAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004174,"owners_count":26083688,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fastapi","youtube-api"],"created_at":"2025-07-03T23:05:09.796Z","updated_at":"2025-10-10T14:34:01.492Z","avatar_url":"https://github.com/GM7Avila.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastYoutubeAPI\n\nUtilizando FastAPI para interagir com a API do YouTube (teste).\n\n## Requisitos\n\n- Python 3.9 ou superior\n\n## Rodando o projeto\n\n1. crie e ative seu ambiente virtual: `python -m venv venv` + `source venv/bin/activate` no diretório `backend`.\n2. instale dependências: `pip install -r requirements.txt`\n3. crie e configure o .env com sua chave `YOUTUBE_API_KEY` (consulte a documentação [aqui](https://developers.google.com/youtube/v3/getting-started)) em `application/core/.env`\n4. utilize o Makefile com `make run` ou se preferir `uvicorn application.main:app --reload`\n5. execute o docker-compose, você pode acessar o pgadmin em: `http://localhost:5050/login?next=/browser/`\n6. servidor: [http://127.0.0.1:8000](http://127.0.0.1:8000)\n\n## Endpoints\n\n### 1. GET\n\n#### 1.1. Video Info by Id\n\n- Http Method: `GET`\n- Endpoint: `/youtube/video-info/{video_id}`\n- Resumo: Retorna informações sobre um vídeo do YouTube. O `video_id` é o identificador único de um vídeo do YouTube.\n- Parâmetros: **video_id** (path): O ID do vídeo do YouTube que deseja consultar.\n\n```python\n{\n  \"kind\": \"youtube#videoListResponse\",\n  \"etag\": \"string\",\n  \"items\": [\n    {\n      \"kind\": \"youtube#video\",\n      \"etag\": \"string\",\n      \"id\": \"string\",\n      \"snippet\": {\n        \"publishedAt\": \"datetime\",\n        \"channelId\": \"string\",\n        \"title\": \"string\",\n        \"description\": \"string\",\n        \"thumbnails\": {\n          \"default\": {\n            \"url\": \"string\",\n            \"width\": 120,\n            \"height\": 90\n          },\n          \"medium\": {\n            \"url\": \"string\",\n            \"width\": 320,\n            \"height\": 180\n          },\n          \"high\": {\n            \"url\": \"string\",\n            \"width\": 480,\n            \"height\": 360\n          },\n          \"standard\": {\n            \"url\": \"string\",\n            \"width\": 640,\n            \"height\": 480\n          }\n        },\n        \"channelTitle\": \"string\",\n        \"tags\": [\"string\"],\n        \"categoryId\": \"string\",\n        \"liveBroadcastContent\": \"string\",\n        \"localized\": {\n          \"title\": \"string\",\n          \"description\": \"string\"\n        }\n      }\n    }\n  ],\n  \"pageInfo\": {\n    \"totalResults\": 1,\n    \"resultsPerPage\": 1\n  }\n}\n```\n\n- Erro: `500`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgm7avila%2Ffastyoutubeapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgm7avila%2Ffastyoutubeapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgm7avila%2Ffastyoutubeapi/lists"}