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.
import com.altibbi.telehealth.AltibbiService
AltibbiService.init(
token = "USER_TOKEN",
baseUrl = "PARTNER_ENDPOINT",
language = "en" // 'ar' || 'en' (default is 'ar')
)
After the initiation you can import the ApiService and start using APIs :
import com.altibbi.telehealth.ApiService