Example code in Ruby:
require 'faraday'
conn = Faraday.new(
url: "https://hieroglyphscreenshots.com",
params: {
api_key: "api_key_here",
input_url: "disney.com",
img_type: "jpeg"
}
)
response = conn.get("/api/v2/screenshots")
body = JSON.parse(response.body)
body #=>
{
"url"=>"https://disney.com",
"img_url"=>"https://tank-wizard-produc...",
"message"=>"Success",
"page"=>{
"height"=>800,
"width"=>1280
}
}