code: def get_coauthors(self):
          
          # Get number of authors to search for
          res = download(url=self.coauthor_link, accept='json')
          data = loads(res.text)['search-results']
          N = int(data.get('opensearch:totalResults', 0))
          # Store information in namedtuples
          fields = 'surname given_name id areas affiliation_id name city country'
          coauth = namedtuple('Coauthor', fields)
          coauthors = []
          # Iterate over search results in chunks of 25 results
          count = 0
          while count < N:
              params = {'start': count, 'count': 25}
              res = download(url=self.coauthor_link, params=params, accept='json')
              data = loads(res.text)['search-results'].get('entry', [])
              # Extract information for each coauthor
              for entry in data:
                  aff = entry.get('affiliation-current', {})
                  try:
                      areas = [a['$'] for a in entry.get('subject-area', [])]
                  except TypeError:  # Only one subject area given
                      areas = [entry['subject-area']['$']]
                  new = coauth(surname=entry['preferred-name']['surname'],
                      given_name=entry['preferred-name'].get('given-name'),
                      id=entry['dc:identifier'].split(':')[-1],
                      areas='; '.join(areas), name=aff.get('affiliation-name'),
                      affiliation_id=aff.get('affiliation-id'),
                      city=aff.get('affiliation-city'),
                      country=aff.get('affiliation-country'))
                  coauthors.append(new)
              count += 25
          return coauthors
docs: Retrieves basic information about co-authors as a list of
          namedtuples in the form
          (surname, given_name, id, areas, affiliation_id, name, city, country),
          where areas is a list of subject area codes joined by "; ".
          Note: These information will not be cached and are slow for large
          coauthor groups.