To read all data from the API, make GET
requests to the link we've provided on Generating Your REST API.
We will parse the entire sheet and present it like mentioned in How to Prepare your Sheet.
Parsed Format
Results can come in parsed
and raw
formats. They will always come as parsed
by default.
Raw Format
To get the result in raw
format, add a _raw=1
query parameter at the end of the URL.
Shell
# Parsed Format curl 'https://sheet.best/api/sheets/cf969697-682a-40e3-bad4-d54803eeeacf' # Raw Format curl 'https://sheet.best/api/sheets/cf969697-682a-40e3-bad4-d54803eeeacf?_raw=1'
Python
# Install python "requests" module to use this import requests # Parsed Format requests.get("https://sheet.best/api/sheets/cf969697-682a-40e3-bad4-d54803eeeacf") # Raw Format requests.get("https://sheet.best/api/sheets/cf969697-682a-40e3-bad4-d54803eeeacf?_raw=1")
Java Script
// Parsed Format fetch("https://sheet.best/api/sheets/cf969697-682a-40e3-bad4-d54803eeeacf") .then((response) => response.json()) .then((data) => { console.log(data); }) .catch((error) => { console.error(error); }); // Raw Format fetch( "https://sheet.best/api/sheets/cf969697-682a-40e3-bad4-d54803eeeacf?_raw=1" ) .then((response) => response.json()) .then((data) => { console.log(data); }) .catch((error) => { console.error(error); });
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article