API Reference#
APKCombo
#
This class provides methods to search for an APK on APKCombo based on package name, and to find available versions and their download links for a given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pkg_name
|
str
|
The package name of the APK to search for. |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
pkg_name |
str
|
The package name of the APK to search for. |
base_url |
str
|
The base URL of the APKCombo website. |
search_url |
str
|
The URL used to search for APKs on APKCombo. |
headers |
dict
|
The headers used for making HTTP requests. |
session |
Session
|
The session object used for making HTTP requests. |
Methods:
| Name | Description |
|---|---|
search_apk |
Searches for the APK on APKCombo and returns the title and link if found. |
find_versions |
str) -> list[tuple[str, str]]: Finds and returns a list of versions and their download links for the given APK link. |
Source code in apksearch/sites/apkcombo.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
find_versions(apk_link)
#
Finds and returns a list of versions and their download links for the given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
apk_link
|
str
|
The link to the APK on the APKCombo website. |
required |
Returns:
| Type | Description |
|---|---|
list[tuple[str, str]]
|
list[tuple[str, str]]: A list of tuples, where each tuple contains the version number |
list[tuple[str, str]]
|
and its corresponding download link. If no versions are found, an empty list is returned. |
Source code in apksearch/sites/apkcombo.py
search_apk()
#
Searches for the APK on APKCombo and returns the title and link if found.
Returns:
| Name | Type | Description |
|---|---|---|
None |
None | tuple[str, str]
|
If no matching APK is found. |
None | tuple[str, str]
|
tuple[str, str]: A tuple containing the title and link of the matching APK if found. |
Source code in apksearch/sites/apkcombo.py
APKFab
#
This class provides methods to search for an APK on APKFab based on package name, and to find available versions and their download links for a given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pkg_name
|
str
|
The package name of the APK to search for. |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
pkg_name |
str
|
The package name of the APK to search for. |
base_url |
str
|
The base URL of the APKFab website. |
search_url |
str
|
The URL used to search for APKs on APKFab. |
headers |
dict
|
The headers used for making HTTP requests. |
session |
Session
|
The session object used for making HTTP requests. |
Methods:
| Name | Description |
|---|---|
search_apk |
Searches for the APK on APKFab and returns the title and link if found. |
find_versions |
str) -> list[tuple[str, str]]: Finds and returns a list of versions and their download links for the given APK link. |
Source code in apksearch/sites/apkfab.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
find_versions(apk_link)
#
Finds and returns a list of versions and their download links for the given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
apk_link
|
str
|
The link to the APK on the APKFab website. |
required |
Returns:
| Type | Description |
|---|---|
list[tuple[str, str]]
|
list[tuple[str, str]]: A list of tuples, where each tuple contains the version number |
list[tuple[str, str]]
|
and its corresponding download link. If no versions are found, an empty list is returned. |
Source code in apksearch/sites/apkfab.py
search_apk()
#
Searches for the APK on APKFab and returns the title and link if found.
Returns:
| Name | Type | Description |
|---|---|---|
None |
None | tuple[str, str]
|
If no matching APK is found. |
None | tuple[str, str]
|
tuple[str, str]: A tuple containing the title and link of the matching APK if found. |
Source code in apksearch/sites/apkfab.py
APKMirror
#
This class provides methods to search for an APK on APKMirror based on package name, and to find available versions and their download links for a given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pkg_name
|
str
|
The package name of the APK to search for. |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
pkg_name |
str
|
The package name of the APK to search for. |
base_url |
str
|
The base URL of the APKMirror website. |
api_url |
str
|
The base URL for the APKMirror API. |
headers |
dict
|
The headers used for making HTTP requests. |
session |
Session
|
The session object used for making HTTP requests. |
Methods:
| Name | Description |
|---|---|
search_apk |
Searches for the APK on APKMirror and returns the title and link if found. |
find_versions |
str) -> list[tuple[str, str]]: Finds and returns a list of versions and their download links for the given APK link. |
Source code in apksearch/sites/apkmirror.py
find_version(apk_link, version, title)
#
Finds and returns the download link for the given APK link and version.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
apk_link
|
str
|
The link to the APK on the APKMirror website. |
required |
version
|
str
|
The version number of the APK to find. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str | None
|
The download link for the specified version of the APK. |
Source code in apksearch/sites/apkmirror.py
search_apk()
#
Searches for the APK on APKMirror and returns the title and link if found.
Returns:
| Name | Type | Description |
|---|---|---|
None |
None | tuple[str, str]
|
If no matching APK is found. |
None | tuple[str, str]
|
tuple[str, str]: A tuple containing the title and link of the matching APK if found. |
Source code in apksearch/sites/apkmirror.py
APKPure
#
This class provides methods to search for an APK on APKPure based on package name, and to find available versions and their download links for a given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pkg_name
|
str
|
The package name of the APK to search for. |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
pkg_name |
str
|
The package name of the APK to search for. |
base_url |
str
|
The base URL of the APKPure website. |
search_url |
str
|
The URL used to search for APKs on APKPure. |
headers |
dict
|
The headers used for making HTTP requests. |
session |
Session
|
The session object used for making HTTP requests. |
Methods:
| Name | Description |
|---|---|
search_apk |
Searches for the APK on APKPure and returns the title and link if found. |
find_versions |
str) -> list[tuple[str, str]]: Finds and returns a list of versions and their download links for the given APK link. |
Source code in apksearch/sites/apkpure.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | |
find_versions(apk_link)
#
Finds and returns a list of versions and their download links for the given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
apk_link
|
str
|
The link to the APK on the APKPure website. |
required |
Returns:
| Type | Description |
|---|---|
list[tuple[str, str]]
|
list[tuple[str, str]]: A list of tuples, where each tuple contains the version number |
list[tuple[str, str]]
|
and its corresponding download link. If no versions are found, an empty list is returned. |
Source code in apksearch/sites/apkpure.py
search_apk()
#
Searches for the APK on APKPure and returns the title and link if found.
Returns:
| Name | Type | Description |
|---|---|---|
None |
None | tuple[str, str]
|
If no matching APK is found. |
None | tuple[str, str]
|
tuple[str, str]: A tuple containing the title and link of the matching APK if found. |
Source code in apksearch/sites/apkpure.py
APKad
#
This class provides methods to search for an APK on APKAD based on package name, and to find available versions and their download links for a given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pkg_name
|
str
|
The package name of the APK to search for. |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
pkg_name |
str
|
The package name of the APK to search for. |
base_url |
str
|
The base URL of the APKAD website. |
search_url |
str
|
The URL used to search for APKs on APKAD. |
headers |
dict
|
The headers used for making HTTP requests. |
session |
Session
|
The session object used for making HTTP requests. |
Methods:
| Name | Description |
|---|---|
search_apk |
Searches for the APK on APKAD and returns the title and link if found. |
Source code in apksearch/sites/apkad.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
get_token()
#
Retrieves a token from the token endpoint.
Returns:
| Name | Type | Description |
|---|---|---|
tuple[str, int] | None
|
tuple[str, int]: A tuple containing the token and timestamp if successful. |
|
None |
tuple[str, int] | None
|
If the token retrieval fails. |
Source code in apksearch/sites/apkad.py
AppTeka
#
This class provides methods to search for an APK on AppTeka based on package name, and to find available versions and their download links for a given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pkg_name
|
str
|
The package name of the APK to search for. |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
pkg_name |
str
|
The package name of the APK to search for. |
base_url |
str
|
The base URL of the AppTeka website. |
search_url |
str
|
The URL used to search for APKs on AppTeka. |
headers |
dict
|
The headers used for making HTTP requests. |
session |
Session
|
The session object used for making HTTP requests. |
Methods:
| Name | Description |
|---|---|
search_apk |
Searches for an APK on AppTeka based on the package name and version. Returns a tuple containing the APK name and download link if found, otherwise None. |
Source code in apksearch/sites/appteka.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | |
search_apk(version=None)
#
Searches for the APK on AppTeka and returns the title and link if found.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
version
|
str
|
The version of the APK to search for. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None | tuple[str, str | None]
|
If no matching APK is found. |
None | tuple[str, str | None]
|
tuple[str, str]: A tuple containing the title and link of the matching APK if found. |
Source code in apksearch/sites/appteka.py
Aptoide
#
This class provides methods to search for an APK on Aptoide based on package name, and to find available versions and their download links for a given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pkg_name
|
str
|
The package name of the APK to search for. |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
pkg_name |
str
|
The package name of the APK to search for. |
api_url |
str
|
The base URL for the Aptoide API. |
search_url |
str
|
The URL used to search for APKs on Aptoide. |
headers |
dict
|
The headers used for making HTTP requests. |
session |
Session
|
The session object used for making HTTP requests. |
Methods:
| Name | Description |
|---|---|
search_apk |
Searches for the APK on Aptoide and returns the title and link if found. |
find_versions |
str) -> list[str | None]: Finds and returns a list of versions for the given APK link. |
Source code in apksearch/sites/aptoide.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
find_versions(apk_link)
#
Finds and returns a list of versions for the given APK link.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
apk_link
|
str
|
The link to the APK on the Aptoide website. |
required |
Returns:
| Type | Description |
|---|---|
list[str | None]
|
list[str | None]: A list of version strings for the given APK link. |
Source code in apksearch/sites/aptoide.py
search_apk()
#
Searches for the APK on Aptoide and returns the title and link if found.
Returns:
| Name | Type | Description |
|---|---|---|
None |
None | tuple[str, str]
|
If no matching APK is found. |
None | tuple[str, str]
|
tuple[str, str]: A tuple containing the title and link of the matching APK if found. |