Skip to content

PriyadharshanSaba/DjangoRESTframework-JWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

DjangoRESTframework-JWT

REST service that can fetch bank details, using the data given in the API’s query parameters.

This is JWT authenticated. You will need a valid access tocken inorder to access contents from this API.

API formats:

1. GET API to fetch a bank details, given branch IFSC code : curl -X GET -H 'Accept: application/json' -H "Authorization: Bearer {access token here}" https://fyleapi.herokuapp.com/?ifsc={ifsc code here}
  1. GET API to fetch all details of branches, given bank name and a city : curl -X GET -H 'Accept: application/json' -H "Authorization: Bearer {access token here}" https://fyleapi.herokuapp.com/?bank={bank name here}/city={city name here}

Example API calls:

1. IFSC: curl -X GET -H 'Accept: application/json' -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNTYzOTY0OTMzLCJqdGkiOiJhNDJlODU3ZGIzNTI0NmIxOTc1ZjU1OGQ3ZWU0ZjhiZSIsInVzZXJfaWQiOjF9.arJWRI1IS35VYMxABOP20ESUPwnPdpWCM67woSEJ14U" https://fyleapi.herokuapp.com/?ifsc=ABHY0065003
  1. BANK/CITY: curl -X GET -H 'Accept: application/json' -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNTYzOTY0OTMzLCJqdGkiOiJhNDJlODU3ZGIzNTI0NmIxOTc1ZjU1OGQ3ZWU0ZjhiZSIsInVzZXJfaWQiOjF9.arJWRI1IS35VYMxABOP20ESUPwnPdpWCM67woSEJ14U" -G "https://fyleapi.herokuapp.com/?" --data-urlencode "bank=ABHYUDAYA COOPERATIVE BANK LIMITED/city=MUMBAI"



Including Offset and Limits:

Example Request: [ limit = 10 | offset = 3]

curl -X GET -H 'Accept: application/json' -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNTYzOTY0OTMzLCJqdGkiOiJhNDJlODU3ZGIzNTI0NmIxOTc1ZjU1OGQ3ZWU0ZjhiZSIsInVzZXJfaWQiOjF9.arJWRI1IS35VYMxABOP20ESUPwnPdpWCM67woSEJ14U" -G "https://fyleapi.herokuapp.com/?" --data-urlencode "bank=ABHYUDAYA COOPERATIVE BANK LIMITED/city=MUMBAI/limit=10/offset=3"

About

REST service that can fetch bank details, using the data given in the API’s query parameters with JWT authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy