You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@yext/api

Package Overview
Dependencies
Maintainers
78
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yext/api

Client for accessing Yext APIs

0.9.2
latest
Source
npmnpm
Version published
Weekly downloads
60
33.33%
Maintainers
78
Weekly downloads
 
Created
Source

TypeScript Client for Yext APIs

A package that makes it easy to call Yext APIs from TypeScript and JavaScript. Currently covers just a few of the most popular endpoints.

Quick Start

Node.js and npm

This package is available as an npm package:

npm install @yext/api

To call the Entities: Get endpoint, do something like the following:

import {KnowledgeGraphApi} from '@yext/api';
...
  const kg = new KnowledgeGraphApi({apiKey: 'YOUR_API_KEY'});
  const entity = await kg.getEntity('ENTITY_ID');

Deno

This package can be used on Deno via the esm.sh CDN.

import {KnowledgeGraphApi} from 'https://esm.sh/@yext/api';
const kg = new KnowledgeGraphApi({apiKey: 'YOUR_API_KEY'});
const entity = await kg.getEntity('ENTITY_ID');

FAQs

Package last updated on 12 Nov 2021

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