appintel 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {appintel-1.0.3 → appintel-1.0.4}/PKG-INFO +1 -1
- {appintel-1.0.3 → appintel-1.0.4}/appintel/appintel.py +5 -4
- {appintel-1.0.3 → appintel-1.0.4}/pyproject.toml +1 -1
- {appintel-1.0.3 → appintel-1.0.4}/tests/test_appintel.py +1 -1
- {appintel-1.0.3 → appintel-1.0.4}/.gitignore +0 -0
- {appintel-1.0.3 → appintel-1.0.4}/LICENSE +0 -0
- {appintel-1.0.3 → appintel-1.0.4}/README.md +0 -0
- {appintel-1.0.3 → appintel-1.0.4}/appintel/__init__.py +0 -0
- {appintel-1.0.3 → appintel-1.0.4}/appintel/__main__.py +0 -0
- {appintel-1.0.3 → appintel-1.0.4}/classes.dot +0 -0
- {appintel-1.0.3 → appintel-1.0.4}/pylintrc +0 -0
- {appintel-1.0.3 → appintel-1.0.4}/requirements.txt +0 -0
- {appintel-1.0.3 → appintel-1.0.4}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: appintel
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: A command line tool to search and compare prices of apps and music on the Apple Store
|
|
5
5
|
Project-URL: Homepage, https://github.com/james-see/appintel
|
|
6
6
|
Project-URL: Repository, https://github.com/james-see/appintel
|
|
@@ -9,7 +9,7 @@ from statistics import mean, median
|
|
|
9
9
|
|
|
10
10
|
import requests
|
|
11
11
|
|
|
12
|
-
__version__ = "1.0.
|
|
12
|
+
__version__ = "1.0.4"
|
|
13
13
|
|
|
14
14
|
logo = """
|
|
15
15
|
+-------------------------------------+
|
|
@@ -35,10 +35,11 @@ def get_content(
|
|
|
35
35
|
search_term: str, store_country: str = "us", category: str = "software"
|
|
36
36
|
) -> requests.Response:
|
|
37
37
|
"""Fetch data from the iTunes search endpoint."""
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
url = (
|
|
39
|
+
f"https://itunes.apple.com/search?"
|
|
40
|
+
f"term={search_term}&country={store_country}&entity={category}"
|
|
41
41
|
)
|
|
42
|
+
return requests.get(url, timeout=10)
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
def _prices(jsondata: dict) -> list[float]:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|