def citedby_pid(self, pid, metaonly=False, from_heap=True):
if from_heap is True:<EOL><INDENT>result = citations.raw_data(pid)<EOL>if result and '<STR_LIT>' in result and metaonly is True:<EOL><INDENT>del(result['<STR_LIT>'])<EOL>return result<EOL><DEDENT>if result:<EOL><INDENT>return result<EOL><DEDENT><DEDENT>url = urljoin(self.CITEDBY_URL, self.PID_ENDPOINT)<EOL>params = {<EOL>"<STR_LIT:q>": pid,<EOL>"<STR_LIT>": "<STR_LIT:true>" if metaonly is True else "<STR_LIT:false>"<EOL>}<EOL>result = self._do_request(url, params=params)<EOL>return result<EOL>
Retrieve citedby documents from a given PID number.

pid: SciELO PID number
metaonly: will retrieve only the metadata of the requested article citations including the number of citations it has received.
from_heap: will retrieve the number of citations from a preproduced report, it will not fetch the api. Much faster results but not extremely updated.