You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+16
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
# Changelog
2
2
3
+
## 0.1.0-alpha.1 (2025-01-14)
4
+
5
+
Full Changelog: [v0.0.1-alpha.1...v0.1.0-alpha.1](https://github.com/beatsfoundation/beats-foundation-sdk/compare/v0.0.1-alpha.1...v0.1.0-alpha.1)
6
+
7
+
### Features
8
+
9
+
***api:** api update ([#8](https://github.com/beatsfoundation/beats-foundation-sdk/issues/8)) ([abe66f1](https://github.com/beatsfoundation/beats-foundation-sdk/commit/abe66f1a8d13dc74b713c81c26d824819b2ca0ac))
10
+
***api:** api update ([#9](https://github.com/beatsfoundation/beats-foundation-sdk/issues/9)) ([126444e](https://github.com/beatsfoundation/beats-foundation-sdk/commit/126444eb9473a7c1da054741c7f9aa658cb30dbd))
11
+
***api:** update via SDK Studio ([#6](https://github.com/beatsfoundation/beats-foundation-sdk/issues/6)) ([94dcca5](https://github.com/beatsfoundation/beats-foundation-sdk/commit/94dcca579b38b9c238093de3617f425934432f44))
The AI Creation Engine SDK, by the BEATS AI Foundation, provides convenient access to the AI Creation Engine REST API from any Python 3.8+
5
+
The Beats Foundation Python library provides convenient access to the Beats Foundation REST API from any Python 3.8+
6
6
application. The library includes type definitions for all request params and response fields,
7
7
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
8
8
9
9
It is generated with [Stainless](https://www.stainlessapi.com/).
10
10
11
11
## Documentation
12
12
13
-
The REST API documentation can be found on [docs.beats-foundation.com](https://docs.beats-foundation.com). The full API of this library can be found in [api.md](api.md).
13
+
The REST API documentation can be found on [docs.beatsfoundation.com](https://docs.beatsfoundation.com). The full API of this library can be found in [api.md](api.md).
14
14
15
15
## Installation
16
16
17
17
```sh
18
18
# install from PyPI
19
-
pip install --pre beats_foundation
19
+
pip install --pre beats-foundation
20
20
```
21
21
22
22
## Usage
23
23
24
24
The full API of this library can be found in [api.md](api.md).
25
25
26
26
```python
27
+
import os
27
28
from beats_foundation import BeatsFoundation
28
29
29
-
client = BeatsFoundation()
30
+
client = BeatsFoundation(
31
+
bearer_token=os.environ.get(
32
+
"BEATSFOUNDATION_BEARER_TOKEN"
33
+
), # This is the default and can be omitted
34
+
)
30
35
31
36
song = client.songs.retrieve(
32
37
"REPLACE_ME",
@@ -44,10 +49,15 @@ so that your Bearer Token is not stored in source control.
44
49
Simply import `AsyncBeatsFoundation` instead of `BeatsFoundation` and use `await` with each API call:
0 commit comments