its-rigs / Trolly

A Python wrapper around the Trello API. Provides a group of Python classes to represent Trello Objects. All classes come with basic Trello API method calls and are easily extensible to suit your needs. See the README for more details.
MIT License
100 stars 29 forks source link

Dispatch Card.add_label based on argument type #36

Closed jean closed 8 years ago

jean commented 8 years ago

Select the Trello API based on the argument type:

The second API returns a list of label ids, while the first returns the JSON for the new label.