Note that this code is for v1 of the platform which is being deprecated in favor of v2.
Code example for quick start tutorial
The code contained in this repository is an example of how you would go about implementing the workflow presented in the quick start tutorial.
This example uses Node.js and is commented for easy reading and learning.
To beging with, you will need to install Node.js on your computer. After that is complete, grab the latest version of the example by either cloning via Git or downloading. Then, in the project directory:
npm install
This will install necessary requirments.
You will need to edit your email address and image search parameters at the top of the index.js
file before the app will successfully run.
To run the app, simply type:
npm start
This will start the app running, you can view the webpage at http://localhost:3000
. If you're requestion an image that has to be published when the app starts, you will not see an image in the webpage until it is processed.