{"id":21885855,"url":"https://github.com/minshug/valorant-api","last_synced_at":"2025-04-15T07:44:17.628Z","repository":{"id":41421043,"uuid":"338751187","full_name":"MinshuG/valorant-api","owner":"MinshuG","description":"Sync/Async Python wrapper for valorant-api.com","archived":false,"fork":false,"pushed_at":"2022-07-01T16:53:45.000Z","size":2320,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-16T18:21:00.402Z","etag":null,"topics":["api-wrapper","python","valorant","valorant-api"],"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/MinshuG.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-02-14T07:22:48.000Z","updated_at":"2023-07-12T22:02:24.000Z","dependencies_parsed_at":"2022-09-13T04:41:06.422Z","dependency_job_id":null,"html_url":"https://github.com/MinshuG/valorant-api","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinshuG%2Fvalorant-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinshuG%2Fvalorant-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinshuG%2Fvalorant-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinshuG%2Fvalorant-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MinshuG","download_url":"https://codeload.github.com/MinshuG/valorant-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226898430,"owners_count":17699956,"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-wrapper","python","valorant","valorant-api"],"created_at":"2024-11-28T10:29:48.222Z","updated_at":"2024-11-28T10:29:48.817Z","avatar_url":"https://github.com/MinshuG.png","language":"Python","readme":"# valorant-api\nA Python wrapper for valorant-api.com\n\n[![pypi](https://img.shields.io/pypi/v/valorant-api.svg)](https://pypi.python.org/pypi/valorant-api/)\n[![Downloads](https://static.pepy.tech/personalized-badge/valorant-api?period=total\u0026units=international_system\u0026left_color=green\u0026right_color=blue\u0026left_text=Downloads)](https://pepy.tech/project/valorant-api)\n\n# Installation\n\u003c!-- `pip install git+https://github.com/MinshuG/valorant-api` \\\nor \\ --\u003e\n`pip install valorant-api`\n\n# Usages\n```py\n# this code is just for reference\n\nfrom valorant_api import SyncValorantApi, AsyncValorantApi\n\n#sync\napi = SyncValorantApi(language=\"ru-RU\")\nagents = api.get_agents()\n\n#Async\napi = AsyncValorantApi(language=\"ru-Ru\")\nagents = await api.get_agents()\n\n# searching\nagent = agents.find_where(displayname=\"Raze\", developerName=\"Gumshoe\")\nagent = agents.find_first(displayname=\"Raze\")\n\n# agents image generation\nfrom valorant_api import generators\n\nfont_file = r\"valorant_api\\fonts\\Valorant Font.ttf\"\n# initialize class\ngenerator = generators.AgentImageGenerator(font_file)\n# generator actual image\nimage = await generator.generate(agent)\n# save the image\nimage.save(\"image.png\", \"PNG\")\n```\n# Agents Image Example\n\u003cimg src=\"./example.png\" alt=\"KAY/O\" height=\"250\"/\u003e\n\n# Requirements\n\n* python-dateutil\n* aiohttp\n* requests\n* Pillow","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminshug%2Fvalorant-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminshug%2Fvalorant-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminshug%2Fvalorant-api/lists"}