kristjanmik/apis — pull request #52 by rthor (2013-05-22 10:47:57+00:00)
Title: Endpoint lotto

Here we go again - had some troubles along the way but here should be an acceptable pull request.

---

Endpoint for ten latest lottery winning numbers, prizes, etc..

These endpoints work out of the box: `/lottery`, `/lottery/lotto` same as the one before, `/lottery/vikingslotto` and `/lottery/eurojackpot`.

Here's an example of the basic lotto results:

{
"results": [
{
"date": "11.05.2013",
"lotto": "5 11 17 21 38 (28)",
"joker": "9 4 4 1 5",
"prize": "13.345.370, kr.",
"link": "http://lotto.is/lottoleikir/urslit/lotto?_date=11.05.2013"
},
...
]
}

Hope you like it :)