Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Examples

gem install chartquery
export CHARTQUERY_API_KEY="YOUR_API_KEY"
ruby examples/json.rb
  • json.rb — call the featured endpoint and print the JSON result.
  • binary.rb — save a binary response to a file.
  • request.rb — call any path with request and handle API errors.
  • wait_for_job.rb — start an async job and wait for its result.