MCPcopy Create free account

hub / github.com/albertquiroga/awesome-ios-game-ports / functions

Functions13 in github.com/albertquiroga/awesome-ios-game-ports

↓ 1 callersFunctionextract_genre_from_api
Extract genre from iTunes API response. The first genre is always "Games", so we skip it and look for the next meaningful genre. We also
main.py:61
↓ 1 callersFunctionfilter_invalid_entries
Given a list of entries, it will filter out those that do not comply with the regular expression defined in the VALIDATION_REGEX constant, a
main.py:104
↓ 1 callersFunctiongenerate_readme
Given a list of Apps, generates a README.md file with their information using Jinja2 templating and writes the result to the given output pat
main.py:173
↓ 1 callersFunctionget_api_response
Given a URL, will try to run an HTTP GET on it and parse the response into a dictionary. The Apple API is sometimes failing to respond, s
main.py:137
↓ 1 callersFunctionmain
Main function. Parses the list of app ids into App objects, then generates the README file
main.py:210
↓ 1 callersFunctionparse_app_ids
Given a list of app IDs, turns that into App objects :param file_path: Path to the file containing the list of app IDs :return: List of A
main.py:158
↓ 1 callersFunctionprocess_entry
Given an app ID, turns that into an App object :param entry: App ID in string format :return: App object representing the application
main.py:122
↓ 1 callersFunctionprocess_request
Processes the raw response of the iTunes API :param app_id: App ID in string format :param response: Response of the iTunes API :retu
main.py:45
↓ 1 callersFunctionresponse_to_app
Turns the JSON response of the iTunes API into an App object :param app_id: App ID in string format :param response: JSON dictionary repr
main.py:87
↓ 1 callersFunctionvalidate_entry
(entry: str)
main.py:112
Method__init__
(self, app_id: str, name: str = '', price: str = '', url: str = '', avg_score: float = '', developer: str = ''
main.py:29
Method__repr__
(self)
main.py:41
Method__str__
(self)
main.py:38