PeqabooPeqaboo
Home
Social
TreatsChatLeaderboard
Map
AI ToolsBooAI Chat
Apps
Boo Market
ShoppingBooking
Explore
Knowledge BaseBreed DatabaseCare GuidesRecipe GeneratorCoursesPet TravelPet Expert ConsultationHealthMedicine DatabaseHazard DatabaseLost & Found
Settings
Login
Peqaboo
My ShopLogin
Powered by Peqaboo·Privacy Policy·Terms of Service·
HomeAI Tools
BooAI
MapProfile

API Reference

Complete documentation for all 30+ Bridge API actions. Click any action to expand its details.

API surface migration in progress

The action cards below currently document the legacy BooAppSDK.method() shape. The runtime API is now exposed as the peqaboo global with namespaced methods — peqaboo.requireLogin(), peqaboo.pet.list(), peqaboo.media.takePhoto(), etc. See the Quick Patterns above and the @decennium/booapp-sdknpm types for the canonical surface. We're migrating these cards next.

Quick Start Patterns

Pattern 1: Login + User
javascript
await peqaboo.ready();

// Opens the login flow if needed; resolves with the User.
const user = await peqaboo.requireLogin();
console.log(user.uid, user.userName);
Pattern 2: Pet Data Access
javascript
const pets = await peqaboo.pet.list();
pets.forEach(p => console.log(p.petName, p.petBreed));

const detail = await peqaboo.pet.read(pets[0].petId);
Pattern 3: Camera + Share
javascript
const photo = await peqaboo.media.takePhoto();
if (photo) {
  peqaboo.device.haptic('light');
  await peqaboo.device.share({
    title: 'Check out this photo!',
    files: [photo],
  });
}

The peqaboo global

The runtime auto-injects window.peqaboo at document_start. There is no script tag to add, no npm package to install at runtime. For TypeScript autocomplete, install the types-only package @decennium/booapp-sdk and add a triple-slash reference. Outside the Peqaboo runtime, window.peqaboo is undefined — gate native-only paths with peqaboo?.isInApp.

Auth & User

4

Authentication and user profile access

Pet

2

Pet information retrieval

Media

6

Camera, gallery, and file access

Location

1

GPS and geolocation

Device & Haptics

3

Device info, network, and haptic feedback

UI

3

Toast, alert, and confirm dialogs

Share & Navigation

5

Share content and navigate within the app

Utilities

10

Scanner, clipboard, storage, biometrics, and notifications

Previous
Global Presence
Next
Package Format
B

BooApp Docs

Developer Platform

Documentation
Getting StartedBuild with AIGlobal PresenceAPI ReferencePackage FormatPermissionsDesign GuidelinesReview GuidelinesBrand ResourcesSDK Downloads
Developer Console
B
BooApp Docs
StartAI BuildGlobalAPIPackagePermissionsDesignReviewBrandSDKConsole