crawlora-sofascore 0.2.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.
Files changed (25) hide show
  1. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/PKG-INFO +5 -6
  2. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/README.md +2 -4
  3. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/__init__.py +2 -2
  4. crawlora_sofascore-0.3.1/crawlora_sofascore/operations.py +2066 -0
  5. crawlora_sofascore-0.3.1/crawlora_sofascore/platform.py +1325 -0
  6. crawlora_sofascore-0.3.1/crawlora_sofascore/platform.pyi +12300 -0
  7. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/PKG-INFO +5 -6
  8. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/pyproject.toml +3 -2
  9. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/tests/test_package.py +5 -5
  10. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/tests/test_types.py +16 -16
  11. crawlora_sofascore-0.2.0/crawlora_sofascore/operations.py +0 -849
  12. crawlora_sofascore-0.2.0/crawlora_sofascore/platform.py +0 -533
  13. crawlora_sofascore-0.2.0/crawlora_sofascore/platform.pyi +0 -4904
  14. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/LICENSE +0 -0
  15. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/__init__.pyi +0 -0
  16. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/_pagination.py +0 -0
  17. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/_transport_sync.py +0 -0
  18. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/async_client.py +0 -0
  19. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/client.py +0 -0
  20. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore/py.typed +0 -0
  21. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/SOURCES.txt +0 -0
  22. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/dependency_links.txt +0 -0
  23. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/requires.txt +0 -0
  24. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/crawlora_sofascore.egg-info/top_level.txt +0 -0
  25. {crawlora_sofascore-0.2.0 → crawlora_sofascore-0.3.1}/setup.cfg +0 -0
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crawlora-sofascore
3
- Version: 0.2.0
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://github.com/Crawlora-org/crawlora-sofascore
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"
@@ -88,8 +89,6 @@ async def main():
88
89
  asyncio.run(main())
89
90
  ```
90
91
 
91
- The import snippet above is for a project where this PyPI package is installed. To run the checked-in example from a source checkout, install `./python` from the repository root and run `python examples/python.py`; see the [source-checkout instructions](https://github.com/Crawlora-org/crawlora-sofascore#run-examples-from-a-source-checkout).
92
-
93
92
  ## Configuration
94
93
 
95
94
  Pass your key through `api_key` or read `CRAWLORA_API_KEY` from the environment.
@@ -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"
@@ -66,8 +66,6 @@ async def main():
66
66
  asyncio.run(main())
67
67
  ```
68
68
 
69
- The import snippet above is for a project where this PyPI package is installed. To run the checked-in example from a source checkout, install `./python` from the repository root and run `python examples/python.py`; see the [source-checkout instructions](https://github.com/Crawlora-org/crawlora-sofascore#run-examples-from-a-source-checkout).
70
-
71
69
  ## Configuration
72
70
 
73
71
  Pass your key through `api_key` or read `CRAWLORA_API_KEY` from the environment.
@@ -6,10 +6,10 @@ from .operations import OPERATION_COUNT, OPERATION_IDS, PLATFORM
6
6
 
7
7
  Client = SofascoreClient
8
8
  AsyncClient = AsyncSofascoreClient
9
- __version__ = '0.2.0'
9
+ __version__ = '0.3.1'
10
10
  DISPLAY_NAME = 'SofaScore'
11
11
  PLATFORM = 'sofascore'
12
- CONTRACT_REVISION = 'sha256:91686922e3c5ab6569dbe0abd882fbbbc86c4395a86f151582a2291fb11de036'
12
+ CONTRACT_REVISION = 'sha256:645115670262bb86bf9c49f16ddbfdd94bbec67befb2aa8497f10f86ee2d5e46'
13
13
 
14
14
  __all__ = [
15
15
  "SofascoreClient", "AsyncSofascoreClient", "Client", "AsyncClient",