Analyzing resources through APIs