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
docs: fix Jekyll permalinks and update documentation URL
- Add Jekyll front matter to all documentation pages
- Fix permalinks for proper GitHub Pages navigation
- Update pyproject.toml documentation URL to GitHub Pages
- Ensure all pages are accessible via navigation
Copy file name to clipboardExpand all lines: docs/api_reference.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,14 @@
1
+
---
2
+
layout: page
3
+
title: API Reference
4
+
permalink: /api_reference/
5
+
---
6
+
1
7
# Pathao Python SDK - API Reference
2
8
3
9
**Version:** 0.1.0
4
10
**Last Updated:** January 2026
5
-
**Status:** Complete Implementation
11
+
**Status:** Complete Implementation
6
12
7
13
---
8
14
@@ -28,7 +34,7 @@
28
34
29
35
The Pathao Python SDK provides a clean, Pythonic interface to the Pathao Courier Merchant API. It handles authentication, request/response serialization, error handling, and provides convenient methods for all supported operations.
30
36
31
-
### Features
37
+
### Features
32
38
33
39
- OAuth 2.0 authentication with automatic token refresh
Copy file name to clipboardExpand all lines: docs/development_guide.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Pathao Python SDK - Development Guide
2
2
3
3
**For Contributors and Maintainers**
4
-
**Status:** Complete Implementation
4
+
**Status:** Complete Implementation
5
5
6
6
---
7
7
8
8
## Project Overview
9
9
10
10
The Pathao Python SDK is a production-ready Python package that provides a comprehensive interface to the Pathao Courier Merchant API. This guide covers the architecture, implementation details, and development workflow for contributors.
11
11
12
-
### Implementation Status
12
+
### Implementation Status
13
13
14
14
-**Complete Implementation:** All 15 phases completed
15
15
-**Test Coverage:** 97% with 196 unit tests
@@ -22,7 +22,7 @@ The Pathao Python SDK is a production-ready Python package that provides a compr
22
22
23
23
## Project Structure
24
24
25
-
### Directory Tree
25
+
### Directory Tree
26
26
27
27
```
28
28
pathao-python/
@@ -95,7 +95,7 @@ pathao-python/
95
95
96
96
## Architecture Overview
97
97
98
-
### System Architecture
98
+
### System Architecture
99
99
100
100
```
101
101
┌─────────────────────────────────────────┐
@@ -160,7 +160,7 @@ pathao-python/
160
160
161
161
### Core Components
162
162
163
-
#### 1. Exception Hierarchy
163
+
#### 1. Exception Hierarchy
164
164
165
165
**File:**`pathao/exceptions.py`
166
166
@@ -180,7 +180,7 @@ PathaoException (base)
180
180
- Field-specific validation error details
181
181
- Retry information for network errors
182
182
183
-
#### 2. Data Models
183
+
#### 2. Data Models
184
184
185
185
**File:**`pathao/models.py`
186
186
@@ -197,7 +197,7 @@ PathaoException (base)
197
197
- JSON serialization support
198
198
- Validation in `__post_init__` where needed
199
199
200
-
#### 3. Input Validation
200
+
#### 3. Input Validation
201
201
202
202
**File:**`pathao/validators.py`
203
203
@@ -212,7 +212,7 @@ PathaoException (base)
212
212
-`validate_item_type()` - Enum validation (1, 2)
213
213
-`validate_integer_range()` - Generic range validation
214
214
215
-
#### 4. HTTP Client
215
+
#### 4. HTTP Client
216
216
217
217
**File:**`pathao/http_client.py`
218
218
@@ -224,7 +224,7 @@ PathaoException (base)
224
224
- Request/response logging (non-sensitive data)
225
225
- Session-based connection pooling
226
226
227
-
#### 5. Authentication Module
227
+
#### 5. Authentication Module
228
228
229
229
**File:**`pathao/modules/auth.py`
230
230
@@ -235,7 +235,7 @@ PathaoException (base)
235
235
- Intelligent fallback to password grant if refresh fails
0 commit comments