Skip to content

IgnitedIce/grepper-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grepper Node.js client

Work in progress

This library is a wrapper for the Grepper API.

Getting started

Authentication

Replace your_api_key with your actual API Key

import Grepper from "./index.ts";

Grepper.apiKey = "your_api_key";

Search All Answers

This endpoint searches all answers based on a query.

Grepper.search("strings in c").then((answers) => {
    console.log(answers);
});

Retrieve an Answer

This endpoint retrieves a specific answer.

Grepper.retrieve(12345).then((answer) => {
    console.log(answer);
});

Update a specific answer

This endpoint updates a specific answer.

Grepper.update(54321, "This answer will be updated").then((updateResult) => {
    console.log(updateResult);
});

About

node client library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%