From 3792f9877a3eef0c473307c8ea26b0895f80b88d Mon Sep 17 00:00:00 2001 From: Nemo Date: Mon, 2 Jul 2018 13:28:02 +0530 Subject: [PATCH] Adds badges to the README --- README.md | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 92c8b5d5..7b068a8c 100644 --- a/README.md +++ b/README.md @@ -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 ## 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: + 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. @@ -49,4 +53,4 @@ bundle exec ruby init.rb bundle exec rackup ``` -Your server should now be accessible at localhost:9292 \ No newline at end of file +Your server should now be accessible at `http://localhost:9292`