-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtools.html
249 lines (200 loc) · 7.34 KB
/
tools.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<script src="js/swarm-v0.3.0.js" type="text/javascript">
</script>
<script src="http://www.webtoolkit.info/djs/webtoolkit.base64.js"
type="text/javascript">
</script>
<title>BUGswarm Developers</title>
<link rel="stylesheet" href="bootstrap/bootstrap.css" type=
"text/css">
<link rel="stylesheet" href="css/this.css" type="text/css">
<link rel="stylesheet" href=
"js/google-code-prettify/prettify.css" type="text/css">
<script src="http://code.jquery.com/jquery-1.5.2.js" type=
"text/javascript">
</script>
<script src="js/google-code-prettify/prettify.js" type=
"text/javascript">
</script>
<script src="js/application.js" type="text/javascript">
</script>
<script src="js/google-analytics.js" type="text/javascript">
</script>
</head>
<body onload="loadValues()">
<!-- NAVIGATION-->
<div class="topbar">
<div class="topbar-inner">
<div class="container">
<h3><a id="banner" href="index.html" name=
"banner"><img src="images/bs_logo.png"></a></h3>
<ul class="nav">
<li class="dropdown nav-dropdown">
<a href="documentation.html" class=
"dropdown-toggle">Documentation</a>
<ul class="dropdown-menu">
<li><a href=
"configuration_api.html">Configuration</a></li>
<li><a href=
"participation_api.html">Participation</a></li>
</ul>
</li>
<li><a href="tools.html">Tools</a></li>
<li><a href="libraries.html">Libraries</a></li>
<li><a href="tutorial.html">Tutorial</a></li>
<li><a href="applications.html">Applications</a></li>
<li><a href="hardware.html">Hardware</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</div>
</div><!-- CONTENT-->
<div class="container">
<!-- Path-->
<div class="page-header">
<a href="index.html">Home</a> → Tools
</div><!-- Header-->
<h1>Tools</h1>
<p>Here you will find a set of tools to help you develop on the
BUGswarm platform. These tools are designed to make the process
straightforward and developer-friendly.</p>
<!-- BUGswarm Tools-->
<div class="page-header">
<h2>BUGswarm Tools</h2>
</div>
<p>In order to abstract some of the tedious work associated
with using our <a href=
"configuration_api.html">Configuration</a> and <a href=
"participation_api.html">Participation</a> APIs, we have
developed a set of option-parsed terminal commands to make the
BUGswarm development workflow even easier. Built in Python,
<a href="https://github.com/buglabs/bugswarm-tools">BUGswarm
Tools</a> removes any need for curl and nicely formats the JSON
returned by some of the methods in the API.</p>
<h4><a href=
"https://github.com/buglabs/bugswarm-tools">BUGswarm Tools on
GitHub</a></h4><br>
<!-- API Key Management-->
<div class="page-header">
<h2>API Key Management</h2>
</div>
<p>If you have had a chance to take a look at the <a href=
"api_documentation.html">BUGswarm API</a> you may notice the
use of API keys for account authorization when using the
various API methods. Because these keys are used so often, we
have developed this tool to make the creation and reference of
these keys just a bit easier.</p><br>
<div class="page-header"></div>
<form id="account_fields" name="account_fields">
<fieldset>
<h3><legend>Input</legend></h3>
<div class="clearfix">
<label for="login"><strong>Username</strong></label>
<div class="input">
<input id="login" name="login" size="14" type="text"
class="medium">
</div>
</div>
<div class="clearfix">
<label for="pass"><strong>Password</strong></label>
<div class="input">
<input id="pass" name="pass" size="14" type="password"
class="medium">
</div>
</div>
<div class="clearfix">
<div class="input">
<input type="button" value="Create" onclick=
"javascript: createKeys()" class="btn danger">
<input type="button" value="List" onclick=
"javascript: getKeys()" class="btn danger">
<input type="reset" class="btn">
</div>
</div>
</fieldset>
</form>
<div class="page-header"></div>
<form id="api_key_fields" name="api_key_fields">
<fieldset>
<h3><legend>Output</legend></h3>
<div class="clearfix">
<label for="login"><strong>Configuration
Key</strong></label>
<div class="input">
<input id="configuration" name="configuration" size=
"14" type="text" class="xxlarge">
</div>
</div>
<div class="clearfix">
<label for="pass"><strong>Participation
Key</strong></label>
<div class="input">
<input id="participation" name="participation" size=
"14" type="text" class="xxlarge">
</div>
</div>
</fieldset>
</form>
<div class="page-header"></div><br>
<!-- Console-->
<div class="page-header">
<h2>Console</h2>
</div>
<p>This console consists of embedded tools designed to make the
use of our API as simple as possible.</p>
<!-- real-time messaging -->
<h3>Real-Time Messaging</h3>
<p>BUGswarm is one of the few cloud messaging platforms that
allows for real-time communication between devices. Use this
embedded tool to observe these real-time messages.</p>
<form id="swarmfields" name="swarmfields">
<fieldset>
<div class="clearfix">
<label for="apikey"><strong>Participation API
Key</strong></label>
<div class="input">
<input id="apikey" name="apikey" size="14" type="text"
class="xxlarge">
</div>
</div>
<div class="clearfix">
<label for="swarmID"><strong>Swarm ID</strong></label>
<div class="input">
<input id="swarmID" name="swarmID" size="14" type=
"text" class="xxlarge">
</div>
</div>
<div class="clearfix">
<label for="resourceID"><strong>Consumer Resource
ID</strong></label>
<div class="input">
<input id="resourceID" name="resourceID" size="14"
type="text" class="xxlarge">
</div>
</div>
<div class="clearfix">
<label for="muc"><strong>Global Messages</strong></label>
<div class="input">
<textarea id="muc" name="muc" rows="20" readonly=
"readonly" class="xxlarge">
</textarea>
</div>
</div>
<div class="actions">
<input type="button" value="Join Swarm" onclick=
"javascript: joinSwarm()" class="btn danger">
<button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form><script language="javascript" type="text/javascript"
src="js/api_key_management.js">
</script><script language="javascript" type="text/javascript"
src="js/messaging.js">
</script>
</div>
</body>
</html>