New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

grid-tariff-api-tester

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grid-tariff-api-tester

Command line tool to test the grid tariff api

latest
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

Introduction

Command line tool to verify compliance of the grid tariff api with the digin standard

Getting Started

Run npm i grid-tariff-api-tester -g Tested with lts/erbium and newer versions of node

For usage enter grid-tariff-api-tester --help

How to Run

url is the base url of the api authHeader is the name of the authentication header authKey is the value of the authentication header

Examples:

grid-tariff-api-tester test-tariff-query --authKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

grid-tariff-api-tester test-tariff-query https://elvia.azure-api.net/grid-tariff/digin/api/1.0/ X-API-Key xxxxxxxxxxxxxxxxxxxx

What the tester tests

test-tariff-type: Tests that the response is valid (200) and that the response conforms to the schema

test-tariff-query: Tests that the response is valid (200) and that the response conforms to the schema

test-tariff-query-meteringpoints-gridtarifs: Tests that the response is valid (200) and that the response conforms to the schema if meteringPointIdInvalid is not set. If meteringPointIdInvalid is set, it tests that the response is 204.

Contribute

https://github.com/digin-energi/API-nettleie-for-styring

FAQs

Package last updated on 27 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts