Skip to content

kberger/anapioficeandfire-haskell

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

anapioficeandfire-haskell Build Status

A Haskell wrapper for interaction with www.anapioficeandfire.com

API docs generated/hosted on hackage

Usage Example

> jonSnow <- getCharacterById 583
> jonSnow
Just (Character {charUrl = "http://www.anapioficeandfire.com/api/characters/583", 
                 charName = "Jon Snow", 
                 gender = "Male", 
                 culture = "Northmen", 
                 born = "In 283 AC", 
                 died = "", 
                 charTitles = ["Lord Commander of the Night's Watch"], 
                 aliases = ["Lord Snow",
                            "Ned Stark's Bastard",
                            "The Snow of Winterfell",
                            "The Crow-Come-Over",
                            "The 998th Lord Commander of the Night's Watch",
                            "The Bastard of Winterfell",
                            "The Black Bastard of the Wall",
                            "Lord Crow"], 
                 father = "", 
                 mother = "", 
                 spouse = "", 
                 allegiances = ["http://www.anapioficeandfire.com/api/houses/362"], 
                 books = ["http://www.anapioficeandfire.com/api/books/5"], 
                 povBooks = ["http://www.anapioficeandfire.com/api/books/1",
                             "http://www.anapioficeandfire.com/api/books/2",
                             "http://www.anapioficeandfire.com/api/books/3",
                             "http://www.anapioficeandfire.com/api/books/8"], 
                 tvSeries = ["Season 1",
                             "Season 2",
                             "Season 3",
                             "Season 4",
                             "Season 5",
                             "Season 6"], 
                 playedBy = ["Kit Harington"]
                }
     )

About

Haskell library for interaction with www.anapioficeandfire.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published