Pytonapi

Latest version: v0.4.3

Safety actively analyzes 681914 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.2.6

What's Changed

New Features
- Added [example](https://github.com/tonkeeper/pytonapi/blob/main/examples/send_ton.py) for sending TON.

Fixes
- Fixed API endpoint typo in `EmulateMethod.decode_message` method.

Enhancements
- Updated `SSEMethod.subscribe_to_transactions` signature: added optional `operations` parameter.
- Handled HTTP status errors in `_subscribe` method.
- Refactored `__read_content` method for efficient reading.

Miscellaneous
- Added `TONAPISSEError`.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.4...v0.2.6

0.2.4

What's Changed

Updates

* Add `owner` to JettonHolder schema.
* Add `jettons.get_all_holders` method.

Fixes

* Fixed `JSONDecodeError` handling to return error content as a dictionary instead of a set.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.0...v0.2.4

0.2.0

What's Added

- **New API Methods**

**Inscriptions**
- [x] /v2/experimental/accounts/{account_id}/inscriptions
- [x] /v2/experimental/accounts/{account_id}/inscriptions/history
- [x] /v2/experimental/accounts/{account_id}/inscriptions/{ticker}/history
- [x] /v2/experimental/inscriptions/op-template

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.1.9...v0.2.0

0.1.9

What's Added

- **New API Methods**

**Blockchain**
- [x] /v2/status
- [x] /v2/blockchain/masterchain/{masterchain_seqno}/blocks
- [x] /v2/blockchain/masterchain/{masterchain_seqno}/transactions
- [x] /v2/blockchain/masterchain/{masterchain_seqno}/config
- [x] /v2/blockchain/masterchain/{masterchain_seqno}/config/raw

**Emulation**
- [x] /v2/message/decode

- **Missing fields in model schemas.**

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.1.7...v0.1.9

0.1.7

What's Changed

New Features

- Added support for Python `3.11` and `3.12`.

Dependency Updates

- Removed `libscrc` library.
- Updated `httpx` version to `0.26.0`.

Bug Fixes

- [Fixed](https://github.com/tonkeeper/pytonapi/commit/17d1192247af43f1a76be5306b013ea51f06ad38) an issue in the `v2/blockchain/accounts/{account_id}/methods/{method_name}` method.

Refactoring

- Minor code refactoring for improved maintainability.

This release introduces new Python version support, updates dependencies, addresses a specific issue, and includes minor refactoring for better code organization.

0.1.6

What's Added

- **New Features and API Methods**
- Added support for all available methods. See the full list [here](https://github.com/tonkeeper/pytonapi/blob/main/AvailableMethods.md).

- **Streaming API Enhancements**
- Introduced Server-Sent Events (SSE) for enhanced streaming capabilities.
- Enabled Websockets support (Async version only) to provide real-time communication.

- **Library and Dependency Updates**
- Replaced `aiohttp` and `requests` with `httpx` for improved HTTP client functionality.
- Added `websockets` for enhanced interaction and communication.

- **Examples and Usage Illustrations**
- Added a folder with usage examples: [Examples](https://github.com/tonkeeper/pytonapi/tree/main/examples).
- Check out the SSE usage example: [sse.py](https://github.com/tonkeeper/pytonapi/blob/main/examples/sse.py).
- More examples will be added to provide comprehensive guidance.

Changes Made

- Updated the API to include all available methods.
- Implemented Server-Sent Events (SSE) for improved streaming capabilities.
- Introduced Websockets support, available exclusively in the Async version.
- Replaced the usage of `aiohttp` and `requests` with `httpx` for improved HTTP client functionality.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.