Skip to content
This repository has been archived by the owner on Jan 1, 2019. It is now read-only.

fh/SpaceApi4Wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Api Wordpress Plugin

Deprecated There is a much nicer plugin with Space API support and additional interesting hackerspaces features. Please use that one. My plugin is currently not maintained.

This Plugin provides a Space Api Json file.

Warning: This plugin is right now pretty much a proof of concept. It doesnt validate anything and is far from being a nice and maintainable source. It should work however.

With Permalinks enabled, you can access the file with http://yourdomain.tld/spaceapi.json, otherwise http://yourdomain.tld/?spaceapi=show

This plugin provides a hook for other plugins: The Array with the Output for the JSON can be modified using add_filter('spaceapi_data_result', 'yourfunction'); - see extending-spaceapi-example.php.gz for a small example. Feel free to add your door sensor and similar stuff.

Contact

Contact me via github, or here:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published