Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/albertquiroga/awesome-ios-game-ports
/ functions
Functions
13 in github.com/albertquiroga/awesome-ios-game-ports
⨍
Functions
13
◇
Types & classes
1
↓ 1 callers
Function
extract_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 callers
Function
filter_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 callers
Function
generate_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 callers
Function
get_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 callers
Function
main
Main function. Parses the list of app ids into App objects, then generates the README file
main.py:210
↓ 1 callers
Function
parse_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 callers
Function
process_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 callers
Function
process_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 callers
Function
response_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 callers
Function
validate_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