Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #11 from klaviyo/20221025-jonb-new-info
Browse files Browse the repository at this point in the history
updated readme and pypi links, with a version bump
  • Loading branch information
jon-batscha authored Oct 25, 2022
2 parents 43eec03 + 9e792a2 commit e6d4992
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# NEW API + SDK

NOTE: we have a python SDK to go along with our new API.

We recommend migrating over to our [newest SDK](https://github.com/klaviyo/klaviyo-api-python).

You can read more about our SDK release history and support [here](https://developers.klaviyo.com/en/docs/sdk_overview)

For a comparison between our old and new APIs, check out [this guide](https://developers.klaviyo.com/en/docs/apis_comparison_chart).

# Klaviyo Python SDK

- SDK version: 1.0.6.20220329
- SDK version: 1.0.7.20220329

## Helpful Resources

Expand Down
2 changes: 1 addition & 1 deletion klaviyo_sdk/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _wrapped_func(person_id: str=None, params: dict=None) -> dict:

headers = {
"Accept": "application/json",
"user-agent" : "klaviyo-python-sdk/1.0.6.20220329"
"user-agent" : "klaviyo-python-sdk/1.0.7.20220329"
}

response = requests.request("PUT", url, headers=headers, params=querystring, timeout=self.max_wait)
Expand Down
2 changes: 1 addition & 1 deletion swagger_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'klaviyo-python-sdk/1.0.6.20220329'
self.user_agent = 'klaviyo-python-sdk/1.0.7.20220329'

def __del__(self):
if self._pool is not None:
Expand Down

0 comments on commit e6d4992

Please sign in to comment.