承接 mikone/pubmed 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mikone/pubmed

Composer 安装命令:

composer require mikone/pubmed

包简介

Wrapper API for the NCBI PubMed EFetch and ESummary Utilities developed at Ambry Genetics and made public for use by the community. My personalization include GuzzleHTTP client e the use of new api in json format. Include also a speed increase and a pagination controller.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

DEMO: https://pubmed-api.herokuapp.com/

This library allows you to access the research of scientific articles published on Pubmed. It does this in a completely transparent way, normalizing the use of the different APIs and the response objects to the Pubmed APIs

See Pubmed API Documentation for PubmedAPI

Requirements

Installation

composer require mikone/pubmed

Usage

Search by Term and return how many articles there are, and their PMIDs

$api = new PubMed\Term();
$api->setReturnStart(10); // set first returned articles, defaults to 0, helpful in case of pagination
$api->setReturnMax(100); // set max returned articles, defaults to 10
$articles = $api->query('CFTR');
print_r($articles);

Search by Term with options array

$api = new PubMed\Term();
$api->setReturnStart(10); // set first returned articles, defaults to 0, helpful in case of pagination
$api->setReturnMax(100); // set max returned articles, defaults to 10
$articles = $api_->query('CFTR', $params);
print_r($articles);

Search Arcticle by PMID

$api = new PubMed\PubMedId();
$article = $api->query(15221447);
print_r($article);

Options array

The option array is an associative array

Option name value Description
articles true / false / null if true return the articles in search
summary true / false / null if true return only the summary of articles
page number / null if is set return paginated results

Example:

options['articles'] = true;

or 

$params = {'articles' => true, 'summary' => 'true', 'page' => 2};

Changelog

Please see CHANGELOG for more information what has changed recently.

Credits

The library has been forked by that of tmpjr/pubmed to allow the various types of bees that pubmed provides, to be performed in a completely transparent way.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 35
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固