The main problem is probably getting the merit data. You would need to make your own scraper to get merit data and then build an API or maybe ask Vod or Loyce for an API.
I have no plans on making an API (and have no idea how to do this). Besides, I don't scrape Merit continuously, only weekly (full list:
merit.all.txt).
I'm assuming he's just talking about producing an API endpoint. Sort of, a URL which supports a GET request and returns a valid format (JSON). No library needed.
Pretty much what you have here (
http://loyce.club/Merit/merit.all.txt), just converted to a JSON format w/ the ability to filter based off parameters (sending user, receiving user, etc)
It could be done w/ 1 front-facing PHP script.
For example,
http://loyce.club/Merit/merit.all.php?sending_user=2458002@TryNinja, I'm not sure but I recall that Vod may have mentioned about an API in the past. So I'm not sure if one is in development right now.
Could have been me asking about it tho, so not 100% certain.