aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-10-31 00:06:07 -0400
committerSean Allred <code@seanallred.com>2014-10-31 00:06:07 -0400
commita38b35b0e70a13288823988e4572406dc1c93a05 (patch)
tree8c93d9c46a71fb8a75d52757f33bb13471bea5c9
parent51eef5a1b8bebaf699a92ac4af15c37cc76db1d2 (diff)
Add stack-network
-rw-r--r--stack-network.el33
1 files changed, 33 insertions, 0 deletions
diff --git a/stack-network.el b/stack-network.el
new file mode 100644
index 0000000..e7e333c
--- /dev/null
+++ b/stack-network.el
@@ -0,0 +1,33 @@
+;;; stack-network.el --- network functions for stack-mode -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2014 Sean Allred
+
+;; Author: Sean Allred <code@seanallred.com>
+;; Keywords: help, hypermedia, mail, news, tools
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;
+
+;;; Code:
+
+(require 'stack-core)
+
+(defun stack-network-get-networks ()
+ (stack-core-make-request "sites"))
+
+(provide 'stack-network)
+;;; stack-network.el ends here