class_docstr: Geocoder using the MapTiler API.
  
  Documentation at:
      https://cloud.maptiler.com/geocoding/ (requires sign-up)
class_docstr_tok: ["Geocoder","using","the","MapTiler","API",".","Documentation","at",":","https",":","\/\/cloud.maptiler.com\/geocoding\/","(","requires","sign-up",")"]
code: def _parse_json(self, json, exactly_one=True):
      # Returns location, (latitude, longitude) from json feed.
      features = json["features"]
      if not features:
          return None
  
      def parse_feature(feature):
          location = feature["place_name"]
          longitude = feature["center"][0]
          latitude = feature["center"][1]
  
          return Location(location, (latitude, longitude), feature)
  
      if exactly_one:
          return parse_feature(features[0])
      else:
          return [parse_feature(feature) for feature in features]
  
file_path: geopy/geopy/geocoders/maptiler.py
imports: from functools import partial
  from urllib.parse import quote, urlencode
  from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
  from geopy.location import Location
  from geopy.point import Point
  from geopy.util import logger
label_desc: Use image node_id 2 for calling the MapTiler obj's underlying member method code with example usage: obj._parse_json(json, exactly_one) and returns: None, Location, parse_feature, unknown