return not self.__eq__(other) print """ ----------------------------------------------------- List folders -----------------------------------------------------""" folders = mendeley.folders() pprint(folders) folderid = raw_input('Enter folder id: ') pprint(folderid) response = mendeley.create_folder(folder=json.dumps({ 'name': 'Recent Docs to Review', 'parent': folderid })) # pprint(response) print "Created Review Child Folder" reviewchildfolderid = response['folder_id'] docs = mendeley.folder_documents(folderid) pprint(docs) print "Retrieving documents from selected folder" pub_list = [] pprint(pub_list) # from wikiradar.py # Dictionary mapping uuid's to a dictionary with keys: authors, title, year, count related_doc_dict = dict()
pprint(response) print """ ----------------------------------------------------- Documents authored -----------------------------------------------------""" response = mendeley.documents_authored() pprint(response) print """ ----------------------------------------------------- Create new folder -----------------------------------------------------""" response = mendeley.create_folder(folder=json.dumps({'name': 'Test folder creation'})) pprint(response) folderId = response['folder_id'] print """ ----------------------------------------------------- Create new child folder -----------------------------------------------------""" response = mendeley.create_folder(folder=json.dumps({'name': 'Test child folder creation', 'parent':folderId})) pprint(response) print """ ----------------------------------------------------- List folders
pprint(response) print """ ----------------------------------------------------- Documents authored -----------------------------------------------------""" response = mendeley.documents_authored() pprint(response) print """ ----------------------------------------------------- Create new folder -----------------------------------------------------""" response = mendeley.create_folder(folder=json.dumps({'name': 'Test folder creation'})) pprint(response) folderId = response['folder_id'] print """ ----------------------------------------------------- List folders -----------------------------------------------------""" folders = mendeley.folders() pprint(folders) print """ ----------------------------------------------------- Delete folder
def __ne__(self, other): return not self.__eq__(other) print """ ----------------------------------------------------- List folders -----------------------------------------------------""" folders = mendeley.folders() pprint(folders) folderid = raw_input('Enter folder id: ') pprint(folderid) response = mendeley.create_folder(folder=json.dumps({'name': 'Recent Docs to Review', 'parent':folderid})) # pprint(response) print "Created Review Child Folder" reviewchildfolderid = response['folder_id'] docs = mendeley.folder_documents(folderid) pprint(docs) print "Retrieving documents from selected folder" pub_list = [] pprint(pub_list) # from wikiradar.py # Dictionary mapping uuid's to a dictionary with keys: authors, title, year, count related_doc_dict = dict()