I am trying to use the Microsoft Academic API to download the publications of this author. Since his name contains a ', the API throws an error. I am passing this URL to the API: https://api.labs.cognitive.microsoft.com/academic/v1.0/evaluate?expr=Composite(AA.AuN==%27martin kang'ethe gachukia%27)&model=latest&attributes=AA.AuId&count=10&offset=0&subscription-key=YOUR_KEY"
When using this url, the ' in the middle of the name is replaced by %27, which leads to an error because the %27 indicate the beginning and end of a query term.
My question is, how do I prevent this behavior? Is there a way I need to escape the apostrophe to prevent this behavior?