Facebook ad library

hey everyone ,
can anyone provide me with a good method to get the Facebook ad library API.
I really appreciate your help