Skip to content

Commit

Permalink
Merge pull request #49 from sendinblue/feature_may
Browse files Browse the repository at this point in the history
Updated wrapper to v6.2.0
  • Loading branch information
ruudy-sib authored May 21, 2020
2 parents 1f1b324 + f7ec84b commit 440883d
Show file tree
Hide file tree
Showing 74 changed files with 1,407 additions and 510 deletions.
128 changes: 66 additions & 62 deletions README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/AccountApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All URIs are relative to *https://api.sendinblue.com/v3*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_account**](AccountApi.md#get_account) | **GET** /account | Get your account informations, plans and credits details
[**get_account**](AccountApi.md#get_account) | **GET** /account | Get your account information, plan and credits details


# **get_account**
> GetAccount get_account()
Get your account informations, plans and credits details
Get your account information, plan and credits details

### Example
```python
Expand All @@ -35,7 +35,7 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY'
api_instance = sib_api_v3_sdk.AccountApi(sib_api_v3_sdk.ApiClient(configuration))

try:
# Get your account informations, plans and credits details
# Get your account information, plan and credits details
api_response = api_instance.get_account()
pprint(api_response)
except ApiException as e:
Expand Down
2 changes: 1 addition & 1 deletion docs/AddContactToList.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**emails** | **list[str]** | Emails to add to a list | [optional]
**emails** | **list[str]** | Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
24 changes: 12 additions & 12 deletions docs/AttributesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ All URIs are relative to *https://api.sendinblue.com/v3*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_attribute**](AttributesApi.md#create_attribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Creates contact attribute
[**delete_attribute**](AttributesApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Deletes an attribute
[**get_attributes**](AttributesApi.md#get_attributes) | **GET** /contacts/attributes | Lists all attributes
[**update_attribute**](AttributesApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Updates contact attribute
[**create_attribute**](AttributesApi.md#create_attribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute
[**delete_attribute**](AttributesApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
[**get_attributes**](AttributesApi.md#get_attributes) | **GET** /contacts/attributes | List all attributes
[**update_attribute**](AttributesApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute


# **create_attribute**
> create_attribute(attribute_category, attribute_name, create_attribute)
Creates contact attribute
Create contact attribute

### Example
```python
Expand Down Expand Up @@ -41,7 +41,7 @@ attribute_name = 'attribute_name_example' # str | Name of the attribute
create_attribute = sib_api_v3_sdk.CreateAttribute() # CreateAttribute | Values to create an attribute

try:
# Creates contact attribute
# Create contact attribute
api_instance.create_attribute(attribute_category, attribute_name, create_attribute)
except ApiException as e:
print("Exception when calling AttributesApi->create_attribute: %s\n" % e)
Expand Down Expand Up @@ -73,7 +73,7 @@ void (empty response body)
# **delete_attribute**
> delete_attribute(attribute_category, attribute_name)
Deletes an attribute
Delete an attribute

### Example
```python
Expand All @@ -100,7 +100,7 @@ attribute_category = 'attribute_category_example' # str | Category of the attrib
attribute_name = 'attribute_name_example' # str | Name of the existing attribute

try:
# Deletes an attribute
# Delete an attribute
api_instance.delete_attribute(attribute_category, attribute_name)
except ApiException as e:
print("Exception when calling AttributesApi->delete_attribute: %s\n" % e)
Expand Down Expand Up @@ -131,7 +131,7 @@ void (empty response body)
# **get_attributes**
> GetAttributes get_attributes()
Lists all attributes
List all attributes

### Example
```python
Expand All @@ -156,7 +156,7 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY'
api_instance = sib_api_v3_sdk.AttributesApi(sib_api_v3_sdk.ApiClient(configuration))

try:
# Lists all attributes
# List all attributes
api_response = api_instance.get_attributes()
pprint(api_response)
except ApiException as e:
Expand Down Expand Up @@ -184,7 +184,7 @@ This endpoint does not need any parameter.
# **update_attribute**
> update_attribute(attribute_category, attribute_name, update_attribute)
Updates contact attribute
Update contact attribute

### Example
```python
Expand Down Expand Up @@ -212,7 +212,7 @@ attribute_name = 'attribute_name_example' # str | Name of the existing attribute
update_attribute = sib_api_v3_sdk.UpdateAttribute() # UpdateAttribute | Values to update an attribute

try:
# Updates contact attribute
# Update contact attribute
api_instance.update_attribute(attribute_category, attribute_name, update_attribute)
except ApiException as e:
print("Exception when calling AttributesApi->update_attribute: %s\n" % e)
Expand Down
Loading

0 comments on commit 440883d

Please sign in to comment.