Rapid-JS
Fast API search and implementation using various APIs like newsAPI, weatherAPI, memeAPI and FoodAPI.
const rapidAPI = require ( 'rapid-js' ) ;
let topHeadlines = rapidAPI . headlines ( KEY , CATEGORY ) ;
let newsByKeyword = rapidAPI . keyword ( KEY , SEARCH_WORD , COUNTRY ) ;
const rapidAPI = require ( 'rapid-js' ) ;
let weatherData = rapidAPI . weather ( KEY , CITYNAME ) ;
let weatherByCityID = rapidAPI . weatherByCityID ( KEY , ID ) ;
let weatherByLatLon = rapidAPI . weatherByLatLon ( KEY , LAT , LON , COUNT ) ;
let weatherByZIP = rapidAPI . weatherByZIP ( KEY , ZIP , COUNTRYCODE ) ;
let weatherByRectZone = rapidAPI . weatherByRectZone ( KEY , DIMENSION ) ;
const rapidAPI = require ( 'rapid-js' ) ;
let memes = rapidAPI . meme ( ) ;
const rapidAPI = require ( 'rapid-js' ) ;
let foodDetails = rapidAPI . food ( KEY , Food_ID , FOOD_NAME ) ;
API Methods and Optional Parameters
Method name
Parameter list
headlines
API_KEY
CATEGORY
COUNTRY(optional)
SORTBY(optional)
LANGUAGE(optional)
keyword
API_KEY
SEARCH_WORD
COUNTRY(optional)
SORTBY(optional)
LANGUAGE(optional)
Method name
Parameter list
weather
API_KEY
CITY_NAME
STATE_CODE(optional)
MODE(optional)
UNITS(optional)
LANGUAGE(optional)
weatherByCityId
API_KEY
CITY_ID
MODE(optional)
UNITS(optional)
LANGUAGE(optional)
weatherByLatLon
API_KEY
LATITUDE
LONGITUDE
COUNT(optional)
MODE(optional)
UNITS(optional)
LANGUAGE(optional)
weatherByZip
API_KEY
ZIP
COUNTRY_CODE(optional)
MODE(optional)
UNITS(optional)
LANGUAGE(optional)
weatherByRectZone
API_KEY
Dimension(BBOX)
STATE_CODE(optional)
MODE(optional)
UNITS(optional)
LANGUAGE(optional)
Method name
Parameter list
meme
No arguments required
Method name
Parameter list
food
API_KEY
FOOD_ID
FOOD_NAME