started the getfavorites api method (not working yet)
added favorites api method
updated api.md