Sign up

Existing customer? Sign in

Example code in Ruby:

  
  require 'faraday'

  conn = Faraday.new(
    url: "https://api.dragonastronauts.com",
    params: {urltoimage: "disney.com"},
    headers: {"X-Api-Key" => "api_key_here"}
  )
  response = conn.get("/hieroglyph/v1")
  body = JSON.parse(response.body)

  body =>
  {
    "date"=>1653782789859,
    "message"=>"Success",
    "url"=>"https://disney.com",
    "link_to_image"=>"https://dragon-astronauts-gua.........png",
    "page_title"=>"Disney.com | The official home for all things Disney"}

  # Other params you can use are: 
  # full_page
  # height		
  # width