ggpk

Old: ChuanHsing 2023-01-24 12:53:42

New: ChuanHsing 2023-01-24 12:55:53

OldNewDifferences
1-# Developer API
1+# GGPK
22
3-There are 2 api sets, POESESSID and OAuth 2.0.
3+<a href="https://i.imgur.com/a/AZCBdP4.png" data-lightbox="panel"></a>
44
5+## Data Export
56
7+The game data does not have any official API, and only possible data can be analyzed from the game files.
68
7-
8-
9-
10-## Development Tool
9+Almost all data is stored in .dat64 files within Content.ggpk. But they only have data, no headers. You can start with the .dat64 format, the [PoE dat schema](https://github.com/poe-tool-dev/dat-schema) project is the latest format. Or try to parse the .dat format from [PoE Dat Viewer](https://snosme.github.io/poe-dat-viewer/) yourself. [RePoE](https://github.com/brather1ng/RePoE/) collects many common and processed .dat files and exports them to .json format.
1110
1211 Site | Description
1312 - | -
14-[Tooldev Discord Channel](https://discord.gg/pathofexile) | #tooldev-general
15-[PoeSharp](https://github.com/andreandersen/PoeSharp) | C# Library to deal with PoE stuff
16-[PoE Go](https://github.com/ccbrown/poe-go) | an entry-level guide to writing tools for PoE in the Go programming language.
13+[PyPoE](https://github.com/Project-Path-of-Exile-Wiki/PyPoE) | Collection of Python Tools for Path of Exile, mostly used by wiki
14+[RePoE](https://github.com/brather1ng/RePoE/) | Repository of Path of Exile resources for tool developers.
15+[Poe Dat Viewer](https://snosme.github.io/poe-dat-viewer/) | Web-base Poe Dat Viewer
16+[PoE dat schema](https://github.com/poe-tool-dev/dat-schema) | Source of truth schema for dat files.
17+[Path Of Building Fork schema](https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/dev/src/Export/spec.lua) | Source of Path Of Building Fork schema
18+[Path of Go](https://github.com/oriath-net/pogo) | Golang tools for reading PoE data files
19+[LibGGPK2](https://github.com/aianlinb/LibGGPK2) | Windows GUI tool to view Content.ggpk and export
1720
18-## APIs
19-Site | Description
20-- | -
21-[PoE API](https://poedb.tw/us/poe-api) | PoEDB collections of official API
22-[Official Website API](https://www.pathofexile.com/developer/docs) | OAuth 2.0 API endpoints of Path of Exile
23-[POESESSID](POESESSID)
24-[API:Passive_Skill_Tree](API%3APassive_Skill_Tree)
25-[API:OAuth](API%3AOAuth)
26-[API:Ladder](API%3ALadder)
27-[API:Trade](API%3ATrade)
28-[API:Public_Stashes](API%3APublic_Stashes)
29-[ggpk](ggpk)
21+PyPoe stable.py to spec.json
22+```
23+from PyPoE.poe.file.specification.data import stable
24+from json import dump
25+with open('D:/spec.json', 'w') as f:
26+ dump(stable.specification.as_dict(), f)
27+```