@robinpath/basecamp 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +113 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# @robinpath/basecamp
|
|
2
|
+
|
|
3
|
+
> Basecamp module for RobinPath.
|
|
4
|
+
|
|
5
|
+
   
|
|
6
|
+
|
|
7
|
+
## Why use this module?
|
|
8
|
+
|
|
9
|
+
The `basecamp` module lets you:
|
|
10
|
+
|
|
11
|
+
- listProjects
|
|
12
|
+
- getProject
|
|
13
|
+
- createProject
|
|
14
|
+
- updateProject
|
|
15
|
+
- listTodoLists
|
|
16
|
+
|
|
17
|
+
All functions are callable directly from RobinPath scripts with a simple, consistent API.
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @robinpath/basecamp
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Quick Start
|
|
26
|
+
|
|
27
|
+
**1. Set up credentials**
|
|
28
|
+
|
|
29
|
+
```robinpath
|
|
30
|
+
basecamp.setCredentials "your-credentials"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**2. listProjects**
|
|
34
|
+
|
|
35
|
+
```robinpath
|
|
36
|
+
basecamp.listProjects
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Available Functions
|
|
40
|
+
|
|
41
|
+
| Function | Description |
|
|
42
|
+
|----------|-------------|
|
|
43
|
+
| `basecamp.setCredentials` | Configure basecamp credentials. |
|
|
44
|
+
| `basecamp.listProjects` | listProjects |
|
|
45
|
+
| `basecamp.getProject` | getProject |
|
|
46
|
+
| `basecamp.createProject` | createProject |
|
|
47
|
+
| `basecamp.updateProject` | updateProject |
|
|
48
|
+
| `basecamp.listTodoLists` | listTodoLists |
|
|
49
|
+
| `basecamp.createTodoList` | createTodoList |
|
|
50
|
+
| `basecamp.listTodos` | listTodos |
|
|
51
|
+
| `basecamp.createTodo` | createTodo |
|
|
52
|
+
| `basecamp.updateTodo` | updateTodo |
|
|
53
|
+
| `basecamp.completeTodo` | completeTodo |
|
|
54
|
+
| `basecamp.listMessages` | listMessages |
|
|
55
|
+
| `basecamp.createMessage` | createMessage |
|
|
56
|
+
| `basecamp.listCampfireMessages` | listCampfireMessages |
|
|
57
|
+
| `basecamp.sendCampfireMessage` | sendCampfireMessage |
|
|
58
|
+
| `basecamp.listPeople` | listPeople |
|
|
59
|
+
| `basecamp.getPerson` | getPerson |
|
|
60
|
+
| `basecamp.listComments` | listComments |
|
|
61
|
+
| `basecamp.createComment` | createComment |
|
|
62
|
+
|
|
63
|
+
## Examples
|
|
64
|
+
|
|
65
|
+
### listProjects
|
|
66
|
+
|
|
67
|
+
```robinpath
|
|
68
|
+
basecamp.listProjects
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### getProject
|
|
72
|
+
|
|
73
|
+
```robinpath
|
|
74
|
+
basecamp.getProject
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### createProject
|
|
78
|
+
|
|
79
|
+
```robinpath
|
|
80
|
+
basecamp.createProject
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Integration with RobinPath
|
|
84
|
+
|
|
85
|
+
```typescript
|
|
86
|
+
import { RobinPath } from "@wiredwp/robinpath";
|
|
87
|
+
import Module from "@robinpath/basecamp";
|
|
88
|
+
|
|
89
|
+
const rp = new RobinPath();
|
|
90
|
+
rp.registerModule(Module.name, Module.functions);
|
|
91
|
+
rp.registerModuleMeta(Module.name, Module.functionMetadata);
|
|
92
|
+
|
|
93
|
+
const result = await rp.executeScript(`
|
|
94
|
+
basecamp.setCredentials "your-credentials"
|
|
95
|
+
basecamp.listProjects
|
|
96
|
+
`);
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Full API Reference
|
|
100
|
+
|
|
101
|
+
See [MODULE.md](./MODULE.md) for complete documentation including all parameters, return types, error handling, and advanced examples.
|
|
102
|
+
|
|
103
|
+
## Related Modules
|
|
104
|
+
|
|
105
|
+
- [`@robinpath/asana`](../asana) — Asana module for complementary functionality
|
|
106
|
+
- [`@robinpath/clickup`](../clickup) — ClickUp module for complementary functionality
|
|
107
|
+
- [`@robinpath/jira`](../jira) — Jira module for complementary functionality
|
|
108
|
+
- [`@robinpath/linear`](../linear) — Linear module for complementary functionality
|
|
109
|
+
- [`@robinpath/monday`](../monday) — Monday.com module for complementary functionality
|
|
110
|
+
|
|
111
|
+
## License
|
|
112
|
+
|
|
113
|
+
MIT
|