Skip to content

A simple Web Service which wraps IMF Exchange Rate Web Service which downloads last 5 days exchange rates for major currencies.

Notifications You must be signed in to change notification settings

bhatsubhas/imf-api-service

Repository files navigation

API Services

IMF Endpoints

A simple Web Service which wraps IMF Exchange Rate Web endpoint to download:

  • Last 5 days exchange rates for major currencies
  • Get exchange rates for all the published dates in a given month

REST URL Prefix - /api/v1/exchangeRate

Exposed REST Endpoints:

  • GET /lastFiveDays - to get the latest last five days exchange rates file from IMF website
  • GET /monthly/[yyyy-mm-dd] - to get the given months exchange rates file from IMF website

Task Endpoints

A simple Web Service which keeps track of todo tasks.

REST URL Prefix - /api/v1/task

Exposed REST Endpoints:

  • GET /todo - to get all the todo tasks
  • POST /todo - create a todo task where task details are passed in body, Sample body: {"task":"task name", "is_pending": "Yes"}
  • GET /todo/<tsk_id> - to get one todo task
  • DELETE /todo/<tsk_id> - delete a todo task

Health Check Endpoint

  • GET /health - to check the health of the service

About

A simple Web Service which wraps IMF Exchange Rate Web Service which downloads last 5 days exchange rates for major currencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published