Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Calling multiple API Endpoints in single Query

I have created a blank query in Power BI and have successfully tested the pulling of a single url with this basic API call syntax. My problem is that I want to pull the json content of possibly hundr...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi  Anonymous 

     

    As your URLs have a predictable structure that only the student identifier is different, you can refer to the solution from the following blog written by Mynda Treacy. 

    Scrape Data from Multiple Web Pages with Power Query • My Online Training Hub

     

    The main steps include:

    1. Convert the current query for pulling a single url to a function that can be executed for each API url
    2. Generate a list of student identifier numbers and convert it into a table
    3. Execute the function for each student identifier number

     

    For detailed steps, please refer to the above blog. Let me know if you have any question.

     

     

    Best Regards,
    Jing
    If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!