The "Type" Parameter
Create custom functionality with the 'type' parameter.
Last updated
Was this helpful?
Create custom functionality with the 'type' parameter.
Last updated
Was this helpful?
The Type url parameter (?type=
) can be used to overwrite the data export type. Below are examples of how it can be used to format your data.
?type=json_records
(if first parameter)
&type=json_records
(if not first parameter)
Overwrite the data export type as data records.
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=json_records
?type=json_index
(if first parameter)
&type=json_index
(if not first parameter)
Overwrites the data export type as indexed JSON data
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=json_index
?type=json_split
(if first parameter)
&type=json_split
(if not first parameter)
Overwrites the data export type as indexed JSON data
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=json_split
?type=json_columns
(if first parameter)
&type=json_columns
(if not first parameter)
Overwrites the data export type as JSON column data.
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=json_columns
?type=json_table
(if first parameter)
&type=json_table
(if not first parameter)
Overwrites the data export type as JSON table data.
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=json_table
?type=xml
(if first parameter)
&type=xml
(if not first parameter)
Overwrites the data export type as XML feed
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=xml
?type=excel_web_query
(if first parameter)
&type=excel_web_query
(if not first parameter)
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=excel_web_query
?type=html_table
(if first parameter)
&type=html_table
(if not first parameter)
Shows the data as an HTML table. Same result as excel_web_query
.
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=html_table
?type=dynamic_table
(if first parameter)
&type=dynamic_table
(if not first parameter)
Shows the data as a sortable and searchable HTML table with pagination.
https://api.csvgetter.com/CBIfM4nqnrj9WHqxOm3W
?type=dynamic_table
Returns data as html table suitable for web queries, particularly the power query required for excel mac. Example .
A request with type=excel_web_query
will show a web page, and will not download data.
A request with type=html_table
will show a web page, and will not download data.
A request with type=dynamic_table
will show a web page, and will not download data.