Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.6.0] - 2025-11-07

### Removed

- Removes `create_mass_estimate` and `create_bitcoin_estimate` method
- Retires all remaining estimates functionalities

## [2.5.0] - 2025-08-19

### Removed
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ orders = patch.orders.retrieve_orders()

### Orders

In Patch, orders represent a purchase of carbon offsets or negative emissions by mass.
Place orders directly if you know the amount of carbon dioxide you would like to sequester.
If you do not know how much to purchase, use an estimate.
You can also create an order with a maximum desired price, and we'll allocate enough mass to
fulfill the order for you.

[API Reference](https://docs.patch.io/#/orders)

#### Examples
Expand Down Expand Up @@ -114,6 +108,8 @@ page = 1 # Pass in which page of orders you'd like
patch.orders.retrieve_orders(page=page)
```

<<<<<<< HEAD
=======
### Estimates

Estimates allow API users to get a quote for the cost of compensating a certain amount of CO2. When creating an estimate, an order in the `draft` state will also be created, reserving the allocation of a project for 5 minutes. If you don't place your draft order within those 5 minutes, the order will automatically be cancelled.
Expand Down Expand Up @@ -148,6 +144,7 @@ page = 1 # Pass in which page of estimates you'd like
patch.estimates.retrieve_estimates(page=page)
```

>>>>>>> origin/main
### Projects

Projects are the ways Patch takes CO2 out of the air. They can represent reforestation, enhanced weathering, direct air carbon capture, etc. When you place an order via Patch, it is allocated to a project.
Expand Down
2 changes: 1 addition & 1 deletion patch_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from __future__ import absolute_import

__version__ = "2.5.0"
__version__ = "2.6.0"

# import ApiClient
from patch_api.api_client import ApiClient
Expand Down
1 change: 0 additions & 1 deletion patch_api/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# flake8: noqa

# import apis into api package
from patch_api.api.estimates_api import EstimatesApi
from patch_api.api.order_line_items_api import OrderLineItemsApi
from patch_api.api.orders_api import OrdersApi
from patch_api.api.projects_api import ProjectsApi
Expand Down
Loading