1.0.0 • Published 5 years ago
@orva-sdk/services v1.0.0
Sdk Services
Sdk Services are utilities that are connected orva's core web services.
Profile Service
Profile service is used to retrieve information about the user within the profile.
Retrieving Profile
import ProfileService from 'orva-sdk@services';
const URLToService; // url to the core profile service
const service = new ProfileService(URLToService);
const IDOfUser = 'thisIsMe';
const profile = await service.getUser(IDOfUser); // returns the profile from orva's core services.
1.0.0
5 years ago