Getting Started
Last updated
Was this helpful?
Last updated
Was this helpful?
To start using the Roic AI API, you’ll need an API key which can be obtained on the by on our website and subscribing to a .
To authenticate your API requests, include your API key in the query of each call:
To easily import data into a pandas dataframe, you can use the dataformat=csv
parameter.
Just append &dataformat=csv
to the end of your query.
Example output:
We've tried very hard to get past the review process for the Google Sheets add-on. But this company is too sluggish and we're still waiting for the review to finish.
For now, you can use the custom Google Script.
Open Google Sheets and Create a New Spreadsheet:
Navigate to Google Sheets.
Click on "Blank" or the "+" icon to start a new spreadsheet.
Access the Extensions Menu:
In the new version of Google Sheets, click on the “Extensions” menu in the toolbar.
Select “Apps Script” from the dropdown menu.
Set Up Your Apps Script Project:
A new tab will open with the Google Apps Script editor.
The script will be automatically linked to your Google Spreadsheet.
Insert the Custom Function Code:
Copy the code for your =RQL
function.
Paste this code into the script editor, replacing any existing placeholder script.
Save and Name Your Script:
Click the floppy disk icon or select "File" > "Save" to save your script.
Enter a name for your script project if prompted.
Use the =RQL
Function in Your Spreadsheet:
Return to your Google Spreadsheet.
In a cell, start typing =RQL()
and fill in the necessary parameters to execute your custom function.
Do not forget to replace `YOUR_API_KEY` with your actual api key in the script. You can find it on the .