{"id":23679039,"url":"https://github.com/rawbitdev/gw2-looting-stats","last_synced_at":"2025-07-22T10:07:28.216Z","repository":{"id":205149431,"uuid":"548116822","full_name":"RawbitDev/GW2-Looting-Stats","owner":"RawbitDev","description":"Simple tool reading a pre-configured looting-target config and provides the players an overview of their current materials/inventory stats for their looting-target by using the GW2 API.","archived":false,"fork":false,"pushed_at":"2022-10-15T09:56:03.000Z","size":379,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T18:04:07.769Z","etag":null,"topics":["guildwars","guildwars-2","guildwars2","guildwars2-api","guildwars2api","gw2","gw2-api","gw2-helper","gw2api","helper","looting","python","stats","tool"],"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/RawbitDev.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,"governance":null}},"created_at":"2022-10-09T00:26:38.000Z","updated_at":"2022-10-09T01:31:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"f01f968a-28a1-4afb-a3f4-07260b0675a6","html_url":"https://github.com/RawbitDev/GW2-Looting-Stats","commit_stats":null,"previous_names":["rawbitdev/gw2-looting-stats"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RawbitDev/GW2-Looting-Stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawbitDev%2FGW2-Looting-Stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawbitDev%2FGW2-Looting-Stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawbitDev%2FGW2-Looting-Stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawbitDev%2FGW2-Looting-Stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RawbitDev","download_url":"https://codeload.github.com/RawbitDev/GW2-Looting-Stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawbitDev%2FGW2-Looting-Stats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266473095,"owners_count":23934477,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["guildwars","guildwars-2","guildwars2","guildwars2-api","guildwars2api","gw2","gw2-api","gw2-helper","gw2api","helper","looting","python","stats","tool"],"created_at":"2024-12-29T17:00:13.228Z","updated_at":"2025-07-22T10:07:28.195Z","avatar_url":"https://github.com/RawbitDev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💰 GW2 - Looting Stats\n\nSo I was playing some [Guild Wars 2](https://www.guildwars2.com/) these days, just collecting stuff I needed to get the [skyscale mount](https://wiki.guildwars2.com/wiki/Skyscale), when I noticed that it's kinda difficult for me to keep track of which items I already have enough of and which ones I still have to farm further.\n\nThats why I created this little helper script. It's able to read a pre-configured looting-target config (like the sample `skyscale_mount.json`) and can then provide an overview of the current materials/inventory stats for that specific looting-target by utilizing the [GW2 API](https://wiki.guildwars2.com/wiki/API:Main) to do that.\n\n## 🖥️ Sample Output\n![Sample Output](sample_output.jpg \"Sample Output\")\n\n## 🛠️ Getting started\n\n### Preparations:\nGo to https://account.arena.net/applications and generate a new API Key with at least the scopes:\n\t `wallet`, `account`, `inventories`, `characters`\n\t \nCreate a `.env` file from the given sample `.env.dist` and add the created API Key:\n```\n  GW2_API_KEY=[YOUR_API_KEY_HERE]\n  CONFIG_FILE=skyscale_mount.json\n  GROUPED=true\n  REFRESH=300\n  LANG=en\n```\nHere you can also change any other configuration as you like. More to that at [Configuration](#%EF%B8%8F-configuration) below.\n\n### Setup venv:\n```\n  $ python -m venv ./venv\n  $ .\\venv\\Scripts\\activate\n```\n\n### Install requirements and run:\n```\n  $ pip install -r requirements.txt\n  $ python main.py\n```\n\n## ⚙️ Configuration\n\n|ENV-Variable|Description|\n|--|--|\n| GW2_API_KEY | The secret GW2 API key to use.  |\n| CONFIG_FILE | The pre-configured looting-target config filepath. |\n| GROUPED | `true` or `false` ➜ Toggle if currency and material items should be grouped in seperated tables or displayed in a single table. |\n| REFRESH | Auto-Refresh countdown in seconds. Set to `0` to disable it. |\n| LANG | Language code for the GW2 API. Valid languages are `en`, `es`, `de`, `fr` and `zh`. |\n\n\n## 📋 References\n - https://pypi.org/project/GuildWars2-API-Client/\n - https://wiki.guildwars2.com/wiki/API:Main\n\t - https://wiki.guildwars2.com/wiki/API:2/items\n\t - https://wiki.guildwars2.com/wiki/API:2/account/bank\n\t - https://wiki.guildwars2.com/wiki/API:2/account/wallet\n\t - https://wiki.guildwars2.com/wiki/API:2/account/materials\n\t - https://wiki.guildwars2.com/wiki/API:2/account/inventory\n\t - https://wiki.guildwars2.com/wiki/API:2/characters\n\t - https://wiki.guildwars2.com/wiki/API:2/characters/:id/inventory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawbitdev%2Fgw2-looting-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frawbitdev%2Fgw2-looting-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawbitdev%2Fgw2-looting-stats/lists"}