a python library for accessing the ClickUp api
Thanks to @bastbnl (#10), we now have support for overriding the User-Agent
for this library!
In this release, I've added a naive implementation helper method to get certain objects by their ID.
Hopefully when their v2 of the API is released, these can be remapped to the right API calls!
This also adds some type annotations for the model methods like List.create_task
and Task.update
.
This release should resolve https://github.com/jpetrucciani/pyclickup/issues/6.
The add_assignees
and remove_assignees
parameters are now correctly documented as Lists of int
/Users
instead of just int
/User
, and the list is defaulted to an empty list if nothing is passed to the function.
Thanks @y-aok for bringing up this issue!
This adds basic task creation to the List class so that you can make tasks programmatically!
Related to issue https://github.com/jpetrucciani/pyclickup/issues/5 by @Sergprotector
Using a ClickUp List object, you can provide a few different options to customize the new task. The method will return the id of the new task you created; however, if you'd like that task's object, you'll have to re-query the List for it, as currently ClickUp does not have an API method to fetch a single task by id.
The API endpoint this is based on can be found here.
Thanks again @y-aok !
Thanks @y-aok!
This solves the issues on pip install if you don't already have requests installed.
Adding a ton of type annotations to the client module
This cleans up the travis builder so that on deployments it doesn't show up as failing. It also cleans up some of the magic locals() usage
Switching readme to rst so I don't have to deal with any issues related to converting that on deploy
This release updates some of the readme related stuff for PyPi!