Skip to content

ankurgajurel/noc-nepal-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

noc-nepal-api

noc-nepal-api is an unofficial API for data related to petrol, diesel, and LPG.

Installation

Install my-project with pip3

  1. Clone the repository:
git clone https://github.com/ankurgajurel/noc-nepal-api.git
  1. Create a virtual environment
pip3 install virtualenv
python3 -m virtualenv venv 
source ./venv/bin/activate
  1. Install the required dependencies:
pip3 install -r requirements.txt

Run Locally

  1. Launch the application:
gunicorn app:app
  1. Access noc-nepal-api through your web browser at http://localhost:8000.

For Docker

docker build -t noc-api . 
docker run noc-api

Then, access noc-nepal-api through your web browser at http://localhost:8000.

API Reference

Get prices

GET /{view}
View Description
petrol price for petrol from each naaka
diesel price for diesel from each naaka
lpg price for lpg from each naaka

Related

Here are some related projects

rashifal-api
nepse-cli
share-file
career-sangraha

Authors

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Support

For support, email [email protected]

About

An unofficial API for data from Nepal Oil Corporation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published