GithubHelp home page GithubHelp logo

wsizoo / game-of-thrones-quotes Goto Github PK

View Code? Open in Web Editor NEW
47.0 6.0 10.0 38 KB

A JSON API for Game of Thrones Quotes

License: MIT License

Ruby 78.79% JavaScript 1.80% CSS 5.15% HTML 13.70% CoffeeScript 0.57%

game-of-thrones-quotes's Introduction

Game of Thrones Quotes API

Because season 6 is coming out, and I can't find anything like it out there.

Production host

https://got-quotes.herokuapp.com/quotes

APIs

GET /quotes

Returns an array with one quote and a character:

{
    "quote":"It's not easy being drunk all the time. If it were easy, everyone would do it.",
    "character":"Tyrion"
}

Filter by Character

Accepts any combination of characters. If result is invalid, it redirects to the API root.

Sample:

https://got-quotes.herokuapp.com/quotes?char=tyrion

Current Characters:

Character Name Suggested Search Parameter
Bronn bronn
Brynden Tully brynden
Cersei cersei
The Hound hound
Jaime Lannister jaime
Littlefinger littlefinger
Olenna Tyrell olenna
Renly Baratheon renly
Tyrion tyrion
Varys varys

game-of-thrones-quotes's People

Contributors

wsizoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

game-of-thrones-quotes's Issues

Swift Client

Hi:

I've develop a `Swift` client library to request quotes to your service. You can find it on [this repository](https://github.com/fitomad/Quotes-Of-Thrones)

more quotes

hi
this is a good api you have made, it would be much better if there were more quotes.
is there any way I can help to achieve that?

Unable to access the API from cross domain

This header [Access-Control-Allow-Origin:*] is not present on the response.
Hence I am getting a Cross Origin Error. Could you please add the below headers on the response.

Access-Control-Allow-Methods:GET
Access-Control-Allow-Origin:*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.