Skip to content

added arguments in 10dlc api #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [4.24.2](https://github.com/plivo/plivo-python/tree/v4.24.1) (2022-06-27)
**Bug Fix - 10DLC retreive all campaign API**
- Added `limit` and `offset` arguments to the 10DLC [retreive all campaigns API](https://www.plivo.com/docs/privatebeta/sms/api/10dlc/campaign#retrieve-all-campaigns)

## [4.24.1](https://github.com/plivo/plivo-python/tree/v4.24.1) (2022-05-16)
**Bug Fix - Asynchronous Flow Added**
- `callback_url` and `callback_method` added in API's [Asynchronous requests](https://www.plivo.com/docs/voice/api/request#asynchronous-request)
Expand Down
2 changes: 1 addition & 1 deletion plivo/resources/campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get(self, campaign_id):
@validate_args(
brand=[optional(of_type(six.text_type))],
usecase=[optional(of_type(six.text_type))])
def list(self, brand=None, usecase=None):
def list(self, brand=None, usecase=None,limit=None, offset=None):
return self.client.request(
'GET', ('10dlc', 'Campaign'),
to_param_dict(self.list, locals()),
Expand Down
2 changes: 1 addition & 1 deletion plivo/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
__version__ = '4.24.1'
__version__ = '4.24.2'

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='plivo',
version='4.24.1',
version='4.24.2',
description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML',
long_description=long_description,
url='https://github.com/plivo/plivo-python',
Expand Down