api practice for hm