Socket
Book a DemoInstallSign in
Socket

@goperigon/client

Package Overview
Dependencies
Maintainers
7
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@goperigon/client

OpenAPI client for @goperigon/client

0.14.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
7
Weekly downloads
 
Created
Source

@goperigon/client – TypeScript client for the Perigon API

Install

npm install @goperigon/client

Basic usage

import { Configuration, V1Api } from "@goperigon/client";

const perigon = new V1Api(
  new Configuration({
    // Replace with your API key or inject from env
    apiKey: process.env.PERIGON_API_KEY!,
    // basePath defaults to https://api.perigon.io; override if using a proxy
    // basePath: 'https://api.perigon.io'
  }),
);

// 🔍 Search recent news articles
const { articles } = await perigon.searchArticles({
  q: "artificial intelligence",
  size: 5,
});
console.log(articles);

// 👤 Look up a journalist by ID
const journalist = await perigon.getJournalistById({ id: "123456" });
console.log(journalist);

All methods return typed promises, giving you full IntelliSense with no manual DTOs.

For full endpoint reference and advanced query parameters, visit docs.perigon.io.

FAQs

Package last updated on 28 Apr 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.