Skip to content

Commit

Permalink
Adds badges to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo authored and captn3m0 committed Jul 2, 2018
1 parent 6ea0b0b commit 3792f98
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,35 @@

API server that serves Razorpay's IFSC API.

[![](https://images.microbadger.com/badges/image/razorpay/ifsc:1.1.6.svg)](https://microbadger.com/images/razorpay/ifsc:1.1.6) [![](https://images.microbadger.com/badges/version/razorpay/ifsc:1.1.6.svg)](https://microbadger.com/images/razorpay/ifsc:1.1.6)

Current API Root is <https://ifsc.razorpay.com/>

## Routes:

|Route|Method|Response|
|-----|------|--------|
|/:ifsc|GET|JSON|
| Route | Method | Response |
| ------ | ------ | -------- |
| /:ifsc | GET | JSON |

A sample response is:

```json
{
"BANK": "KARNATAKA BANK LIMITED",
"IFSC": "KARB0000001",
"BRANCH": "RTGS-HO",
"CONTACT": 2228222,
"ADDRESS": "REGD. & HEAD OFFICE, P.B.NO.599, MAHAVEER CIRCLE, KANKANADY, MANGALORE - 575002",
"CITY": "MANGALORE",
"DISTRICT": "DAKSHINA KANNADA",
"STATE": "KARNATAKA",
"RTGS": true
"BANK": "KARNATAKA BANK LIMITED",
"IFSC": "KARB0000001",
"BRANCH": "RTGS-HO",
"CONTACT": 2228222,
"ADDRESS":
"REGD. & HEAD OFFICE, P.B.NO.599, MAHAVEER CIRCLE, KANKANADY, MANGALORE - 575002",
"CITY": "MANGALORE",
"DISTRICT": "DAKSHINA KANNADA",
"STATE": "KARNATAKA",
"RTGS": true
}
```

URL: <https://ifsc.razorpay.com/KARB0000001>

You can see a permalink version of the request [here](http://hurl.eu/hurls/e1d4d8d04d804d72a7506009d19cab583b6549e6/192c7eda180f9537d47e0abe8f7b7c7fa4b419db)

For an invalid IFSC code a 404 is returned.
Expand All @@ -49,4 +53,4 @@ bundle exec ruby init.rb
bundle exec rackup
```

Your server should now be accessible at localhost:9292
Your server should now be accessible at `http://localhost:9292`

0 comments on commit 3792f98

Please sign in to comment.