Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.01 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.01 KB

Pokemon GO Profile Parsing

Python script to parse Player Level out of Profile Screenshot and verify the Username in the Screenshot with a given Username.

Needs Python3.

Currently optimized for PokemonGO 0.107.1 to 0.187.2

Module Usage

import poke_profile
result = poke_profile.getLevel(fullimagepath, username)
print(result[0])                          # the found level or None
print(result[1])                          # booleon; true, if the given username was found

result is None, if poke_profile encounterd a file read Error. Check the full image path for typos.

Standalone Usage

usage: poke_profile.py [-h] -i IMAGE -u USERNAME [-p PLOT]

optional arguments:
  -h, --help            show this help message and exit
  -i IMAGE, --image IMAGE
                        path to input image to be OCR'd
  -u USERNAME, --username USERNAME
                        username to search in OCR output
  -p PLOT, --plot PLOT  true, to display plot, false else