mc5-api-client 1.0.14__tar.gz → 1.0.15__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 (50) hide show
  1. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/PKG-INFO +128 -89
  2. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/README.md +127 -88
  3. mc5_api_client-1.0.15/examples/admin_tools.py +342 -0
  4. mc5_api_client-1.0.15/examples/everyday_mc5.py +152 -0
  5. mc5_api_client-1.0.15/examples/quick_reference.py +189 -0
  6. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/pyproject.toml +1 -1
  7. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/__init__.py +1 -1
  8. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/cli.py +1 -1
  9. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client.egg-info/PKG-INFO +128 -89
  10. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client.egg-info/SOURCES.txt +3 -0
  11. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/.gitignore +0 -0
  12. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/CHANGELOG.md +0 -0
  13. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/LICENSE +0 -0
  14. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/MANIFEST.in +0 -0
  15. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/admin_squad_management.py +0 -0
  16. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/advanced_automation.py +0 -0
  17. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/advanced_features.py +0 -0
  18. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/basic_usage.py +0 -0
  19. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/clan_management.py +0 -0
  20. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/clan_management_complete.py +0 -0
  21. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/events_and_tasks.py +0 -0
  22. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/help_system.py +0 -0
  23. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/message_management.py +0 -0
  24. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/player_stats.py +0 -0
  25. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/private_messaging.py +0 -0
  26. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/quick_help.py +0 -0
  27. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/simple_usage.py +0 -0
  28. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/squad_management.py +0 -0
  29. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/examples/squad_wall_management.py +0 -0
  30. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/pytest.ini +0 -0
  31. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/requirements-dev.txt +0 -0
  32. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/requirements.txt +0 -0
  33. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/setup.cfg +0 -0
  34. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/setup.py +0 -0
  35. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/admin_client.py +0 -0
  36. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/auth.py +0 -0
  37. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/client.py +0 -0
  38. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/exceptions.py +0 -0
  39. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/help.py +0 -0
  40. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/py.typed +0 -0
  41. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client/simple_client.py +0 -0
  42. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client.egg-info/dependency_links.txt +0 -0
  43. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client.egg-info/entry_points.txt +0 -0
  44. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client.egg-info/not-zip-safe +0 -0
  45. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client.egg-info/requires.txt +0 -0
  46. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/src/mc5_api_client.egg-info/top_level.txt +0 -0
  47. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/tests/__init__.py +0 -0
  48. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/tests/test_auth.py +0 -0
  49. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/tests/test_cli.py +0 -0
  50. {mc5_api_client-1.0.14 → mc5_api_client-1.0.15}/tests/test_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mc5_api_client
3
- Version: 1.0.14
3
+ Version: 1.0.15
4
4
  Summary: A comprehensive Python library for interacting with the Modern Combat 5 API
5
5
  Home-page: https://pypi.org/project/mc5-api-client/
6
6
  Author: Chizoba
@@ -232,130 +232,169 @@ client.close()
232
232
  ### **🔧 How It Actually Works:**
233
233
  Admin privileges allow you to modify individual player data within a squad, which indirectly affects the squad's overall rating through the sum of member scores, but you cannot directly set the squad's rating value.
234
234
 
235
- ## 🎮 **Simple Usage for Non-Developers**
235
+ ## **Quick Start - What Most Users Want**
236
236
 
237
- New in v1.0.7! We've added a revolutionary super-simple interface for non-developers:
238
-
239
- ### **🚀 Quick Start - Just 3 Lines!**
237
+ ### **🚀 Everyday MC5 Tasks (3 Lines)**
240
238
 
241
239
  ```python
242
240
  from mc5_api_client import SimpleMC5Client
243
241
 
244
- # Connect and auto-detect your clan
242
+ # Connect and check your daily tasks
245
243
  client = SimpleMC5Client('YOUR_USERNAME', 'YOUR_PASSWORD')
246
244
  client.connect()
247
245
 
248
- # Search for any player by dogtag
249
- player = client.search_player('f55f')
250
- print(f"Found: {player['kills']:,} kills")
246
+ # Check your profile
247
+ profile = client.client.get_profile()
248
+ print(f"Level: {profile['level']}, Score: {profile['score']:,}")
251
249
  ```
252
250
 
