Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

manifest_id to manifest - current API is buggy

add screenshot description
  • Loading branch information...
commit e5d944b29b2a79201a99c5ce01e74dfdaa6b2f64 1 parent d67cccf
@zalun zalun authored
Showing with 7 additions and 1 deletion.
  1. +6 −0 README.rst
  2. +1 −1  python/lib/marketplace.py
View
6 README.rst
@@ -37,3 +37,9 @@ Usage
* Display status of the app::
python main.py status your_app_id
+
+* Add screenshot (currently only JPEG) to app, some data including id will be returned::
+
+ python main.py add_screenshot your_app_id ~/data/some.jpg
+
+
View
2  python/lib/marketplace.py
@@ -173,7 +173,7 @@ def create(self, manifest_id):
* slug (string) unique name in marketplace
"""
return self.post(self.url('create'),
- {'manifest_id': '%s' % manifest_id})
+ {'manifest': '%s' % manifest_id})
def update(self, app_id, data):
"""Update app identified by app_id with data

1 comment on commit e5d944b

@zalun
Owner

Current API isn't buggy anymore - docs have been fixed

Please sign in to comment.
Something went wrong with that request. Please try again.