code: func (client *Client) GetRunstatusService(ctx context.Context, service RunstatusService) (*RunstatusService, error) {
  	if service.URL != "" {
  		return client.getRunstatusService(ctx, service.URL)
  	}
  
  	if service.PageURL == "" {
  		return nil, fmt.Errorf("empty Page URL in %#v", service)
  	}
  
  	page, err := client.getRunstatusPage(ctx, service.PageURL)
  	if err != nil {
  		return nil, err
  	}
  
  	for i := range page.Services {
  		s := &page.Services[i]
  		if s.Match(service) {
  			if err := s.FakeID(); err != nil {
  				log.Printf("bad fake ID for %#v, %s", s, err)
  			}
  			return s, nil
  		}
  	}
  
  	return nil, fmt.Errorf("%#v not found", service)
  }
docs: // GetRunstatusService displays service detail.