253
- ### **🎯 Super Simple Examples:**
251
+ ### **� Search Players Instantly**
254
252
 
255
- **Search Players:**
256
253
  ```python
257
- # One-line search
254
+ # One-line player search
258
255
  from mc5_api_client import quick_search
259
- player = quick_search('218f', 'YOUR_USERNAME', 'YOUR_PASSWORD')
256
+ player = quick_search('f55f', 'YOUR_USERNAME', 'YOUR_PASSWORD')
260
257
  print(f"Elite player: {player['kills']:,} kills!")
261
258
  ```
262
259
 
263
- **Batch Search with Loop:**
260
+ ### **🛡️ Admin Score Updates (Working Example)**
261
+
264
262
  ```python
265
- from mc5_api_client.simple_client import batch_search_players
263
+ from mc5_api_client import quick_update_player_score
266
264
 
267
- dogtags = ['f55f', '9gg9', '78d7', '218f']
268
- results = batch_search_players(dogtags, 'YOUR_USERNAME', 'YOUR_PASSWORD')
265
+ # Add 5200 rating to squad by updating player score
266
+ result = quick_update_player_score(
267
+ target_user_id="anonymous:d2luOF92M18xNzcwMDUxNjkwXy7H33aeTVB4YZictyDq48c=",
268
+ score=5200,
269
+ xp=2037745,
270
+ killsig_color="-974646126",
271
+ killsig_id="default_killsig_80"
272
+ )
269
273
 
270
- # Conditional processing
271
- for player in results['found']:
272
- if player['kills'] > 10000:
273
- print(f"🌟 Elite: {player['dogtag']} - {player['kills']:,} kills")
274
- else:
275
- print(f"👤 Player: {player['dogtag']} - {player['kills']:,} kills")
274
+ if result.get('success'):
275
+ print(f"✅ Score updated: {result.get('score_updated')}")
276
+ else:
277
+ print(f" Error: {result.get('error', 'Unknown error')}")
276
278
  ```
277
279
 
278
- **Smart Clan Cleanup:**
279
- ```python
280
- from mc5_api_client.simple_client import clan_cleanup
281
-
282
- # Intelligent cleanup with conditional logic
283
- results = clan_cleanup(
284
- 'YOUR_USERNAME', 'YOUR_PASSWORD',
285
- inactive_days=30,
286
- min_level=15, # Protect high-level players
287
- dry_run=True # Simulation only
288
- )
280
+ ## � **Examples Folder - Ready-to-Use Scripts**
289
281
 
290
- print(f"Would kick: {results['would_kick']} members")
291
- print(f"Protected: {results['protected']} members")
282
+ New in v1.0.14! We've created practical, ready-to-use scripts for common MC5 tasks:
292
283
 
293
- if results['would_kick'] > 0:
294
- print("⚠️ Consider removing inactive members")
284
+ ### **🎮 Everyday MC5 Tasks**
285
+
286
+ File: `examples/everyday_mc5.py`
287
+ - ✅ Check daily tasks and rewards
288
+ - ✅ Search players by dogtag
289
+ - ✅ Manage clan members
290
+ - ✅ Send messages to friends
291
+ - ✅ Check profile stats
292
+ - ✅ Interactive and user-friendly
293
+
294
+ **Usage:**
295
+ ```bash
296
+ python examples/everyday_mc5.py
295
297
  ```
296
298
 
297
- **Real-time Monitoring:**
298
- ```python
299
- from mc5_api_client.simple_client import monitor_clan_activity
299
+ ### **🛡️ Admin Tools**
300
300
 
301
- # Monitor clan activity every 60 seconds for 10 checks
302
- monitor_clan_activity(
303
- 'YOUR_USERNAME', 'YOUR_PASSWORD',
304
- check_interval=60,
305
- max_checks=10
306
- )
301
+ File: `examples/admin_tools.py`
302
+ - ✅ Update player scores (add rating)
303
+ - ✅ Manage squad members
304
+ - ✅ Kick members with confirmation
305
+ - ✅ Handle clan requests
306
+ - ✅ Safe admin operations
307
+
308
+ **Usage:**
309
+ ```bash
310
+ python examples/admin_tools.py
307
311
  ```
308
312
 
