Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Commit cf5997d

Browse files
committed
Requested changes.
1 parent 6414110 commit cf5997d

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

pypodio2/areas.py

+10-6
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_options(silent=False, hook=True):
2929
if not hook:
3030
options_['hook'] = hook
3131
if options_:
32-
return '?' + urlencode(options_)
32+
return '?' + urlencode(options_).lower()
3333
else:
3434
return ''
3535

@@ -38,9 +38,11 @@ class Item(Area):
3838
def find(self, item_id, basic=False, **kwargs):
3939
"""
4040
Get item
41-
42-
:param item_id: Item's id
43-
:return: Dict with item info
41+
42+
Arguments:
43+
item_id: Item's id
44+
Returns:
45+
Dict with item info
4446
"""
4547
if basic:
4648
return self.transport.GET(url='/item/%d/basic' % item_id)
@@ -100,8 +102,10 @@ def activate(self, app_id):
100102
"""
101103
Activates the application with app_id
102104
103-
:param app_id: Application ID as string or int
104-
:return: Python dict of JSON response
105+
Arguments:
106+
app_id: Application ID as string or int
107+
Return:
108+
Python dict of JSON response
105109
"""
106110
return self.transport.POST(url='/app/%s/activate' % app_id)
107111

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="pypodio2",
5-
version="0.1",
5+
version="0.2",
66
description="Python wrapper for the Podio API",
77
author="Podio",
88
author_email="[email protected]",

0 commit comments

Comments
 (0)