Skip to content

abrookins/go_iching_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This is a JSON API wrapper around the `iching` library.

It provides the following endpoints:

    POST: /reading (with 'question' value provided by client)
    GET: /reading (no question provided by client)
    GET: /hexagrams/{hexagram number}
    GET: /hexagrams

POST a 'question' to /reading or just GET it -- you'll receive a generated
hexagram and "NextHexagram" if the lines in the first hexagram are changing. The
only difference is, you'll get back the question the client asked if one is
provided.

GET a single hexagram by its number (see:
http://en.wikipedia.org/wiki/List_of_hexagrams_of_the_I_Ching) or all hexagrams
at /hexagrams.

About

a JSON API for getting I Ching readings and hexagram data, written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages