Updated API to get Flags
Removed the API to get details, since it went Offline,
working on a solution for getting the details