Initialization
Initialize the Altibbi SDK with the following parameters:
- PARTNER_ENDPOINT: Your partner endpoint (will be shared with you upon request).
- token: Authentication token from your backend.
- language: Preferred language for responses either Arabic (default) or English.
AltibbiService.init(
token = "USER_TOKEN",
baseUrl = "PARTNER_ENDPOINT",
language = "Language" // 'ar' || 'en'
)
After the initiation you can import the ApiService and start using APIs :
import com.altibbi.telehealth.ApiService