aboutsummaryrefslogtreecommitdiff
path: root/sx-network.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-network.el')
-rw-r--r--sx-network.el32
1 files changed, 32 insertions, 0 deletions
diff --git a/sx-network.el b/sx-network.el
new file mode 100644
index 0000000..1d3af0a
--- /dev/null
+++ b/sx-network.el
@@ -0,0 +1,32 @@
+;;; stack-network.el --- network functions for stack-mode -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2014 Sean Allred
+
+;; Author: Sean Allred <code@seanallred.com>
+
+;; 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