309
- **Clan Management:**
310
- ```python
311
- with SimpleMC5Client('YOUR_USERNAME', 'YOUR_PASSWORD') as client:
312
- client.connect() # Auto-detects your clan!
313
-
314
- # Get all clan members
315
- members = client.get_clan_members()
316
- print(f"Your clan has {len(members)} members")
317
-
318
- # Kick by dogtag (no clan ID needed!)
319
- client.kick_member('9gg9', 'Inactive for 30 days')
320
-
321
- # Update clan settings
322
- client.update_clan_settings(name="Elite Squad 2026")
313
+ ### **⚡ Quick Reference**
314
+
315
+ File: `examples/quick_reference.py`
316
+ - ✅ Copy-paste ready examples
317
+ - ✅ All common operations
318
+ - Error handling patterns
319
+ - Batch operations
320
+ - One-liner functions
321
+
322
+ **Usage:**
323
+ ```bash
324
+ python examples/quick_reference.py
323
325
  ```
324
326
 
325
- **Send Messages:**
326
- ```python
327
- with SimpleMC5Client('YOUR_USERNAME', 'YOUR_PASSWORD') as client:
328
- client.connect()
329
-
330
- # Send message to any player by dogtag
331
- client.send_message('f55f', 'Want to play together?')
327
+ ### **📧 Message Management**
328
+
329
+ File: `examples/message_management.py`
330
+ - ✅ Get inbox messages
331
+ - ✅ Delete single/multiple messages
332
+ - Clear entire inbox
333
+ - Send private messages
334
+ - ✅ Squad wall communication
335
+
336
+ **Usage:**
337
+ ```bash
338
+ python examples/message_management.py
332
339
  ```
333
340
 
334
- ### **✨ Key Benefits for Non-Developers:**
341
+ ### **🏰 Clan Management**
335
342
 
336
- - ✅ **No Clan ID Needed**: Auto-detects your clan from your profile
337
- - ✅ **Simple Method Names**: `search_player()` instead of `get_player_stats_by_dogtag()`
338
- - ✅ **Auto-Connection**: Just call `connect()` once
339
- - ✅ **Clear Error Messages**: User-friendly error descriptions
340
- - ✅ **Context Manager**: Automatic cleanup with `with` statement
341
- - ✅ **Quick Functions**: One-liners for common tasks
343
+ File: `examples/clan_management.py`
344
+ - ✅ Create and manage clans
345
+ - ✅ Invite and kick members
346
+ - ✅ Update clan settings
347
+ - ✅ Handle applications
348
+ - ✅ Clan statistics
342
349
 
343
- ### **📚 Simple vs Advanced Comparison:**
350
+ **Usage:**
351
+ ```bash
352
+ python examples/clan_management.py
353
+ ```
354
+
355
+ ### **📅 Events & Tasks**
356
+
357
+ File: `examples/events_and_tasks.py`
358
+ - ✅ Check daily tasks
359
+ - ✅ Monitor events
360
+ - ✅ Track progress
361
+ - ✅ Get rewards
362
+ - ✅ Event automation
363
+
364
+ **Usage:**
365
+ ```bash
366
+ python examples/events_and_tasks.py
367
+ ```
368
+
369
+ ### **🔐 Encrypted Tokens**
370
+
371
+ File: `examples/help_system.py` (includes token examples)
372
+ - ✅ Generate encrypted tokens
373
+ - ✅ Encrypt existing tokens
374
+ - ✅ Security best practices
375
+ - ✅ Custom nonce support
376
+
377
+ **Usage:**
378
+ ```bash
379
+ python examples/help_system.py
380
+ ```
344
381
 
345
- | Task | Simple Version | Advanced Version |
346
- |------|----------------|------------------|
347
- | Search Player | `client.search_player('f55f')` | `client.get_player_stats_by_dogtag('f55f')` |
348
- | Get Clan Members | `client.get_clan_members()` | `client.get_clan_members(clan_id)` |
349
- | Kick Member | `client.kick_member('9gg9')` | `client.kick_clan_member_by_dogtag('9gg9', clan_id)` |
350
- | Connect | `client.connect()` | Manual authentication |
382
+ **🎯 Why These Examples?**
383
+ - ✅ **No Setup Required**: Just add your credentials
384
+ - **Interactive**: User-friendly prompts
385
+ - **Safe Operations**: Confirmations for destructive actions
386
+ - **Error Handling**: Clear error messages
387
+ - **Real-World Tested**: Based on actual MC5 API usage
388
+ - ✅ **Copy-Paste Ready**: Easy to customize
351
389
 
