Closed gka closed 12 years ago
Good one :-) I'll try to check how easy will be, ok?
great, thx.
Think it's not that important anymore. Meanwhile I helped myself using a little PyBossa client which simplifies things a lot. Here's how I update a presenter template now:
import pbclient
pbclient.set('api_url', 'http://pybossa.com')
pbclient.set('api_key', '--my-api-key--')
app = pbclient.find_app(short_name='flickrperson')
app.info['task_presenter'] = open('presenter.html', 'r').read()
pbclient.update_app(app)
PyBossa client moved to its own repository: https://github.com/PyBossa/pybossa-client
Think there's no need to simplify the API.
Why not simply have a
endpoint in order to set/update the task presenter template?
I don't want to re-transmit thumbnails, long descriptions and all those stuff every time.