code: public GalleryInfo lookupGallery(String url) throws JinxException {
      JinxUtils.validateParams(url);
      Map<String, String> params = new TreeMap<>();
      params.put("method", "flickr.urls.lookupGallery");
      params.put("url", url);
      return jinx.flickrGet(params, GalleryInfo.class);
    }
docs: Returns gallery info, by url.
  
  This method does not require authentication.
  
  @param url gallery URL to look up. Required.
  @return information about the gallery.
  @throws JinxException if required parameters are missing, or if there are any errors.
  @see <a href="https://www.flickr.com/services/api/flickr.urls.lookupGallery.html">flickr.urls.lookupGallery</a>