352
- ### **🎯 Perfect For:**
353
- - **Clan Leaders**: Easy member management
354
- - **Players**: Quick stats lookup
355
- - **Beginners**: No programming experience needed
356
- - **Quick Tasks**: One-liner functions
390
+ **🚀 Getting Started:**
391
+ 1. Install: `pip install mc5_api_client==1.0.14`
392
+ 2. Copy example file
393
+ 3. Add your MC5 credentials
394
+ 4. Run the script
395
+ 5. Done!
357
396
 
358
- ## 📚 **Built-in Help System**
397
+ ## **Built-in Help System**
359
398
 
360
399
  New in v1.0.8! Comprehensive help commands built right into the library:
361
400
 
@@ -418,7 +457,7 @@ try: except MC5APIError:
418
457
  pip install mc5_api_client==1.0.14
419
458
  ```
420
459
 
421
- ✅ **Published and Available!** The MC5 API Client v1.0.14 is now live on PyPI with corrected documentation and working examples!
460
+ ✅ **Published and Available!** The MC5 API Client v1.0.14 is now live on PyPI with ready-to-use examples and simplified documentation!
422
461
 
423
462
  ### **� Install from Local Package**
424
463
 
@@ -154,130 +154,169 @@ client.close()
154
154
  ### **🔧 How It Actually Works:**
155
155
  Admin privileges allow you to modify individual player data within a squad, which indirectly affects the squad's overall rating through the sum of member scores, but you cannot directly set the squad's rating value.
156
156
 
157
- ## 🎮 **Simple Usage for Non-Developers**
157
+ ## **Quick Start - What Most Users Want**
158
158
 
159
- New in v1.0.7! We've added a revolutionary super-simple interface for non-developers:
160
-
161
- ### **🚀 Quick Start - Just 3 Lines!**
159
+ ### **🚀 Everyday MC5 Tasks (3 Lines)**
162
160
 
163
161
  ```python
164
162
  from mc5_api_client import SimpleMC5Client
165
163
 
166
- # Connect and auto-detect your clan
164
+ # Connect and check your daily tasks
167
165
  client = SimpleMC5Client('YOUR_USERNAME', 'YOUR_PASSWORD')
168
166
  client.connect()
169
167
 
170
- # Search for any player by dogtag
171
- player = client.search_player('f55f')
172
- print(f"Found: {player['kills']:,} kills")
168
+ # Check your profile
169
+ profile = client.client.get_profile()
170
+ print(f"Level: {profile['level']}, Score: {profile['score']:,}")
173
171
  ```
174
172
 
175
- ### **🎯 Super Simple Examples:**
173
+ ### **� Search Players Instantly**
176
174
 
177
- **Search Players:**
178
175
  ```python
179
- # One-line search
176
+ # One-line player search
180
177
  from mc5_api_client import quick_search
181
- player = quick_search('218f', 'YOUR_USERNAME', 'YOUR_PASSWORD')
178
+ player = quick_search('f55f', 'YOUR_USERNAME', 'YOUR_PASSWORD')
182
179
  print(f"Elite player: {player['kills']:,} kills!")
183
180
  ```
184
181
 
185
- **Batch Search with Loop:**
182
+ ### **🛡️ Admin Score Updates (Working Example)**
183
+
186
184
  ```python
187
- from mc5_api_client.simple_client import batch_search_players
185
+ from mc5_api_client import quick_update_player_score
188
186
 
189
- dogtags = ['f55f', '9gg9', '78d7', '218f']
190
- results = batch_search_players(dogtags, 'YOUR_USERNAME', 'YOUR_PASSWORD')
187
+ # Add 5200 rating to squad by updating player score
188
+ result = quick_update_player_score(
189
+ target_user_id="anonymous:d2luOF92M18xNzcwMDUxNjkwXy7H33aeTVB4YZictyDq48c=",
190
+ score=5200,
191
+ xp=2037745,
192
+ killsig_color="-974646126",
193
+ killsig_id="default_killsig_80"
194
+ )
191
195
 
