File tree Expand file tree Collapse file tree 4 files changed +48
-15
lines changed Expand file tree Collapse file tree 4 files changed +48
-15
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will upload a Python Package using Twine when a release is created
2
+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name : Upload Python Package
10
+
11
+ on :
12
+ release :
13
+ types : [published]
14
+
15
+ jobs :
16
+ deploy :
17
+
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : Set up Python
23
+ uses : actions/setup-python@v2
24
+ with :
25
+ python-version : ' 3.x'
26
+ - name : Install dependencies
27
+ run : |
28
+ python -m pip install --upgrade pip
29
+ pip install build
30
+ - name : Build package
31
+ run : python -m build
32
+ - name : Publish package
33
+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
34
+ with :
35
+ user : __token__
36
+ password : ${{ secrets.PYPI_API_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
9
9
A client for working with the ClickUp API V2. It can be used to interact with the ClickUp API in your projects.
10
10
11
- There are two ways to authenticate with ClickUp API 2.0, with a personal token or creating an application and authenticating with an OAuth2 flow.
12
-
13
- IMPORTANT - If you are creating an application for other's to use, it is highly recommended that you use the OAuth2 flow.
14
-
15
- Documentation: Full documentation and examples can be found here: [ clickupython documentation] ( https://clickupython.readthedocs.io/en/latest/ )
11
+ Documentation (WIP) and examples can be found here: [ clickupython documentation] ( https://clickupython.readthedocs.io/en/latest/ )
16
12
17
13
## Instructions
18
14
@@ -28,14 +24,17 @@ To use the client for a personal account context (no actions on behalf of anothe
28
24
29
25
``` python
30
26
31
- from clickupython import ClickUpClient
27
+ from clickupython import client
32
28
33
29
API_KEY = ' YOUR API KEY'
34
30
35
- client = ClickUpClient(API_KEY )
31
+ c = client. ClickUpClient(API_KEY )
36
32
37
33
# Example request
34
+ <<<<<< < HEAD
38
35
c = client.ClickUpClient(API_KEY )
36
+ ====== =
37
+ >>>>>> > c242702ce58f983c0fa42b1f24e7dcb772fe97ea
39
38
t = c.create_task(" list_id" , name = " Test task" , due_date = " march 2 2021" )
40
39
41
40
print (t.name)
Original file line number Diff line number Diff line change 1
1
[metadata]
2
+ <<<<<<< HEAD
2
3
version = 1.0.3
3
- license_files = LICENSE
4
+ license_files = LICENSE
5
+ =======
6
+ version = ' 1.0.2'
7
+ license_files = LICENSE
8
+ >>>>>>> c242702ce58f983c0fa42b1f24e7dcb772fe97ea
You can’t perform that action at this time.
0 commit comments