Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
David Czarnecki committed May 28, 2012
1 parent 9ae6cb5 commit e2c7f76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -64,10 +64,18 @@ for the current day.

Below are a few sample API responses:

`/api/v2/holidays/today`

```json
{:status=>true, :holidays=>[{:date=>Mon, 28 May 2012, :name=>"Pfingstmontag", :regions=>[:at, :de, :li]}, {:date=>Mon, 28 May 2012, :name=>"2. Pinsedag", :regions=>[:dk]}, {:date=>Mon, 28 May 2012, :name=>"Lundi de Pentecôte", :regions=>[:fr]}, {:date=>Mon, 28 May 2012, :name=>"Annar í hvítasunnu", :regions=>[:is]}, {:date=>Mon, 28 May 2012, :name=>"Pinksteren", :regions=>[:nl]}, {:date=>Mon, 28 May 2012, :name=>"2. pinsedag", :regions=>[:no]}, {:date=>Mon, 28 May 2012, :name=>"Bank Holiday", :regions=>[:gb]}, {:date=>Mon, 28 May 2012, :name=>"Memorial Day", :regions=>[:us, :nyse, :ups]}]}
```

`/api/v2/holidays/memorial_day`

```json
{"status":true,"holidays":[{"date":"2012-05-28","name":"Memorial Day","regions":["us","nyse","ups"]}]}
```

## Contributing

1. Fork it
Expand Down

0 comments on commit e2c7f76

Please sign in to comment.