Skip to content

deniseyu/ruby-API-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Ruby API

This is a simple replica of Github's Zen API using a Sinatra server.

To Use

git clone git@github.com:deniseyu/ruby-API-wrapper.git
cd ruby-API-wrapper

To run, you will have to upload your own textfile. Modify the constant in server.rb to open your file. Each new line is parsed into an array. You may have to change the get_body method to parse your text correctly.

To check for a successful response, rackup your server, and in command line:

curl http://localhost:9292

About

Ruby Wrapper that simulates the Github Zen API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages