22#include <scipaper/types.h>
RequestReturn * sci_find_by_author(const char *author, size_t maxCount)
Tries to find the documents by a certain author.
bool sci_save_pdf_to_file(const PdfData *data, const char *fileName)
Tries to get save the PDF of a certain document to disk.
int sci_backend_get_id_by_name(const char *name)
gives you the id of the backend with a given name
PdfData * sci_get_document_pdf_data(const DocumentMeta *meta)
Tries to get the PDF data of a certain document.
char * sci_get_document_text(const DocumentMeta *meta)
Tries to get the full text of a certain document.
RequestReturn * sci_find_by_journal(const char *journal, size_t maxCount)
Tries to find the documents by in a certain journal.
void sci_paper_exit(void)
Exits libscipaper, this function must be your final call to libscipaper, it is an error to reinit lib...
loglevel_t
Severity of loglevels.
Definition types.h:37
bool sci_save_document_to_file(const DocumentMeta *meta, const char *fileName)
Saves the PDF of a certain document to disk.
RequestReturn * sci_fill_meta(const DocumentMeta *meta, const FillReqest *fill, size_t maxCount, size_t page)
Takes a DocumentMeta and tries to find maxCount documents that match the fields set in the meta struc...
void sci_log_set_verbosity(loglevel_t verbosity)
Sets the verbosity of sicpaper output.
DocumentMeta * sci_find_by_title(const char *title)
Tries to find the metadata of the document with the given title.
bool sci_paper_init(const char *config_file, const char *data, size_t length)
Inits libscipaper, this function must be your first call to libscipaper, besides sci_get_version() an...
size_t sci_get_backend_count(void)
gives you the number of backends currently registered
const char * sci_get_backend_name(int id)
gives you the name of the backend with id
const BackendInfo * sci_get_backend_info(int id)
gives you a BackendInfo struct describing the backend with the id
const BackendInfo ** sci_get_all_backends(void)
gives you an array describing each backend registered with libscipaper.
DocumentMeta * sci_find_by_doi(const char *doi, int backendId)
Tries to find the metadata of the document with the given DOI.
const VersionFixed * sci_get_version(void)
get the version of scipaper in use
Backend information struct.
Definition types.h:75
This bitfield tells libscipaper what fields you require to have filled.
Definition types.h:84
This struct contains the raw data of a PDF document.
Definition types.h:260
This struct is details the result of a metadata search.
Definition types.h:234
This struct contains the version of libscipaper in use.
Definition types.h:66