def search(self, query, nid=None):
        r = self.request(
            method="network.search",
            nid=nid,
            data=dict(query=query)
        )
        return self._handle_error(r, "Search with query '{}' failed."
                                  .format(query))
Search for posts with ``query``
dataset/ETHPy150Open hfaran/piazza-api/piazza_api/rpc.py/PiazzaRPC.search