ENV Configuration - AthallahDzaki/freerestapi GitHub Wiki

.env

S_PORT=3000
KEY_SPAM=anjaySpam
gToken=YourGeniusToken
sID=YourInstagramSessionID
WeatherKey=YourOpenWeatherKey
CMCTOKEN=YourCoinMarketCapToken


// How To Get Session ID?
// Some endpoints do require a valid session cookie value
// This value can be taken from the instagram web(you need to be authorized in the web version)
// Open inspector(google chrome -> right click on the web page -> inspector->Network)
// refresh page and in the "Network" section you will see the request, select it
// scroll down to the "Request Headers" section and look for "cookie:" section
// and there you will find this value "sessionid=BLAHLBAH"

// How To Get Genius token?
// Goto api.genius.com

// How To Get Open WeatherKey?
// Goto https://openweathermap.org/

// How To Get CMC Token?
// Goto https://coinmarketcap.com