Skip to content

Commit 264702c

Browse files
authored
Merge pull request #31 from coingecko/release-please--branches--main--changes--next
release: 1.10.1
2 parents 29aa4ca + 2a4e50d commit 264702c

6 files changed

Lines changed: 18 additions & 10 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.10.0"
2+
".": "1.10.1"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 81
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/coingecko%2Fcoingecko-91c83447321ba66e6f4972b448ee54d2361be73423ff0200633740f47dfb0cea.yml
33
openapi_spec_hash: 775dac0b3f4bd1d7bb64745c22546758
4-
config_hash: 43f1224de55e7812fa92ff04f51214bf
4+
config_hash: 7710c0bb2c0cea0ec5a44596f81188a6

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.10.1 (2025-09-25)
4+
5+
Full Changelog: [v1.10.0...v1.10.1](https://github.com/coingecko/coingecko-python/compare/v1.10.0...v1.10.1)
6+
7+
### Bug Fixes
8+
9+
* Correct accessing example in README ([7a8c9fd](https://github.com/coingecko/coingecko-python/commit/7a8c9fd3c281c92b3946d6f8e4a46566f88ef810))
10+
311
## 1.10.0 (2025-09-22)
412

513
Full Changelog: [v1.9.0...v1.10.0](https://github.com/coingecko/coingecko-python/compare/v1.9.0...v1.10.0)

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ client = Coingecko(
3434
environment="pro", # "demo" to initialize the client with Demo API access
3535
)
3636

37-
price = client.simple.price.get(
37+
price_data = client.simple.price.get(
3838
vs_currencies="usd",
3939
ids="bitcoin",
4040
)
41-
print(price.bitcoin)
41+
print(price_data['bitcoin'].usd)
4242
```
4343

4444
While you can provide a `pro_api_key` keyword argument,
@@ -63,11 +63,11 @@ client = AsyncCoingecko(
6363

6464

6565
async def main() -> None:
66-
price = await client.simple.price.get(
66+
price_data = await client.simple.price.get(
6767
vs_currencies="usd",
6868
ids="bitcoin",
6969
)
70-
print(price.bitcoin)
70+
print(price_data['bitcoin'].usd)
7171

7272

7373
asyncio.run(main())
@@ -255,8 +255,8 @@ response = client.simple.price.with_raw_response.get(
255255
)
256256
print(response.headers.get('X-My-Header'))
257257

258-
price = response.parse() # get the object that `simple.price.get()` would have returned
259-
print(price.bitcoin)
258+
price_data = response.parse() # get the object that `simple.price.get()` would have returned
259+
print(price_data['bitcoin'].usd)
260260
```
261261

262262
These methods return an [`APIResponse`](https://github.com/coingecko/coingecko-python/tree/main/src/coingecko_sdk/_response.py) object.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "coingecko_sdk"
3-
version = "1.10.0"
3+
version = "1.10.1"
44
description = "The official Python library for the coingecko API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/coingecko_sdk/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "coingecko_sdk"
4-
__version__ = "1.10.0" # x-release-please-version
4+
__version__ = "1.10.1" # x-release-please-version

0 commit comments

Comments
 (0)