192
- # Conditional processing
193
- for player in results['found']:
194
- if player['kills'] > 10000:
195
- print(f"🌟 Elite: {player['dogtag']} - {player['kills']:,} kills")
196
- else:
197
- print(f"👤 Player: {player['dogtag']} - {player['kills']:,} kills")
196
+ if result.get('success'):
197
+ print(f"✅ Score updated: {result.get('score_updated')}")
198
+ else:
199
+ print(f" Error: {result.get('error', 'Unknown error')}")
198
200
  ```
199
201
 
200
- **Smart Clan Cleanup:**
201
- ```python
202
- from mc5_api_client.simple_client import clan_cleanup
203
-
204
- # Intelligent cleanup with conditional logic
205
- results = clan_cleanup(
206
- 'YOUR_USERNAME', 'YOUR_PASSWORD',
207
- inactive_days=30,
208
- min_level=15, # Protect high-level players
209
- dry_run=True # Simulation only
210
- )
202
+ ## � **Examples Folder - Ready-to-Use Scripts**
211
203
 
212
- print(f"Would kick: {results['would_kick']} members")
213
- print(f"Protected: {results['protected']} members")
204
+ New in v1.0.14! We've created practical, ready-to-use scripts for common MC5 tasks:
214
205
 
215
- if results['would_kick'] > 0:
216
- print("⚠️ Consider removing inactive members")
206
+ ### **🎮 Everyday MC5 Tasks**
207
+
208
+ File: `examples/everyday_mc5.py`
209
+ - ✅ Check daily tasks and rewards
210
+ - ✅ Search players by dogtag
211
+ - ✅ Manage clan members
212
+ - ✅ Send messages to friends
213
+ - ✅ Check profile stats
214
+ - ✅ Interactive and user-friendly
215
+
216
+ **Usage:**
217
+ ```bash
218
+ python examples/everyday_mc5.py
217
219
  ```
218
220
 
219
- **Real-time Monitoring:**
220
- ```python
221
- from mc5_api_client.simple_client import monitor_clan_activity
221
+ ### **🛡️ Admin Tools**
222
222
 
223
- # Monitor clan activity every 60 seconds for 10 checks
224
- monitor_clan_activity(
225
- 'YOUR_USERNAME', 'YOUR_PASSWORD',
226
- check_interval=60,
227
- max_checks=10
228
- )
223
+ File: `examples/admin_tools.py`
224
+ - ✅ Update player scores (add rating)
225
+ - ✅ Manage squad members
226
+ - ✅ Kick members with confirmation
227
+ - ✅ Handle clan requests
228
+ - ✅ Safe admin operations
229
+
230
+ **Usage:**
231
+ ```bash
232
+ python examples/admin_tools.py
229
233
  ```
230
234
 
231
- **Clan Management:**
232
- ```python
233
- with SimpleMC5Client('YOUR_USERNAME', 'YOUR_PASSWORD') as client:
234
- client.connect() # Auto-detects your clan!
235
-
236
- # Get all clan members
237
- members = client.get_clan_members()
238
- print(f"Your clan has {len(members)} members")
239
-
240
- # Kick by dogtag (no clan ID needed!)
241
- client.kick_member('9gg9', 'Inactive for 30 days')
242
-
243
- # Update clan settings
244
- client.update_clan_settings(name="Elite Squad 2026")
235
+ ### **⚡ Quick Reference**
236
+
237
+ File: `examples/quick_reference.py`
238
+ - ✅ Copy-paste ready examples
239
+ - ✅ All common operations
240
+ - Error handling patterns
241
+ - Batch operations
242
+ - One-liner functions
243
+
244
+ **Usage:**
245
+ ```bash
246
+ python examples/quick_reference.py
245
247
  ```
246
248
 
