class_docstr: TGOS Geocoding Service
  
  TGOS Map is official map service of Taiwan.
  
  API Reference
  -------------
  http://api.tgos.nat.gov.tw/TGOS_MAP_API/Web/Default.aspx
code: def _get_tgos_key(cls):
      url = "http://api.tgos.nat.gov.tw/TGOS_API/tgos"
      r = requests.get(url, headers={"Referer": url})
  
      # TGOS Hash pattern used for TGOS API key
      pattern = re.compile(r'TGOS.tgHash="([a-zA-Z\d/\-_+=]*)"')
      match = pattern.search(r.text)
      if match:
          return match.group(1)
      else:
          raise ValueError("Cannot find TGOS.tgHash")
  
imports: import re
  import requests
  import logging
  from geocoder.base import OneResult, MultipleResultsQuery
  from geocoder.keys import tgos_key
label_desc: Use image node_id 2 for calling the TgosQuery obj's underlying member method code with example usage: obj._get_tgos_key(cls) and returns: match