GithubHelp home page GithubHelp logo

bastinat0r / spaceapi_visualisation Goto Github PK

View Code? Open in Web Editor NEW
20.0 8.0 7.0 143 KB

Visualisation for Data scraped from the Spaceapi

Home Page: http://spaceapi-stats.n39.eu/

License: MIT License

JavaScript 90.18% CSS 1.51% HTML 8.31%

spaceapi_visualisation's Introduction

N39 Stats-Aggregator

Small tool collecting the JSON originally from the Netz39-Space-Api (spaceapi.n39.eu/json) and visualizing it. Now I collect ALL THE DATA ;) See http://spaceapi-stats.n39.eu/

Dependecies: modules for nodejs: Modules in app/package.json couchdb up and running

Want to contribiute?

Most of the stuff is done in app/public/javascripts/draw.js if you want to change something in the frontend it is propably the right place for that.

Open for adoption

spaceapi_visualisation's People

Contributors

bastinat0r avatar comawill avatar michamilz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spaceapi_visualisation's Issues

Filter by weekdays (optional months, etc.)

To answer the question "how probable is it, that somebody is in the Hackerspace on Saturday, 15:00" it would be nice to filter the data by weekdays / months/ whatnot.

Missing d3 dependency

I tried to build the project, but unfortunately I had some problems with it. I could not initialize the d3 submodule. Did I miss something?

Maybe a small installation instruction would be helpful. Just the basic commands...

hackerspace Bielefeld ist always open

hey we got the same problem like fablab nürnberg.

{
	"api":"0.13",
	"space":"Hackerspace Bielefeld e.V.",
	"logo":"https:\/\/hackerspace-bielefeld.de\/spacestatus\/hackerspace-bielefeld-ev-logo.png",
	"url":"https:\/\/hackerspace-bielefeld.de",
	"location":{
		"lat":52.038224,
		"lon":8.533056,
		"address":"Sudbrackstrasse 42, 33611 Bielefeld, Germany"
	},
	"contact":{
		"phone":"+49-52-1337-322-42",
		"jabber":"[email protected]",
		"ml":"[email protected]",
		"twitter":"@HackerspaceBI",
		"email":"[email protected]",
		"facebook":"https:\/\/www.facebook.com\/HackerspaceBielefeld",
		"issue_mail":"[email protected]"
	},
	"feeds":{
		"blog":{
			"type":"rss",
			"url":"https:\/\/blog.hackerspace-bielefeld.de\/?feed=rss"
		}
	},
	"state":{
		"icon":{
			"open":"https:\/\/hackerspace-bielefeld.de\/spacestatus\/open.png",
			"closed":"https:\/\/hackerspace-bielefeld.de\/spacestatus\/closed.png"
		},
		"open":false,
		"lastchange":1478303509,
		"trigger_person":"infobot"
	},
	"icon":{
		"open":"https:\/\/hackerspace-bielefeld.de\/spacestatus\/open.png",
		"closed":"https:\/\/hackerspace-bielefeld.de\/spacestatus\/closed.png"
	},
	"open":false,
	"projects":[
		"https:\/\/github.com\/HackerspaceBielefeld",
		"https:\/\/wiki.hackerspace-bielefeld.de\/Kategorie:Projekt"
	],
	"issue_report_channels":[
		"email"
	]
}

We moved the server and the current url is https://hackerspace-bielefeld.de/spacestatus/status.json

IPv6 only

Is it possible that 'CCC Bremen' is not display information, becouse it is only reachable by IPv6?

issue_mail is mainly for internal use inside the revalidator

issue_mail was never meant to be consumed by apps. The revalidation workflow is as follows:

1. fetch the JSON from the endpoint
2. [if timeout] 
2. [then] get issue_mail from cache and send report
2. [else] validate the JSON against the specs
2.1 [if not valid]
2.1 [then] get issue_mail and send report

Do you think it's making sense to show it on the stats page?

Always shows open for FabLab Nürnberg

Your visualisation website shows FabLab Nürnberg as open for the few last days, although the raw spaceapi obviously says closed now:

{
    "api": "0.13",
    "space": "FabLab Nürnberg",
    "logo": "http://files.fablab-nuernberg.de/Pressekit/logo_hd.png",
    "url": "http://fablab-nuernberg.de/",
    "location": {
        "address": "Fab Lab Nürnberg e.V., Muggenhofer Straße 141, 90429 Nürnberg, Germany",
        "lat": 49.4604503,
        "lon": 11.0292046
    },
    "state": {
        "icon": {
            "open": "http://api.fablab-nuernberg.de/open.png",
            "closed": "http://api.fablab-nuernberg.de/closed.png"
        },
        "open": false,
        "lastchange": "1448888671",
        "message": "BETA! Also check calendar!"
    },
    "contact": {
        "issue_mail": "YWRtaW5AZmFibGFiLW51ZXJuYmVyZy5kZQ==",
        "phone": "+49 911 93277580",
        "twitter": "@FabLabNbg",
        "facebook": "https://www.facebook.com/FabLabNuernberg",
        "irc": "irc://chat.freenode.net/#fln",
        "keymasters": [
            {
                "name": "Jürgen Weigert",
                "phone": "+49 179 2069677"
            },
            {
                "name": "Michael 'Mose' Mosburger",
                "phone": "+49 171 7090732"
            },
            {
                "name": "Markus Mattern",
                "phone": "+49 176 84200913"
            }
        ]
    },
    "issue_report_channels": [
        "issue_mail"
    ],
    "feeds": {
        "wiki": {
            "type": "atom",
            "url": "http://wiki.fablab-nuernberg.de/index.php?title=Special:RecentChanges&feed=atom"
        },
        "calendar": {
            "type": "ical",
            "url": "https://www.google.com/calendar/ical/1vpegi1lhn9ejbkqq0s6tmumro%40group.calendar.google.com/public/basic.ics"
        }
    },
    "projects": [
        "https://github.com/fablabnbg",
        "http://wiki.fablab-nuernberg.de/index.php?title=Special:AllPages&namespace=502"
    ],
    "sensors": {
        "total_member_count": [
            {
                "name": "full members",
                "value": 102
            },
            {
                "name": "sustaining members",
                "value": 16
            }
        ]
    },
    "open": false,
    "icon": {
        "open": "http://api.fablab-nuernberg.de/open.png",
        "closed": "http://api.fablab-nuernberg.de/closed.png"
    }
}

follow https redirects

Currently some spaces have entered a url to the directory that points to its own https version via 302 redirect. For those SpaceAPI-stats won't find the API entry, because the redirect is not followed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.