247
- **Send Messages:**
248
- ```python
249
- with SimpleMC5Client('YOUR_USERNAME', 'YOUR_PASSWORD') as client:
250
- client.connect()
251
-
252
- # Send message to any player by dogtag
253
- client.send_message('f55f', 'Want to play together?')
249
+ ### **📧 Message Management**
250
+
251
+ File: `examples/message_management.py`
252
+ - ✅ Get inbox messages
253
+ - ✅ Delete single/multiple messages
254
+ - Clear entire inbox
255
+ - Send private messages
256
+ - ✅ Squad wall communication
257
+
258
+ **Usage:**
259
+ ```bash
260
+ python examples/message_management.py
254
261
  ```
255
262
 
256
- ### **✨ Key Benefits for Non-Developers:**
263
+ ### **🏰 Clan Management**
257
264
 
258
- - ✅ **No Clan ID Needed**: Auto-detects your clan from your profile
259
- - ✅ **Simple Method Names**: `search_player()` instead of `get_player_stats_by_dogtag()`
260
- - ✅ **Auto-Connection**: Just call `connect()` once
261
- - ✅ **Clear Error Messages**: User-friendly error descriptions
262
- - ✅ **Context Manager**: Automatic cleanup with `with` statement
263
- - ✅ **Quick Functions**: One-liners for common tasks
265
+ File: `examples/clan_management.py`
266
+ - ✅ Create and manage clans
267
+ - ✅ Invite and kick members
268
+ - ✅ Update clan settings
269
+ - ✅ Handle applications
270
+ - ✅ Clan statistics
264
271
 
265
- ### **📚 Simple vs Advanced Comparison:**
272
+ **Usage:**
273
+ ```bash
274
+ python examples/clan_management.py
275
+ ```
276
+
277
+ ### **📅 Events & Tasks**
278
+
279
+ File: `examples/events_and_tasks.py`
280
+ - ✅ Check daily tasks
281
+ - ✅ Monitor events
282
+ - ✅ Track progress
283
+ - ✅ Get rewards
284
+ - ✅ Event automation
285
+
286
+ **Usage:**
287
+ ```bash
288
+ python examples/events_and_tasks.py
289
+ ```
290
+
291
+ ### **🔐 Encrypted Tokens**
292
+
293
+ File: `examples/help_system.py` (includes token examples)
294
+ - ✅ Generate encrypted tokens
295
+ - ✅ Encrypt existing tokens
296
+ - ✅ Security best practices
297
+ - ✅ Custom nonce support
298
+
299
+ **Usage:**
300
+ ```bash
301
+ python examples/help_system.py
302
+ ```
266
303
 
267
- | Task | Simple Version | Advanced Version |
268
- |------|----------------|------------------|
269
- | Search Player | `client.search_player('f55f')` | `client.get_player_stats_by_dogtag('f55f')` |
270
- | Get Clan Members | `client.get_clan_members()` | `client.get_clan_members(clan_id)` |
271
- | Kick Member | `client.kick_member('9gg9')` | `client.kick_clan_member_by_dogtag('9gg9', clan_id)` |
272
- | Connect | `client.connect()` | Manual authentication |
304
+ **🎯 Why These Examples?**
305
+ - ✅ **No Setup Required**: Just add your credentials
306
+ - **Interactive**: User-friendly prompts
307
+ - **Safe Operations**: Confirmations for destructive actions
308
+ - **Error Handling**: Clear error messages
309
+ - **Real-World Tested**: Based on actual MC5 API usage
310
+ - ✅ **Copy-Paste Ready**: Easy to customize
273
311
 
274
- ### **🎯 Perfect For:**
275
- - **Clan Leaders**: Easy member management
276
- - **Players**: Quick stats lookup
277
- - **Beginners**: No programming experience needed
278
- - **Quick Tasks**: One-liner functions
312
+ **🚀 Getting Started:**
313
+ 1. Install: `pip install mc5_api_client==1.0.14`
314
+ 2. Copy example file
315
+ 3. Add your MC5 credentials
316
+ 4. Run the script
317
+ 5. Done!
279
318
 
280
- ## 📚 **Built-in Help System**
319
+ ## **Built-in Help System**
281
320
 
282
321
  New in v1.0.8! Comprehensive help commands built right into the library:
283
322
 
@@ -340,7 +379,7 @@ try: except MC5APIError:
340
379
  pip install mc5_api_client==1.0.14
341
380
  ```
342
381
 
343
- ✅ **Published and Available!** The MC5 API Client v1.0.14 is now live on PyPI with corrected documentation and working examples!
382
+ ✅ **Published and Available!** The MC5 API Client v1.0.14 is now live on PyPI with ready-to-use examples and simplified documentation!
344
383
 
345
384
  ### **� Install from Local Package**
346
385