Skip to content

Commit

Permalink
Merge pull request #16 from sumer5020/dev
Browse files Browse the repository at this point in the history
Doc: Readme updated
  • Loading branch information
sumer5020 authored Nov 16, 2024
2 parents 53534d4 + a2daab0 commit 9edba22
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 5 additions & 1 deletion README.ar.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
- [x] Contact end points
- [x] Contact Person end points
- [x] Estimate end points
- [x] Sales Order end points

</div>

Expand Down Expand Up @@ -138,11 +139,14 @@ ZOHO_BOOKS_REDIRECT_URI=
بعد ذلك، قم بتشغيل الأمر `php artisan zoho:init` لتفعيل بيانات الاعتماد الخاصة بك
وإدخال `token`, `refresh_token`, `expires_in` الى جدول `zoho_tokens`.

> تنبيه: استخدمنا `Self Client` لإنشاء رمز وصول الخادم إلى الخادم. يجب تشغيل الأمر في موجه الاوامر قبل انتهاء صلاحية رمز
> [!WARNING]
> استخدمنا `Self Client` لإنشاء رمز وصول الخادم إلى الخادم. يجب تشغيل الأمر في موجه الاوامر قبل انتهاء صلاحية رمز
> الوصول.
> [!NOTE]
> ملاحظة: مدة صلاحية `expires_in` هي لـ `token،` بينما `refresh_token` صالح مدى الحياة حتى تقوم بإلغائه.
> [!NOTE]
> ملاحظة: لتقليل عدد الطلبات إلى قاعدة البيانات وتحسين الأداء، يجب عليك تخزين بيانات اعتماد رمز المصادقة مع وقت انتهاء
> يساوي مدة صلاحية الرمز في التخزين مؤقت.
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ accounting management.
- [x] Contact end points
- [x] Contact Person end points
- [x] Estimate end points
- [x] Sales Order end points

<details><summary>Coming soon features ✨</summary>

Expand All @@ -54,7 +55,6 @@ accounting management.
- [ ] Recurring Expense end points
- [ ] Recurring Invoice end points
- [ ] Retainer Invoice end points
- [ ] Sales Order end points
- [ ] Task end points
- [ ] Tax end points
- [ ] Time Entry end points
Expand Down Expand Up @@ -108,12 +108,15 @@ ZOHO_BOOKS_REDIRECT_URI=
After that Run `php artisan zoho:init` command to initialize your credentials and insert `token`, `refresh_token`
and `expires_in` into `zoho_tokens` table.

> **Alert:** We used `Self Client` to generate server-to-server access code. you must run the artisan command before the
> access code expired.
> [!WARNING]
> We used `Self Client` to generate server-to-server access code. you must run the artisan command before the access
> code expired.
> **Note:** The `expires_in` is for the `token`, The `refresh_token` is lifetime until you revoke it.
> [!NOTE]
> The `expires_in` is for the `token`, The `refresh_token` is lifetime until you revoke it.
> **Note:** In order to reduce the number of database requests and improve the performance you need to cache this token
> [!NOTE]
> In order to reduce the number of database requests and improve the performance you need to cache this token
> credentials with expire time equals the token expire time.
## Usage
Expand Down

0 comments on commit 9edba22

Please sign in to comment.