https://github.com/techfanetechnologies/nseproxy
Nseproxy is a rust proxy server for extracting data from National Stock Exchange (India)
https://github.com/techfanetechnologies/nseproxy
Last synced: about 1 year ago
JSON representation
Nseproxy is a rust proxy server for extracting data from National Stock Exchange (India)
- Host: GitHub
- URL: https://github.com/techfanetechnologies/nseproxy
- Owner: TechfaneTechnologies
- License: mit
- Created: 2022-07-02T14:31:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T11:05:14.000Z (over 3 years ago)
- Last Synced: 2023-03-10T03:26:27.743Z (over 3 years ago)
- Language: Rust
- Size: 44.9 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [nseproxy](https://github.com/TechfaneTechnologies/nseproxy)
Nseproxy is a rust proxy server for extracting data from National Stock Exchange (India)
## Installation
Download the [nseproxy.exe](https://github.com/TechfaneTechnologies/nseproxy/releases/latest/download/nseproxy.exe) from release section
or install it with rust via `cargo install --git https://github.com/TechfaneTechnologies/nseproxy`
## Usage
Duble Click the `nseproxy.exe` or run the `nseproxy.exe` from Cmd/PowerShell/Bash/Zsh/Terminal Etc. It will run a local proxy server at port 3000. You can access the same with `http://127.0.0.1:3000/` or `http://localhost:3000/`.
Now to use it effectively as nseproxy, replace the URL `https://www.nseindia.com` with `http://127.0.0.1:3000/` or `http://localhost:3000/`.
## Example
To Access marketStatus we were supposed to fetch with `https://www.nseindia.com/api/marketStatus` Now with this proxy tool you can use `http://127.0.0.1:3000/api/marketStatus` to access the same data.
Same goes with any other Api call, For Example to get chart data of NIFTYBANK use this URL `http://127.0.0.1:3000/api/chart-databyindex?index=NIFTY%20BANK&indices=true&preopen=true`