Skip to content

Commit 5cc3d75

Browse files
committed
Update endpoint
1 parent ac4a1de commit 5cc3d75

30 files changed

Lines changed: 1520 additions & 2138 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ 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+
## [1.5.0] - 2021-03-01
9+
10+
### Changed
11+
12+
- Changed base URL from https://api.usepatch.com to https://api.patch.io
13+
814
## [1.4.0] - 2021-02-15
915

1016
### Added

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
[![PyPI version](https://badge.fury.io/py/patch-api.svg)](https://badge.fury.io/py/patch-api)
55
[![Discord](https://img.shields.io/discord/733029448558837792)](https://discord.gg/AU8543D)
66

7-
The official Python library for the [Patch API](https://www.usepatch.com).
7+
The official Python library for the [Patch API](https://www.patch.io).
88

99
## Documentation
1010

11-
For a complete API reference, check out [Patch's API Reference.](https://docs.usepatch.com/).
11+
For a complete API reference, check out [Patch's API Reference.](https://docs.patch.io/).
1212

1313
## Installation
1414

1515
Add the library to your `requirements.txt` file:
1616

1717
```txt
18-
patch_api >= 1.4.0
18+
patch_api >= 1.5.0
1919
```
2020

2121
Then run:
@@ -153,6 +153,7 @@ patch.estimates.retrieve_estimates(page=page)
153153
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.
154154

155155
When fetching projects, you can supply filters to the query to narrow your result. Currently supported filters are:
156+
156157
- `country`
157158
- `type`
158159
- `minimum_available_mass`

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__ = "1.4.0"
18+
__version__ = "1.5.0"
1919

2020
# import ApiClient
2121
from patch_api.api_client import ApiClient

0 commit comments

Comments
 (0)