{"id":24659968,"url":"https://github.com/offerrall/pytft","last_synced_at":"2025-10-07T21:32:23.954Z","repository":{"id":40553936,"uuid":"507575590","full_name":"offerrall/pyTFT","owner":"offerrall","description":"Simple, direct and lightweight wrapper to all TFT related RIOT api calls.","archived":false,"fork":false,"pushed_at":"2022-11-22T15:42:52.000Z","size":54,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-10T08:29:13.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/offerrall.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":"2022-06-26T13:01:16.000Z","updated_at":"2023-01-16T13:51:43.000Z","dependencies_parsed_at":"2023-01-22T21:30:16.223Z","dependency_job_id":null,"html_url":"https://github.com/offerrall/pyTFT","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FpyTFT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FpyTFT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FpyTFT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FpyTFT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/offerrall","download_url":"https://codeload.github.com/offerrall/pyTFT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235658574,"owners_count":19025086,"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":[],"created_at":"2025-01-26T03:15:30.313Z","updated_at":"2025-10-07T21:32:18.661Z","avatar_url":"https://github.com/offerrall.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Info\n---------------------------\nSimple, direct and lightweight wrapper to all TFT related RIOT API calls.\nThis wrapper can be used directly in your code or use it as a base to create a higher level wrappe.\nTo fully understand this wrapper it is essential that you read the official documentation of the api: https://developer.riotgames.com/docs/portal\n\nRequirements\n---------------------------\n- https://pypi.org/project/requests/\n\nExample\n---------------------------\n\n    from TFT_API import *\n\n    # Data\n    key = \"your key\"\n    API_CONSTANT = get_data()\n    player = \"liquid snoodyboo\"\n    euw_server = API_CONSTANT[\"servers\"][2]\n    eu_region = API_CONSTANT[\"regions\"][2]\n    na_server = API_CONSTANT[\"servers\"][7]\n    diamond = API_CONSTANT[\"tiers\"][0]\n    division1 = API_CONSTANT[\"divisions\"][0]\n\n    # Get information from a player\n    player = get_summoner_by_name(player, euw_server, key)\n    last_games_played = get_matches_by_puuid(player[\"puuid\"], eu_region, key, n_games=10)\n    get_player_ranked_info = get_league_by_summoner(player[\"id\"], euw_server, key)\n\n    # Get information about the items\n    # get_info_matches uses Threads to get all games concurrently\n    games_info = get_info_matches(last_games_played, eu_region, key)\n\n    # Get information about the qualifiers\n    all_masters_na = get_league_master(na_server, key)\n    all_grandmaster_na = get_league_grandmaster(na_server, key)\n    all_challenger_na = get_league_challenger(na_server, key)\n    all_diamond_1_na = get_league_by_tier_division(diamond, division1, na_server, key)\n\n\nSupport\n---------------------------\nIf you want to support the project you can propose your improvements or leave a star in the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofferrall%2Fpytft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofferrall%2Fpytft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofferrall%2Fpytft/lists"}