You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [Python support](docs/public-api.md#python-support) for the complete policy.
49
+
See [Python support](https://zero-sum-seattle.github.io/python-mlb-statsapi/public-api/#python-support) for the complete policy.
50
50
51
51
## Quick Start
52
52
@@ -126,7 +126,7 @@ async def main():
126
126
asyncio.run(main())
127
127
```
128
128
129
-
See [Async usage](docs/async.md) for lifecycle, concurrency, custom HTTPX clients, and the current async endpoint list.
129
+
See [Async usage](https://zero-sum-seattle.github.io/python-mlb-statsapi/async/) for lifecycle, concurrency, custom HTTPX clients, and the current async endpoint list.
130
130
131
131
## Sync or Async?
132
132
@@ -139,7 +139,7 @@ See [Async usage](docs/async.md) for lifecycle, concurrency, custom HTTPX client
139
139
140
140
`AsyncMlb` mirrors the full endpoint surface of `Mlb`. Both clients return the same Pydantic models and follow the same public HTTP/error behavior.
141
141
142
-
See the [public API contract](docs/public-api.md#asyncmlb-public-client) for the authoritative method list and signatures.
142
+
See the [public API contract](https://zero-sum-seattle.github.io/python-mlb-statsapi/public-api/#asyncmlb-public-client) for the authoritative method list and signatures.
The stats API has several entry points and returns a nested `stats[group][type]` structure. See the dedicated [Stats Guide](docs/stats.md) for `get_player_stats()`, `get_team_stats()`, `get_stats()`, and `get_players_stats_for_game()` examples using both `Mlb` and `AsyncMlb`.
191
+
The stats API has several entry points and returns a nested `stats[group][type]` structure. See the dedicated [Stats Guide](https://zero-sum-seattle.github.io/python-mlb-statsapi/stats/) for `get_player_stats()`, `get_team_stats()`, `get_stats()`, and `get_players_stats_for_game()` examples using both `Mlb` and `AsyncMlb`.
192
192
193
193
### Schedule
194
194
195
195
```python
196
196
schedule = mlb.get_schedule(date="2022-10-13")
197
197
```
198
198
199
-
See the [method reference](docs/methods.md) for the full method documentation that previously lived in the README. Longer runnable examples live in [docs/examples.md](docs/examples.md).
199
+
See the [method reference](https://zero-sum-seattle.github.io/python-mlb-statsapi/methods/) for the full method documentation that previously lived in the README. Longer runnable examples live in the [usage examples](https://zero-sum-seattle.github.io/python-mlb-statsapi/examples/).
200
200
201
201
## HTTP and Error Behavior
202
202
203
203
Both clients use explicit timeouts, structured exceptions, and pooled HTTP connections. `strict_http=True` is the default. Final non-404 4xx responses raise `MlbHttpError`, while existing endpoint-specific 404 behavior is preserved.
204
204
205
-
Library-created clients send a versioned User-Agent. The current package version sends `python-mlb-statsapi/1.1.0`. See the [HTTP transport documentation](docs/http-transport.md) for the full transport contract.
205
+
Library-created clients send a versioned User-Agent. The current package version sends `python-mlb-statsapi/1.1.0`. See the [HTTP transport documentation](https://zero-sum-seattle.github.io/python-mlb-statsapi/http-transport/) for the full transport contract.
206
206
207
207
The main transport exceptions are:
208
208
@@ -223,7 +223,7 @@ except MlbHttpError as exc:
223
223
print(exc.status_code, exc.reason)
224
224
```
225
225
226
-
For timeouts, retries, compatibility mode, ownership rules, and transport details, see [docs/http-transport.md](docs/http-transport.md).
226
+
For timeouts, retries, compatibility mode, ownership rules, and transport details, see the [HTTP transport documentation](https://zero-sum-seattle.github.io/python-mlb-statsapi/http-transport/).
|[Stats guide](docs/stats.md)| Player, team, general, and per-game stat queries with sync and async examples |
251
-
|[Async usage](docs/async.md)| Async installation, lifecycle, concurrency, and examples |
252
-
|[HTTP transport](docs/http-transport.md)| Timeouts, retries, strict HTTP, exceptions, and ownership |
253
-
|[Public API contract](docs/public-api.md)| Supported symbols, signatures, endpoint methods, and stability policy |
254
-
|[Release notes](docs/releases/)| Release-specific changes and migration notes |
247
+
|[Documentation home](https://zero-sum-seattle.github.io/python-mlb-statsapi/)|Installation, quick starts, and links to every guide|
248
+
|[Method reference](https://zero-sum-seattle.github.io/python-mlb-statsapi/methods/)| Method signatures and short descriptions from the original README reference |
|[Stats guide](https://zero-sum-seattle.github.io/python-mlb-statsapi/stats/)| Player, team, general, and per-game stat queries with sync and async examples |
251
+
|[Async usage](https://zero-sum-seattle.github.io/python-mlb-statsapi/async/)| Async installation, lifecycle, concurrency, and examples |
252
+
|[HTTP transport](https://zero-sum-seattle.github.io/python-mlb-statsapi/http-transport/)| Timeouts, retries, strict HTTP, exceptions, and ownership |
253
+
|[Public API contract](https://zero-sum-seattle.github.io/python-mlb-statsapi/public-api/)| Supported symbols, signatures, endpoint methods, and stability policy |
254
+
|[Release notes](https://zero-sum-seattle.github.io/python-mlb-statsapi/releases/)| Release-specific changes and migration notes |
-[Method reference](methods.md) lists the available endpoint methods.
81
+
-[HTTP transport](http-transport.md) documents timeouts, retries, errors, proxies, and ownership.
82
+
-[Public API contract](public-api.md) defines supported symbols and compatibility guarantees.
83
+
-[Release notes](releases.md) summarize each published version.
84
+
85
+
> **Unofficial project.** This package and its authors are not affiliated with or endorsed by Major League Baseball or any MLB team. Use of MLB data is subject to [MLB's copyright notice](https://gdx.mlb.com/components/copyright.txt). This is an educational project—not for commercial use.
0 commit comments