crawlora-sofascore 0.3.0__tar.gz → 0.3.1__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.
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/PKG-INFO +5 -4
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/README.md +2 -2
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/__init__.py +1 -1
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/platform.py +2 -2
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/PKG-INFO +5 -4
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/pyproject.toml +3 -2
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/tests/test_package.py +1 -1
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/LICENSE +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/__init__.pyi +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/_pagination.py +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/_transport_sync.py +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/async_client.py +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/client.py +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/operations.py +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/platform.pyi +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/py.typed +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/SOURCES.txt +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/dependency_links.txt +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/requires.txt +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/top_level.txt +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/setup.cfg +0 -0
- {crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/tests/test_types.py +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crawlora-sofascore
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Typed SofaScore client for the Crawlora hosted API
|
|
5
5
|
Author: Crawlora
|
|
6
6
|
License-Expression: MIT
|
|
7
|
-
Project-URL: Homepage, https://
|
|
7
|
+
Project-URL: Homepage, https://crawlora.net/?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-homepage
|
|
8
|
+
Project-URL: Documentation, https://crawlora.net/docs?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-api-docs
|
|
8
9
|
Project-URL: Repository, https://github.com/Crawlora-org/crawlora-sofascore
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -23,7 +24,7 @@ Dynamic: license-file
|
|
|
23
24
|
# crawlora-sofascore
|
|
24
25
|
|
|
25
26
|
Python client for Crawlora's hosted SofaScore API. It calls Crawlora's
|
|
26
|
-
service at [Crawlora](https://crawlora.net); it does not run a browser or scrape
|
|
27
|
+
service at [Crawlora](https://crawlora.net?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-homepage); it does not run a browser or scrape
|
|
27
28
|
SofaScore locally. A Crawlora account and `CRAWLORA_API_KEY` are required,
|
|
28
29
|
and API use is billed under your Crawlora account. Crawlora is independent from and not endorsed by
|
|
29
30
|
SofaScore or its owners.
|
|
@@ -36,7 +37,7 @@ python -m pip install crawlora-sofascore
|
|
|
36
37
|
|
|
37
38
|
## Get an API key
|
|
38
39
|
|
|
39
|
-
Create an account at [crawlora.net](https://crawlora.net/signup), then open the [Crawlora console](https://crawlora.net/app) for API-key setup. Set your key in the shell before running the client:
|
|
40
|
+
Create an account at [crawlora.net](https://crawlora.net/signup?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-signup), then open the [Crawlora console](https://crawlora.net/app?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-console) for API-key setup. Set your key in the shell before running the client:
|
|
40
41
|
|
|
41
42
|
```sh
|
|
42
43
|
export CRAWLORA_API_KEY="your-crawlora-api-key"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# crawlora-sofascore
|
|
2
2
|
|
|
3
3
|
Python client for Crawlora's hosted SofaScore API. It calls Crawlora's
|
|
4
|
-
service at [Crawlora](https://crawlora.net); it does not run a browser or scrape
|
|
4
|
+
service at [Crawlora](https://crawlora.net?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-homepage); it does not run a browser or scrape
|
|
5
5
|
SofaScore locally. A Crawlora account and `CRAWLORA_API_KEY` are required,
|
|
6
6
|
and API use is billed under your Crawlora account. Crawlora is independent from and not endorsed by
|
|
7
7
|
SofaScore or its owners.
|
|
@@ -14,7 +14,7 @@ python -m pip install crawlora-sofascore
|
|
|
14
14
|
|
|
15
15
|
## Get an API key
|
|
16
16
|
|
|
17
|
-
Create an account at [crawlora.net](https://crawlora.net/signup), then open the [Crawlora console](https://crawlora.net/app) for API-key setup. Set your key in the shell before running the client:
|
|
17
|
+
Create an account at [crawlora.net](https://crawlora.net/signup?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-signup), then open the [Crawlora console](https://crawlora.net/app?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-console) for API-key setup. Set your key in the shell before running the client:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
20
|
export CRAWLORA_API_KEY="your-crawlora-api-key"
|
|
@@ -6,7 +6,7 @@ from .operations import OPERATION_COUNT, OPERATION_IDS, PLATFORM
|
|
|
6
6
|
|
|
7
7
|
Client = SofascoreClient
|
|
8
8
|
AsyncClient = AsyncSofascoreClient
|
|
9
|
-
__version__ = '0.3.
|
|
9
|
+
__version__ = '0.3.1'
|
|
10
10
|
DISPLAY_NAME = 'SofaScore'
|
|
11
11
|
PLATFORM = 'sofascore'
|
|
12
12
|
CONTRACT_REVISION = 'sha256:645115670262bb86bf9c49f16ddbfdd94bbec67befb2aa8497f10f86ee2d5e46'
|
|
@@ -7,7 +7,7 @@ from .async_client import AsyncCrawloraClient
|
|
|
7
7
|
class SofascoreClient(CrawloraClient):
|
|
8
8
|
"""Synchronous SofaScore API client."""
|
|
9
9
|
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
|
10
|
-
kwargs.setdefault('user_agent', 'crawlora-sofascore-python/0.3.
|
|
10
|
+
kwargs.setdefault('user_agent', 'crawlora-sofascore-python/0.3.1')
|
|
11
11
|
super().__init__(*args, **kwargs)
|
|
12
12
|
|
|
13
13
|
def categories(self, **params: Any) -> Any:
|
|
@@ -667,7 +667,7 @@ class SofascoreClient(CrawloraClient):
|
|
|
667
667
|
class AsyncSofascoreClient(AsyncCrawloraClient):
|
|
668
668
|
"""Asynchronous SofaScore API client."""
|
|
669
669
|
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
|
670
|
-
kwargs.setdefault('user_agent', 'crawlora-sofascore-python/0.3.
|
|
670
|
+
kwargs.setdefault('user_agent', 'crawlora-sofascore-python/0.3.1')
|
|
671
671
|
super().__init__(*args, **kwargs)
|
|
672
672
|
|
|
673
673
|
async def categories(self, **params: Any) -> Any:
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crawlora-sofascore
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Typed SofaScore client for the Crawlora hosted API
|
|
5
5
|
Author: Crawlora
|
|
6
6
|
License-Expression: MIT
|
|
7
|
-
Project-URL: Homepage, https://
|
|
7
|
+
Project-URL: Homepage, https://crawlora.net/?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-homepage
|
|
8
|
+
Project-URL: Documentation, https://crawlora.net/docs?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-api-docs
|
|
8
9
|
Project-URL: Repository, https://github.com/Crawlora-org/crawlora-sofascore
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -23,7 +24,7 @@ Dynamic: license-file
|
|
|
23
24
|
# crawlora-sofascore
|
|
24
25
|
|
|
25
26
|
Python client for Crawlora's hosted SofaScore API. It calls Crawlora's
|
|
26
|
-
service at [Crawlora](https://crawlora.net); it does not run a browser or scrape
|
|
27
|
+
service at [Crawlora](https://crawlora.net?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-homepage); it does not run a browser or scrape
|
|
27
28
|
SofaScore locally. A Crawlora account and `CRAWLORA_API_KEY` are required,
|
|
28
29
|
and API use is billed under your Crawlora account. Crawlora is independent from and not endorsed by
|
|
29
30
|
SofaScore or its owners.
|
|
@@ -36,7 +37,7 @@ python -m pip install crawlora-sofascore
|
|
|
36
37
|
|
|
37
38
|
## Get an API key
|
|
38
39
|
|
|
39
|
-
Create an account at [crawlora.net](https://crawlora.net/signup), then open the [Crawlora console](https://crawlora.net/app) for API-key setup. Set your key in the shell before running the client:
|
|
40
|
+
Create an account at [crawlora.net](https://crawlora.net/signup?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-signup), then open the [Crawlora console](https://crawlora.net/app?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-console) for API-key setup. Set your key in the shell before running the client:
|
|
40
41
|
|
|
41
42
|
```sh
|
|
42
43
|
export CRAWLORA_API_KEY="your-crawlora-api-key"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "crawlora-sofascore"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.1"
|
|
8
8
|
description = "Typed SofaScore client for the Crawlora hosted API"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -23,7 +23,8 @@ async = ["httpx>=0.27"]
|
|
|
23
23
|
test = ["mypy>=1.11", "pytest>=8"]
|
|
24
24
|
|
|
25
25
|
[project.urls]
|
|
26
|
-
Homepage = "https://
|
|
26
|
+
Homepage = "https://crawlora.net/?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-homepage"
|
|
27
|
+
Documentation = "https://crawlora.net/docs?utm_source=pypi&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-python-api-docs"
|
|
27
28
|
Repository = "https://github.com/Crawlora-org/crawlora-sofascore"
|
|
28
29
|
|
|
29
30
|
[tool.setuptools.packages.find]
|
|
@@ -28,7 +28,7 @@ class MockTransport:
|
|
|
28
28
|
class PackageTests(unittest.TestCase):
|
|
29
29
|
def test_platform_metadata_and_aliases(self):
|
|
30
30
|
self.assertEqual(client_package.PLATFORM, "sofascore")
|
|
31
|
-
self.assertEqual(client_package.__version__, "0.3.
|
|
31
|
+
self.assertEqual(client_package.__version__, "0.3.1")
|
|
32
32
|
self.assertIs(client_package.Client, client_package.SofascoreClient)
|
|
33
33
|
self.assertIs(client_package.AsyncClient, client_package.AsyncSofascoreClient)
|
|
34
34
|
self.assertEqual(client_package.OPERATION_COUNT, len(client_package.OPERATION_IDS))
|
|
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
|
{crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/requires.txt
RENAMED
|
File without changes
|
{crawlora_sofascore-0.3.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|