Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

mukhlisakbr/getcontact-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getcontact TS

Unofficial Getcontact Library in Typescript. Fork from javascript version urip-getcontact

Install

npm i getcontact-ts

Usage

import Getcontact from "getcontact-ts";

async function fetchContactData() {
  try {
    const getcontact = new Getcontact("GETCONTACT_TOKEN", "GETCONTACT_KEY");
    const data = await getcontact.checkNumber("08123456789");
    console.log(data);
  } catch (err) {
    console.log(err);
  }
}

fetchContactData();

How to Get Token

Requirements: Android with ROOT-rights (or emulator).

  • Install and login into getcontact
  • Open in filemanager of phone /data/data/app.source.getcontact/shared_prefs/GetContactSettingsPref.xml
GETCONTACT_KEY: FINAL_KEY
GETCONTACT_TOKEN: TOKEN

More detail check this YT Video

About

Unofficial Getcontact Library in Typescript

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 98.1%
  • JavaScript 1.9%