Skip to content

open-notify/Open-Notify-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

88c34b7 · Oct 30, 2016
Jun 18, 2016
Jan 20, 2013
Jul 7, 2013
Mar 27, 2015
Jan 20, 2013
Nov 21, 2013
Jul 8, 2013
Dec 11, 2015
Mar 22, 2013
Sep 22, 2013
Feb 1, 2016
Oct 30, 2016
Nov 9, 2014
Jun 18, 2016
Nov 9, 2014
Nov 9, 2014
Nov 9, 2014

Repository files navigation

Open Nofity APIs

Build Status Requirements Status Docs

APIs for api.open-notify.org

Install for the first time:

Make sure you have some packages:

# apt-get install python python-dev python-pip virtualenvwrapper redis-server

Note: if you're installing virtualenvwrapper for the first time, be sure to log out and back in before continuing.

Create a virtual environment

$ mkvirtualenv opennotify
(opennotify)$ pip install -r requirements.txt

Get data

(opennotify)$ python update.py

Run locally:

Start virtual environment

$ workon opennotify

Run with foreman using dev procfile:

(opennotify)$ foreman start -f Procfile.dev

Open a browser to localhost:5000.

Run Testsuite

(opennotify)$ cd testsuite
(opennotify)$ pip install -r requirements.txt
(opennotify)$ cd ..
(opennotify)$ make test

API Documentation

Docs are in the gh-pages branch, or on the web here:

License

Copyright (C) 2016 Nathan Bergey

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/.