Skip to content

drwdal/mebio.us

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mebio.us

A clone of mebious written in Ruby using the Sinatra framework. This repository is the version of the codebase live at https://mebio.us

Below is from the upstream README:

Developed on 2.2.2, may work with earlier versions.

Overview of the Data API


mebious.wired uses a RESTful API to facilitate the development of third party interfaces with read/write access to the central database.

Currently, the API looks like this:

GET /posts -> Returns a JSON array of objects representing the last 20 posts.

GET /posts/n (n = Integer > 0 and < 100) -> Returns a JSON array of objects representing the last n posts.

POST /api/key (key = API key) -> Makes a post where the text body is the POST field "text", returns a JSON object of success/error state.


Dependencies

  • sinatra
  • sqlite3
  • builder
  • rack_csrf
  • sinatra-cross_origin
  • mysql2 (optional, for mysql support)

About

Source code of https://mebio.us

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors