react-native-google-image-search

0.1.0 • Public • Published

This package is ported from node-google-image-search. It's using react-native-config instead of dotenv to be usable inside react-native.

Setup

Create a .env file with your CSE id and api key, for example:

CSE_ID=000481220124135128830617:ndojhfef1cq
CSE_API_KEY=AIzaSyBaBZ_fsdfsdfRd36hUSy0PUlqZxfF23sUQ

Usage

import imageSearch from "react-native-google-image-search";


imageSearch("cats").then(images => {
  return images.map(image => console.log(image.link));
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    3

Package Sidebar

Install

npm i react-native-google-image-search

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • hbarylskyi