An application to access data on alternative fuel stations using the NREL API.
- Clone the repository
- You will have to create a "data" subdirectory in the root of your project. This is where the application stores the received data as a json file.
- Run "npm install" to install the required packages.
- Get an API key (see below)
- Populate API Key either in index.js or provide on command line
- To run: "node index.js [API Key if not in index.js]"
- Saves a JSON file with all the station data in the "data" subdirectory
You need to get an API Key from NREL here: https://developer.nrel.gov/signup/
V1.0.0: First version, pretty much hardcoded. Gets only Electric Charging stations data in JSON format.