Skip to content

Commit

Permalink
Release 0.0.4 pypi pckg
Browse files Browse the repository at this point in the history
  • Loading branch information
caroso1222 committed Sep 16, 2016
1 parent e0d2cbc commit be4dbc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@ __pycache__/
*.py[cod]
dist/
MANIFEST
release_pypi.sh
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -2,12 +2,12 @@
setup(
name = 'wapy',
packages = ['wapy'],
version = '0.0.3',
version = '0.0.4',
description = 'A python wrapper for the Walmart Open API',
author = 'Carlos Roso',
author_email = 'ce.roso398@gmail.com',
url = 'https://github.com/caroso1222/wapy',
download_url = 'https://github.com/caroso1222/wapy/tarball/0.0.3',
download_url = 'https://github.com/caroso1222/wapy/tarball/0.0.4',
keywords = ['walmart', 'wrapper', 'walmart api', 'api', 'python client', 'python'],
install_requires=["requests"],
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion wapy/api.py
Expand Up @@ -143,7 +143,7 @@ def search(self, query, **kwargs):
kwargs['start'] = kwargs['numItems']*(kwargs['page']-1) + 1
else:
#if numItems not specified, use 10 as default items per page as Walmart does too
kwargs['start'] = 10*kwargs['page']
kwargs['start'] = 10*(kwargs['page']-1) + 1
kwargs.pop('page', None)
data = self._send_request(url, **kwargs).json()
products = []
Expand Down

0 comments on commit be4dbc9

Please sign in to comment.