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.

Maintainers

Details

github.com/stinis87/nva

Source

Issues

Installs: 38

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/stinis87/nva

1.0.0 2025-07-30 08:33 UTC

This package is auto-updated.

Last update: 2025-09-30 09:02:19 UTC


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__