code: def get_issues(project="pysal/pysal", state="closed", pulls=False):
      """Get a list of the issues from the Github API."""
      which = "pulls" if pulls else "issues"
      url = (
          "https://api.github.com/repos/%s/%s?state=%s&per_page=%i"
          % (project, which, state, PER_PAGE)
      )
      return get_paged_request(url)
  
imports: import os
  import json
  import urllib
  import re
  import yaml
  from urllib.request import urlopen
  from datetime import datetime, timedelta
  import requests
label_desc: Use image node_id 9 for calling a global function with example usage: get_issues(project, state, pulls) and returns: get_paged_request