1.0.3 • Published 6 years ago

react-native-rapid-api v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

react-native-rapid-api

This is an npm package for using Rapid API with react native.

Get Your RapidAPI Credentials

  1. Go to your RapidAPI Dashboard (https://dashboard.rapidapi.com)
  2. Go to My Apps => (Your application) => Security

How to Use

Run the following command to install the package:

npm install react-native-rapid-api --save

In your code, add the following code to import the RapidAPI SDK:

import RapidAPI from 'react-native-rapid-api'
const rapid = new RapidAPI('PROJECT_NAME', 'API_KEY')

(Example) Call the NASA API and check out the picture of the day:

rapid.call('NasaAPI', 'getPictureOfTheDay', {})