Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdennes/isberlinhappy
Is Berlin happy?
https://github.com/jdennes/isberlinhappy
berlin ruby weather
Last synced: 5 days ago
JSON representation
Is Berlin happy?
- Host: GitHub
- URL: https://github.com/jdennes/isberlinhappy
- Owner: jdennes
- License: mit
- Created: 2013-04-18T19:55:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-08-22T18:13:09.000Z (about 8 years ago)
- Last Synced: 2024-08-02T12:49:06.079Z (3 months ago)
- Topics: berlin, ruby, weather
- Language: Ruby
- Homepage: http://isberlinhappy.jdenn.es/
- Size: 91.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - jdennes/isberlinhappy - Is Berlin happy? (ruby)
README
# Is Berlin happy today?
The answer to the question of whether Berlin is [happy](http://whenyouliveinberlin.tumblr.com/post/44138613156/when-its-sunny-for-more-than-5-minutes) is closely related to the weather.
This phenomenon is probably true of most places in the world, but this little app is just for Berlin: http://isberlinhappy.jdenn.es
You can get the answer as JSON, by setting the `Accept` header value to `application/json` when making a request:
```sh
$ curl -H "Accept: application/json" http://isberlinhappy.jdenn.es
{"happy":"Yes!","text":"Fair","temp_c":23,"temp_f":73}
```[![Build Status](https://travis-ci.org/jdennes/isberlinhappy.svg?branch=master)](https://travis-ci.org/jdennes/isberlinhappy) [![Coverage Status](https://coveralls.io/repos/jdennes/isberlinhappy/badge.svg?branch=master)](https://coveralls.io/repos/jdennes/isberlinhappy/badge.svg?branch=master)