stinis87/nva
最新稳定版本:1.0.2
Composer 安装命令:
composer require stinis87/nva
包简介
NVA (Nasjonaltiv vitenarkiv) API Client designed to interact with the NVA API. It provides a simple and efficient way to make requests to this API, allowing you to search for publications, persons and other related data.
README 文档
README
Examples of usages include:
- Get all Cristin categories
- Get Cristin person by organization
- Get Cristin organization
- Get Cristin organization by query parameters
- Get Cristin supported countries
- Get Cristin funding sources
- Get Cristin funding source by id
- Get Cristin project by id
- Get Cristin project by query parameters
- Get Cristin person by id
- Get Cristin person by query parameters
- Get Cristin keyword by id
- Get Cristin keywords
- Get Cristin projects by organization
- Search publications
- Export publications
Installation
Official installation method is via composer.
$ composer require stinis87/nva
Usage
An example of usage would be as follows:
<?php use Stinis\Nva\APIClient; $apiClient = new \Stinis\Nva\APIClient('CLIENT_ID', 'CLIENT_SECRET', 'API_URL'); $results = $apiClient->getCristinCategories();
Pre-requisites
Make sure to set the following environment variables inside your .env file:
CLIENT_ID=__client_id__
Client_SECRET=__client_secret__
统计信息
- 总下载量: 907
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-08