Skip to content

Commit dd0327a

Browse files
authored
Remove remaining estimates (#83)
1 parent 04d64a5 commit dd0327a

20 files changed

+16
-4920
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.6.0] - 2025-11-07
9+
10+
### Removed
11+
12+
- Removes `create_mass_estimate` and `create_bitcoin_estimate` method
13+
- Retires all remaining estimates functionalities
14+
815
## [2.5.0] - 2025-08-19
916

1017
### Removed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ orders = patch.orders.retrieve_orders()
4949

5050
### Orders
5151

52-
In Patch, orders represent a purchase of carbon offsets or negative emissions by mass.
53-
Place orders directly if you know the amount of carbon dioxide you would like to sequester.
54-
If you do not know how much to purchase, use an estimate.
55-
You can also create an order with a maximum desired price, and we'll allocate enough mass to
56-
fulfill the order for you.
57-
5852
[API Reference](https://docs.patch.io/#/orders)
5953

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

111+
<<<<<<< HEAD
112+
=======
117113
### Estimates
118114

119115
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.
@@ -148,6 +144,7 @@ page = 1 # Pass in which page of estimates you'd like
148144
patch.estimates.retrieve_estimates(page=page)
149145
```
150146

147+
>>>>>>> origin/main
151148
### Projects
152149

153150
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.

patch_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from __future__ import absolute_import
1717

18-
__version__ = "2.5.0"
18+
__version__ = "2.6.0"
1919

2020
# import ApiClient
2121
from patch_api.api_client import ApiClient

patch_api/api/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# flake8: noqa
44

55
# import apis into api package
6-
from patch_api.api.estimates_api import EstimatesApi
76
from patch_api.api.order_line_items_api import OrderLineItemsApi
87
from patch_api.api.orders_api import OrdersApi
98
from patch_api.api.projects_api import ProjectsApi

0 commit comments

Comments
 (0)