fixme-lausanne / hackerspaces_ch

The site that was hackerspaces.ch
http://hackerspaces.ch
5 stars 1 forks source link

Synchronization #11

Closed dbrgn closed 10 years ago

dbrgn commented 10 years ago

Hi

Nice project. How is the data synchronized? Is there some automated job to do synchronize regularly? The list seems to be outdated.

Danilo

diadzine commented 10 years ago

Hello,

Thanks!

The data come from the Space API (http://spaceapi.net/directory). Not all the hackerspaces implement this API. The Coredump hackerspace was not founded when this project started. So we will add it soon.

Nemen

dbrgn commented 10 years ago

Ah, I thought it pulled the data from hackerspaces.org. You should probably mention that on your page. Yeah, I'm involved with coredump, that's why I asked :)

I don't quite understand how to "implement" the spaceapi protocol. Do we just need an endpoint that return JSON? In that case I'll add that to our website soon.

gcmalloc commented 10 years ago

Basically the project is build on two data input

If you want to implement the space api endpoint, you just have to 1) provide a json endpoint that return json compatible with the 2.0 json api (you can find more information on this page : http://hackerspaces.nl/spaceapi/ 2) then register to the list we are using (http://spaceapi.net/directory.json).

Now, concerning the issue, the scraper was only manually launch up to now, I will add a cron job on the server to do that for me. Thanks for reporting :)

dbrgn commented 10 years ago

Nice, I just implemented the API :) http://www.coredump.ch/status.json

gcmalloc commented 10 years ago

Good to know, I manually launched the scraper so coredump is now officially on the site http://hackerspaces.ch/

dbrgn commented 10 years ago

Cool, thanks :)