Resmi Google OAuth Entegrasyonu

LocalEdge Guardian API

Webhook ile gercek zamanli Google Business Profile uyarilari. Konumlarinizi koruyun. Operasyonlari otomatiklestirin.

Kimlik dogrulama

Tum istekler X-Api-Key basliginda API anahtarinizi gerektirir.

curl https://avision.org/api/v1/guardian/subscriptions \
  -H "X-Api-Key: YOUR_API_KEY"

Endpointler

POST/api/v1/guardian/subscribe

Bir GBP konumunu webhook olaylarina (ve istege bagli e-posta ozetine) abone edin.

curl -X POST https://avision.org/api/v1/guardian/subscribe \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "gbp_id": "YOUR_GBP_ID",
    "profile_id": 123,
    "webhook_url": "https://yourapp.com/webhook",
    "events": ["hours_changed","status_suspended"],
    "notify_email": "you@yourcompany.com"
  }'
GET/api/v1/guardian/subscriptions

API anahtariniz icin tum aktif abonelikleri listeleyin.

curl https://avision.org/api/v1/guardian/subscriptions \
  -H "X-Api-Key: YOUR_API_KEY"
DELETE/api/v1/guardian/subscribe/{id}

Kimlige gore bir aboneligi devre disi birakin.

curl -X DELETE https://avision.org/api/v1/guardian/subscribe/1 \
  -H "X-Api-Key: YOUR_API_KEY"
GET/api/v1/guardian/logs/{profile_id}

Bir profil icin son webhook teslimat gunlugunu alin.

curl https://avision.org/api/v1/guardian/logs/123 \
  -H "X-Api-Key: YOUR_API_KEY"

Olay katalogu

API olay adlarinin izledigimiz Google Business Profile alanlariyla eslesmesi.

Olay GBP Alani
hours_changed regularHours
title_changed title
phone_changed phoneNumbers
address_changed storefrontAddress
website_changed websiteUri
description_changed description
categories_changed categories
special_hours_changed specialHours
open_status_changed openInfo
service_area_changed serviceArea
appointment_url_changed url_appointment
appointments_changed offers_online_appointments
location_changed latlng
additional_categories_changed additional_categories
competitor_overtake competitor_overtake
status_suspended suspension

Webhook yuk

Her teslimat HMAC-SHA256 ile imzalanmis bir JSON POST'tur.

{
  "event": "hours_changed",
  "gbp_id": "YOUR_GBP_ID",
  "profile_id": 123,
  "old_value": "Mon-Fri 9am-6pm",
  "new_value": "Mon-Fri 9am-8pm",
  "detected_at": "2026-10-01T10:00:00"
}

Alinan Basliklar

X-LocalEdge-Signature: <hmac-sha256>
X-LocalEdge-Event: hours_changed

E-posta ozeti (istege bagli)

LocalEdge uzerinden HTML uyari e-postasi almak icin abonelikte notify_email gonderin.

{
  "gbp_id": "YOUR_GBP_ID",
  "profile_id": 123,
  "webhook_url": "https://yourapp.com/webhook",
  "events": ["hours_changed","status_suspended"],
  "notify_email": "you@yourcompany.com"
}

API erisimi iste

Tesekkurler! En kisa surede sizinle iletisime gececegiz.

Yakinda

Daha fazla LocalEdge API yol haritasinda.

Heatmap API Yakinda
GBP Score API Yakinda
AVI Content API Yakinda