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: 624

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/stinis87/nva

1.0.2 2025-11-21 13:59 UTC

This package is auto-updated.

Last update: 2025-11-21 14:12:59 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__